Coder Social home page Coder Social logo

ladmin's Introduction

๐Ÿช„ 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

ladmin's People

Contributors

hexters avatar flabib avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.