Download the PHP package galaxydevs/laravel-api-master without Composer
On this page you can find all versions of the php package galaxydevs/laravel-api-master. 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 laravel-api-master
Usage
Step 1: Install through Composer
Step 2: Add new Service Provider in config/app.php inside the providers[] array:
Step 3: Add this function inside the "app/Exceptions/Handler.php"
Step 4: Add those functions in the "render()"
Step 5: Add this line into your "app/Http/Kernel.php" $routeMiddleware[]
Now you can use this 'api.auth' middleware anywhere
You can pass the "AUTH-TOKEN" in api headers for the check authentication
Step 6: User "crud:api-generator" for the crud creation
Step 7: After using middleware that in that function you can use the user object by this
Step 8: Add this function in the Users Model
OR
without middleware you can use bellow function into the direct controller api action
Contributing
We're not suggesting you to use this package. Use it as your own RISK.
All versions of laravel-api-master with dependencies
PHP Build Version
Package Version
No informations.
The package galaxydevs/laravel-api-master contains the following files
Loading the files please wait ....