The LunaToolbox simple PHP Framework
The best way to use this boilerplate is using Composer.
composer create-project plotnicsystems/lunatoolbox app-nameRun the server using default php.
php -S localhost:8000 -t publicLunaToolbox default authentication.
composer require plotnicsystems/lunatoolbox-authRegister the LunaToolbox auth provider
LunaToolbox\LunaToolboxAuth\Illuminate\Foundation\Support\LunaToolboxauthServiceProvider at config/app.php
...
'providers' => [
/*
* LunaToolbox Framework Service Providers...
*/
LunaToolbox\Framework\Illuminate\Debug\DebugServiceProvider::class,
LunaToolbox\Framework\Illuminate\Foundation\Support\Providers\AuthServiceProvider::class,
App\Providers\RouteServiceProvider::class,
App\Providers\AppServiceProvider::class,
LunaToolbox\LunaToolboxAuth\Illuminate\Foundation\Support\LunaToolboxauthServiceProvider::class,
...
]For configuring features, create a php file config/lunatoolbox-auth.php, fill
<?php
return [
'features' => [
'login' => env('LT_AUTH_LOGIN', true),
'register' => env('LT_AUTH_REGISTER', true),
]
];Login : http://localhost:8000/auth/login
Register : http://localhost:8000/auth/register
If you discover a security vulnerability within LunaToolbox, please send an e-mail to LunaToolbox Email via mail@lunatoolbox.eu. All security vulnerabilities will be promptly addressed.
The LunaToolbox framework is open-sourced software licensed under the MIT license.