Small Laravel Admin


License
MIT

Documentation

Laramin - Small Laravel Admin

Laramin Screenshot


Demo

Demo Here

Getting Started

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 array:

'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

Seed

Then you need to seed the permissions roles dummy users Dont forget to launch First

composer dump-autoload

by adding this lines on `database/seeds/DatabaseSeeder.php

$this->call(LaraminDataSeeder::class);
$this->call(LaratrustSeeder::class);

and launch

php artisan db:seed

You will Have Three Config Files Where you can update the Data As You Wish :

config/laramin.php

config/laratrust.php

config/laratrust_seeder.php

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

email: superadministrator@app.com
password: password

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 :

Laratrust For The User Permissions
Voyager The Idea of making a simple Admin Panel

Contributing

You are more than welcome to contribute to this repo with anything you think is useful. fixes are more than welcome.