saeedvir / ladmin

Make an Administrator page in 5 minutes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸͺ„ Laravel Admin (Ladmin v2)

Latest Stable Version Total Downloads License

The magic of creating an Administrator page.

Dashboard

🏷️ Laravel Version

Version Laravel
v1.0.x 7.x
v1.8.* 8.x
v2.* 9.x

Schema for apps that have a login page for members. You can use laravel/breeze, larave/ui, laravel jetstream, etc.

Scheme Member

ℹ️ What's New ?

Now Ladmin comes with the concept of HMVC (Hierarchical Model View Controller) . Click here for more details.

$ php artisan module:make Blog

πŸš€ Quickstart

Follow the steps below to get started faster! Add the repository by running the command below.

$ composer require hexters/ladmin

Follow the installation with the --with-admin-table option.

$ php artisan ladmin:install --with-admin-table

Run migrate and seed, to install ladmin database tables

$ php artisan migrate --seed

And run seeder ladmin module, to assign role and permission to existing user.

$ php artisan module:seed Ladmin

Installation is complete, please access http://localhost:8000/administrator

Login Page

πŸ—‚οΈ Custom Namespaces

To call view, language, config, and component file, you need to add the prefix of module's name eg blog, see example below.

Calling View:

  view('blog::article.index');

Calling Lang:

  __('blog::error.auth.message');

  trans('blog::error.auth.message');

  Lang::get('blog::error.auth.message');

Calling Config:

  config('blog.name')

For component view, if you have component named \Modules\Blog\View\Components\Input class, then the way to call it by running.

  <x-blog-input />

πŸŒ‡ Layout Templating

Follow the documentation to view complete slots and stacks in layout component Documentation Layout

<x-ladmin-auth-layout>

  <x-slot name="title">Page Title</x-slot>

  <!-- Follow guest layout for slots & stacks -->
  
</x-ladmin-auth-layout>

πŸ‘“ Ladmin Awesome

Get modules & template collections in Ladmin Awesome

πŸ“– Documentation

View complete Documentation here

About

Make an Administrator page in 5 minutes

License:MIT License


Languages

Language:PHP 66.7%Language:Blade 24.1%Language:SCSS 4.7%Language:JavaScript 4.5%Language:CSS 0.0%