Client: TailwindCSS + DaisyUI + tw-elements + Line Awesome
Server: Laravel v10
Packages and usages: Jquery + Ajax + TinyMce + morilog/jalali + SweetAlert + niklasravnsborg/laravel-pdf + phpoffice/phpspreadsheet + spatie/laravel-permission
Clone this repository
cd laravel-admin-panel-template/
cp env.example env
Config .env file
composer i
npm i
php artisan migrate --seed
npm run build
Clone the project
git clone https://github.com/mohammad-ashouri/laravel-admin-panel-template
Go to the project directory
cd laravel-admin-panel-template/
Copy env.example and modify that
Migrate database
php artisan migrate:fresh --seed
Install dependencies
npm i
composer i
Build from project
npm run build
To start the server this project run
php artisan serve
Project starts at localhost:8000
Go to users migration and change add user query and migrate fresh
php artisan migrate:fresh --seed
array_number => [
'title' => 'Menu Title',
'link' => 'Menu Link',
'class' => 'Line Awesome Class',
'permission' => "Your Permission Name",
//If you want to add submenu(s)
'childs' => [
array_number => [
'title' => 'Submenu Title',
'link' => 'Submenu Link',
'class' => 'Line Awesome Class',
'permission' => "Your Permission Name",
],
]
],
function __construct()
{
$this->middleware('permission:لیست کاربران', ['only' => ['index']]);
}
1- Add new route (resource)
2- Add new controller
3- Add new model + migration
4- Copy from cpu Cpus folder and change fields and variables
5- Copy CpuController scripts and config that by your model
6- Config model
7- Add new permissions by your model
For support, email m.ashouri.wdev@gmail.com.
Please donate me with the following methods to get energy! thank you
Tron (trc20) or Tether (trc20): TRay31N4sJfDXrT3zSennr74RGX4x9HehU