Download the PHP package davido/pgchecker without Composer

On this page you can find all versions of the php package davido/pgchecker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package pgchecker

Copyleaks V3 API integration with laraval 8+

A package for integrating Copyleaks plagiarism checker easily in your Laravel app

Requirements

Installation

You can install the package using composer.

You can also add the follow line to you composer.json file and save.

Then run this command to update composer.

You need to also publish the config files

Setup

  1. Sign up on the Copyleaks website.

  2. Visit Copyleaks API Dashboard to generate your api keys.

  3. If you previously publish the config file, you must have noticed a new file (config/copyleaks.php) you can edit the config file, or add the following to your .env file.

Usage

You can use the following code to scan text or a file and you get a json data as a response

You can use also submit text or a file for scan only without getting the result immediately.

this will return a unique scan id that can be used to retrieve the result later using the following code.

How it works

Under the hood the package authenticate the user with copyleaks and then submits the file or text for scanning, the scanned results are receive via a webhook and the result is saved in the cache using the cache settings defined in the laravel package.

The scan results can be retrieved immediately or later with the unique scan id provided.

Local Setup and Testing

Since copyleaks uses webhook to return result, on local we will need a ngrok to retrieve the API result.

On mac use,

to install ngrok.

Then start ngrok server using,

also start a local server on the same port using,

also update the url gotten from ngrok as the in the .env file

we only need this for testing purpose and never forget to remove the variable in staging or production environment.


All versions of pgchecker with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0.2
laravel/framework Version ^8|^9|^10
laravel/pint Version ^1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package davido/pgchecker contains the following files

Loading the files please wait ....