Download the PHP package getkey/licencephp without Composer

On this page you can find all versions of the php package getkey/licencephp. 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 licencephp

GetKey PHP API Client Library

Support: Framework Laravel, Ci

Introduction

The GetKey PHP API Client Library allows the integration of various data validation features into your applications. For more information, please visit getkey.my.id.

Requirements

To use the GetKey API client, you need the following:

Installation

To begin using the GetKey PHP API Client library, follow these installation steps:

With Composer

  1. Install the library using Composer:

  2. Include the Composer autoloader in your PHP script:

Without Composer

  1. Download the library and add it to your project.

  2. Include the file vendor/autoload.php in your PHP script:

If you experience errors, then try adding this

require_once __DIR__ . '../vendor/getkey/licencephp/src/LicenceManager.php';

Getting Started

To start validating and using the API, create a Traits system in your framework. You need to create a licence first on the getkey.my.id site, then you can use the licence name to call the licence API.

Full Example of License Validation

Create a trait to manage and validate the licence:

Setting Services

Add this setting to the service configuration, for example in config/services.php for Laravel:

Alternatively, you can set it in your .env file:

Example of Validation in Controller

Response Class

The Response class is returned with every request, providing methods to handle responses as detailed in the library documentation.

Testing

getkey is still in beta stage, and you can try it right now. report any bugs in the class licence or api. please note:

for api endpoints it has not been validated with token, only validated by licencename, but with hashing security... then the licence is used by one user, it cannot be used by two users in one project.


All versions of licencephp with dependencies

PHP Build Version
Package Version
No informations.
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 getkey/licencephp contains the following files

Loading the files please wait ....