Download the PHP package westacks/laravel-auth without Composer
On this page you can find all versions of the php package westacks/laravel-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download westacks/laravel-auth
More information about westacks/laravel-auth
Files in westacks/laravel-auth
Package laravel-auth
Short Description Backend controllers and scaffolding for building your own Laravel authentication.
License MIT
Homepage https://github.com/westacks/telebot
Informations about the package laravel-auth
Laravel Auth
Laravel Auth is a collection of reusable modules to build your own laravel authentication comfortably. It comfortably integrates into any Laravel application with 1 line of code. This package is what laravel/ui
should have been and laravel/fortify
have not became.
Another Laravel authentication package?
Yes. The goal of this package is to have a built in modular Laravel authentication and keep flexibility without configuring an additional packages.
Installation
Only Laravel +5.5
supported by the library. You can istall package using composer:
The package will self-register it's ServiceProvider using Laravel's auto-discovery. If you turned off auto-discovery for some reason, you need to register service provider manually in config/app.php
:
Usage
If you need just basic auth, you only need to define controller routes in your routes/web.php
file:
Customizing
Views
Publish all views to your resource\views
directory using command:
If you want completely remove auth views from application, just initialize routes without them:
You may define custom pathes to your views using this config to:
Enabling/disabling features
Just define only features you want to use and you are ready to go:
Back-end
If you want to customize auth controller methods, you need to extend your own controller from library's AuthController
:
Check WeStacks\Laravel\Auth\Traits
namespace for customizing logic of your auth backend.
1.0.0 - 2021.05.13
- Initial release
2.0.0 - 2021.06.03
- Make library work
larave/ui
-like. - Make controller syntax cleater.
All versions of laravel-auth with dependencies
illuminate/support Version ^5.5 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0