Download the PHP package bencoderus/min-auth without Composer
On this page you can find all versions of the php package bencoderus/min-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bencoderus/min-auth
More information about bencoderus/min-auth
Files in bencoderus/min-auth
Package min-auth
Short Description This package serves as a token based client authentication system.
License MIT
Homepage https://github.com/bencoderus/minauth
Informations about the package min-auth
Min Auth
Min Auth is a Laravel package that allows you to create and manage a client based authentication system on your Laravel web application.
Installation
This package requires PHP >= 7.2 and above. (Laravel 8 and PHP 8 support are available).
You can install the package via composer:
Publish migration and configurations.
Run migrations
Usage
Min Auth commands
Publish migration and configurations.
Create a client
Using the middleware to protect your routes.
In your route add auth.client
In your controller add auth.client
Using the helpers
Import Min Auth Helper
Create a client
Find a client by API key
Blacklist a client
Whitelist a client
Refresh Client API key
Update client Ip address
Configuration
You can turn off IP Address verification via config/min-auth.php
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Benjamin Iduwe
- All Contributors
License
The MIT License (MIT). Please see License File for more information.