Download the PHP package thalles/baseadmin without Composer
On this page you can find all versions of the php package thalles/baseadmin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thalles/baseadmin
More information about thalles/baseadmin
Files in thalles/baseadmin
Download thalles/baseadmin
More information about thalles/baseadmin
Files in thalles/baseadmin
Vendor thalles
Package baseadmin
Short Description A tool to setup a admin site with auth and user crud, using adminlte!
License MIT
Package baseadmin
Short Description A tool to setup a admin site with auth and user crud, using adminlte!
License MIT
Please rate this library. Is it a good library?
Informations about the package baseadmin
BaseAdmin
A tool to setup an admin site with auth and user crud, using adminlte!
Requirements
- PHP >= 7.2.5
- laravel/framework ^7.0
1. Installation
-
Require the package using composer:
- (Laravel 7+ only) Require the laravel/ui package using composer:
2. Configuration
-
Publish the custom adminlte config file:
- Install the adminlte package using the command (For fresh laravel installations):
- If something goes wrong, you will need to clear the config cache:
For more informations about Laravel-AdminLTE, read the documentation
-
Configure the UserRole Enum:
-
Criate the Enum
- Now, you just need to add the possible values your enum can have as constants.
For more informations about Enum, read the documentation
-
-
Change Middleware Authenticate route to "admin.login":
-
Run Migrations and Seeders.
-
Publish routes and views:
-
Views:
- Routes:
-
3. Usage
To use the admin route file, you will need to register them. For that, on RouteServiceProvider.php file, insert the follow method:
Before, map this method:
All versions of baseadmin with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^7.0
php Version >=7.2.0
jeroennoten/laravel-adminlte Version ^3.1
bensampo/laravel-enum Version ^1.36
php Version >=7.2.0
jeroennoten/laravel-adminlte Version ^3.1
bensampo/laravel-enum Version ^1.36
The package thalles/baseadmin contains the following files
Loading the files please wait ....