Download the PHP package mailium/oauth-client-laravel without Composer
On this page you can find all versions of the php package mailium/oauth-client-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package oauth-client-laravel
Mailium Oauth Client for Laravel Framework
Installation & Configuration
Service Provider
Add Mailium Service Provider to providers array in config/app.php
Facade
Add Mailium Facade to aliases array in config/app.php
Middleware
Add Mailium Middleware to the middleware group array in app/Http/Kernel.php
Example:
Publishing Migrations and Configuration
Running Migrations
Configuring the Oauth Client
Configure your client_id, client_secret, required scopes and app type on config/mailium-oauth.php file.
Using the client on controllers
Oauth client middleware adds four attributes to the incoming requests
- mailium_app_accid (account identifier)
- mailium_app_user (mailium app user object)
- mailium_app_just_installed (boolean variable defines if the app is just installed and the request is first one )
- mailium_api_client (API wrapper)
Getting accid (Account Identifier)
Getting user (mailium app user)
Indicator of first request to the app
Getting API client
Running API commands on controller
All versions of oauth-client-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5.9
illuminate/database Version 5.*
mailium/oauth-client-php Version 1.0.23
mailium/api-wrapper-php Version 1.0.3
illuminate/database Version 5.*
mailium/oauth-client-php Version 1.0.23
mailium/api-wrapper-php Version 1.0.3
The package mailium/oauth-client-laravel contains the following files
Loading the files please wait ....