PHP code example of ilbronza / accountmanager
1. Go to this page and download the library: Download ilbronza/accountmanager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ilbronza / accountmanager example snippets
Auth::routes();
$middleware->alias([
'role' => \Spatie\Permission\Middleware\RoleMiddleware::class,
'permission' => \Spatie\Permission\Middleware\PermissionMiddleware::class,
'role_or_permission' => \Spatie\Permission\Middleware\RoleOrPermissionMiddleware::class,
]);
$middleware->append(StartSession::class);
$middleware->append(IframeCheckerMiddleware::class);
//
bash
composer vendor:publish --tag=accountmanager.migrations
$ php artisan migrate
$ php artisan vendor:publish --tag=accountmanager.views --force
$ php artisan vendor:publish --tag=accountmanager.authControllers