Download the PHP package alimwa/api-auth without Composer
On this page you can find all versions of the php package alimwa/api-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alimwa/api-auth
More information about alimwa/api-auth
Files in alimwa/api-auth
Package api-auth
Short Description A simple package that exposes endpoints for Token Based API authentication.
License MIT
Homepage https://github.com/alimwa/auth
Informations about the package api-auth
Alimwa API Auth
Thanks to Taylor the majority of use who handle API based authentication and authorisation now have it easy and through the sanctum package. However, the package only allows for the management of access tokens and the permissions on them which is why after implementing authentication endpoints based of off sanctum I have decided like any other dev to create my own package that I aim to use throughout all my APIs.
I am to start by supporting the latest version of Laravel and then creating other version to add support for more. I will be following the PSR12 standard for those who wish to contribute and help maintain this package.
Installation
You can install the package via composer:
Configuration
Once the package is installed you may run the following command to publish Sanctum bases resources.
Then migrate the database if it hasn't been already.
Usage
Once the package is installed you may run the following command view your new routes that you can access from SPAs and Mobile Apps.
Migrate
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
SecurityApp
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Lennon Mudenda
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.