Download the PHP package minchao/mitake-laravel without Composer
On this page you can find all versions of the php package minchao/mitake-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download minchao/mitake-laravel
More information about minchao/mitake-laravel
Files in minchao/mitake-laravel
Package mitake-laravel
Short Description Laravel Package for Mitake's PHP SDK
License BSD-3-Clause
Homepage https://github.com/minchao/mitake-laravel
Informations about the package mitake-laravel
mitake-laravel
This is a simple Laravel service provider for making it easy to access the Mitake PHP SDK in your Laravel and Lumen applications.
Installation
The Mitake service provider can be installed via Composer.
To use the Mitake service provider, you must register the provider when bootstrapping your application.
Laravel
Laravel 5.5 and above
The package will automatically register provider and facade.
Laravel 5.4 and below
Add Mitake\Laravel\MitakeServiceProvider
to the providers
section of your config/app.php
:
Add Mitake facade to the aliases
section of your config/app.php
:
Or use the facade class directly:
Lumen
Register the Mitake\Laravel\MitakeServiceProvider
in your bootstrap/app.php
:
Copy the mitake.php
config file in to your project:
Configuration
Publish the package configuration using Artisan (Lumen doesn't support).
Then update config/mitake.php
with your credentials. Alternatively, you can update your .env
file.
Usage
To use the Mitake SDK within your app, you need to retrieve it from the service container:
Or, you can use the Mitake facade:
License
See the LICENSE file for license rights and limitations (BSD 3-Clause).