Download the PHP package alopeyk/alopeyk-api-laravel without Composer
On this page you can find all versions of the php package alopeyk/alopeyk-api-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alopeyk/alopeyk-api-laravel
More information about alopeyk/alopeyk-api-laravel
Files in alopeyk/alopeyk-api-laravel
Package alopeyk-api-laravel
Short Description Laravel 5.* Integration With RESTful Api Of AloPeyk
License MIT
Informations about the package alopeyk-api-laravel
AloPeyk-Api-Laravel
This package is built to facilitate application development for AloPeyk RESTful API. For more information about this api, please visit AloPeyk Documents
:warning: Use v1.0.7 for Laravel 5
Installation
First of all, You need an ACCESS-TOKEN. All Alopeyk API endpoints support the JWT authentication protocol. To start sending authenticated HTTP requests you will need to use your JWT authorization token which is sent to you. Then you can install this package by using Composer, running this command:
Link to Packagist: https://packagist.org/packages/alopeyk/alopeyk-api-laravel
To install this package you will need:
- Laravel 7+
Install via composer edit your composer.json to require the package.
Then run in your terminal to pull it in.
Once this has finished, you will need to add the service provider to the providers array in your app.php config as follows:
Next, also in the app.php config file, under the aliases array, you may want to add the JWTAuth facade.
Finally, you will want to publish the config using the following command:
Usage
License
This package is released under the MIT license.
Copyright (c) 2012-2017 Markus Poerschke
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.