Laramin - Small Laravel Admin
After creating your new Laravel application you can include the Laramin package with the following command:
composer require simoja/laramin
Next make sure to create a new database and add your database credentials to your .env file:
DB_HOST=localhost DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret
Laravel 5.5 and up
You don't have to do anything else, this package uses the Package Auto-Discovery feature, and should be available as soon as you install it via Composer.
Laravel 5.4 or 5.3
Add the Laramin service provider to the
config/app.php file in the
'providers' => [ // Laravel Framework Service Providers... //... // Package Service Providers Simoja\Laramin\LaraminServiceProvider::class, // ... // Application Service Providers // ... ],
Lastly, we can install laramin with simply run It Will Add Some Dummy Data
php artisan Laramin:install
Then you need to seed the permissions roles dummy users Dont forget to launch First
by adding this lines on `database/seeds/DatabaseSeeder.php
php artisan db:seed
You will Have Three Config Files Where you can update the Data As You Wish :
And we're all good to go!
To connected There is some dummy data added you can check on Database Now Launch your website with prefix name by default /admin and enter this dummy credentials and all works fine
How It Works
When you create a database it creates a migration file and model File also you will dont need to anything on the server side.
If you Created the Database you have to go to Roles and and assign the permissions of the new Database then refresh the page(it will change later) then you can see your new Model on Menu
Inspired By :
You are more than welcome to contribute to this repo with anything you think is useful. fixes are more than welcome.