Giter Site home page Giter Site logo

ladmin's Introduction

L-admin v3 (HMVC)

Latest Stable Version Total Downloads License

L-Admin is a Laravel administration package that allows web developers to quickly create an admin panel for their website. The package includes features such as user management, access control management, task management, file management, email management, and many more. The package is designed to save time and effort in building an admin panel and allows developers to focus on building the core features of their web application.

Dashboard

๐Ÿท๏ธ Laravel Version

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

๐Ÿš€ Quickstart

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

composer require hexters/ladmin

Follow the installation to start build awesome apps.

php artisan ladmin:install --and=ladmin:setup

Run composer dumpautoload before run migration and seed

composer dumpautoload

Run migrate and seed, to install ladmin database tables

php artisan migrate --seed

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

Login Page

Customization Color and Assets

To change the ladmin style, you just need to run Vite, before that you should install nodejs modules in Modules folder. You just run command below.

php artisan module:npm --install

npm run dev

You can start changing javascript and css.

๐Ÿ—‚๏ธ Custom Namespaces

To call view, language, config, and component file, you need to add the prefix of module's name e.g 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

Supporting the project

You can support the maintainer of this project through the referral links below

ladmin's People

Contributors

amirsadeghi1 avatar dependabot[bot] avatar flabib avatar hairuljr avatar hexters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ladmin's Issues

Missing bcrypt('password') In UserFactory

$this->faker->name(), 'email' => $this->faker->unique()->safeEmail(), 'email_verified_at' => now(), 'password' => bcrypt('password'), // password 'remember_token' => Str::random(10), ]; } /** * Indicate that the model's email address should be unverified. * * @return \Illuminate\Database\Eloquent\Factories\Factory */ public function unverified() { return $this->state(function (array $attributes) { return [ 'email_verified_at' => null, ]; }); } }

Custom Login With LDAP

Hi @hexters ,

I wanna say thank you so much for your great works and efforts.
Another question is, is it possible if we will login using LDAP? if yes, which php file that we should change into?

Thanks

Laravel 9 || syntax error, unexpected ':', expecting ')' || vendor/hexters/ladmin/src/Helpers/Ladmin.php

Nothing to install, update or remove 6 package suggestions were added by new dependencies, use composer suggest` to see details.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi

ParseError

syntax error, unexpected ':', expecting ')'

at vendor/hexters/ladmin/src/Helpers/Ladmin.php:92
88โ–• * @return void
89โ–• /
90โ–• public function view($blade, $data = [])
91โ–• {
โžœ 92โ–• return view($this->view_path(blade: $blade), $data);
93โ–• }
94โ–•
95โ–• /
*
96โ–• * Load ladmin template

  +1 vendor frames 

2 [internal]:0
Composer\Autoload\ClassLoader::loadClass()

  +9 vendor frames 

12 [internal]:0
Illuminate\Foundation\Application::Illuminate\Foundation{closure}()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.
`

if i do install this packages show this error

Route [index] not defined.

I don't know why but there is a lot of problems with routes first able. After clean laravel installation Datatables do not exist, routes not defined.

Ladmin halaman utama

Bang, mau nanya caranya biar vendor ladmin ini jadi tampilan utama di route / gimana ya? Jadi gk perlu localhost:8080/administrator lagi. Langsung localhost:8080/

Error when accessing log

Nice repo.
But, I have error when accessing log

http://localhost:8000/administrator/system/log

image

Any advice?

Thanks

Feature: Support Tailwind CSS

Can you add tailwind support? I mean switching the frontend framework between Tailwind and Bootstrap from the config file.

Notification related error

I was using the admin panel, it was working fine. I update the composer and now it gives me this error

lluminate\Database\QueryException
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'notifications.notifiable_id' in 'where clause' (SQL: select * from notifications where notifications.notifiable_id = 1 and notifications.notifiable_id is not null and notifications.notifiable_type = App\Models\User and read_at is null order by created_at desc, created_at desc limit 10) (View: views\layouts\app.blade.php)

Edit Component

image
How i can edit component ladmin without edit from vendor folder but in my project folder ?

i use: version 1.8.3

Error on composer require hexters/ladmin

new laravel.
laravel breeze install
php artisan migrate
new user created and loggedin.

then run command composer require hexters/ladmin and getting this error.

Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover --ansi

Illuminate\Database\QueryException

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'adminpanel.ladmin_options' doesn't exist (SQL: select * from ladmin_options where option_name = menu-sidebar limit 1)

Error on Publishing

:: after doing migration on laravel fresh install ::

when running

php artisan ladmin:install --and=ladmin:setup

it throw this error

In Application.php line 827:
  Class "Modules\Ladmin\Providers\LadminServiceProvider" not found

:: Laravel 10.10 fresh install on PHP 8.1.6 ::

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.