This project is made in Laravel version 10. In this project, I used an Admin LTE with a breeze installation. Users do have not to worry about assets & folder paths for the admin side. Created for basic e-commerce project admin.Added the basic modules. Don't forget to give star to this repository ⭐.
git clone https://github.com/ZalaNihir/adminlte-laravel10.git
cd adminlte-laravel10
composer update
.env
file via this command.cp .env.example .env
or
copy .env.example .env
php artisan key:generate
php artisan migrate --seed
php artisan serve
Open a new terminal & run the bellow command as well.
npm install && npm run dev
To get the access of admin side there is credentials bellow
email: testadmin@gmail.com
password: p$ssw#rd
email: testuser@gmail.com
password: p$ssw#rd
email: testvendor@gmail.com
password: p$ssw#rd
Added the Light/Dark mode in profile section at top nav.
Added the Category module.
Added the Subcategory module.
Added the product module which has basic detail & takes multiple images.
Added the Role Module.
Added the permission Module.
Added the collection Module for PDFs.
Added the Country, State & City seeder with the relationship
if you want to use the admin side but you have no idea about components & how here things work. so that you just have to create a file & put your code.
I added the functionality to compress the image size & convert it into webp format in the ProductController
.
<x-admin>
{{ 'Put your blade code here' }}
</x-admin>
@section('title')
{{'Your Titlte'}}
@endsection
->with('success', 'Success message');
->with('danger', 'danger message');
->with('info', 'info message');
->with('dark', 'dark message');
->with('warning', 'warning message');
->with('light', 'light message');
If you discover a security vulnerability within this project, please send an e-mail to Nihir Zala via testnihir@gmail.com. All security vulnerabilities will be promptly addressed.If you find any issue or bug you can mail me.
The Laravel framework is open-sourced software licensed under the MIT license.
Check My Other Project