git clone [email protected]:moselaymd-dev/mmd-basic-dashboard.git
cd mmd-basic-dashboard
- copy .env.example and rename it to .env
- set database config in your inv file
composer install --ignore-platform-reqs
php artisan key:generate
npm install && npm run dev
php artisan migrate --seed
php artisan queue:work
php artisan storage:link
php artisan serve
- Login = http://127.0.0.1:8000/login
- Dashboard = http://127.0.0.1:8000/dashboard
- LOGIN_EMAIL = [email protected]
- LOGIN_PASSWORD = 123
http://mmd-dashboard.v2.mmd-technology.com/dashboard
- email = [email protected]
- password = 123
1- Login Page
2- Dashboard Page
3- Full Translations Page [ ar / en ]
4- Profile page
5- Lock Screen page
6- Settings for site
- autoload setting in cache when site use it all time like [site name / logo / audios for notifications and alarms]
- can close setting if you won't use it again
7- Create / Update Setting Form
- after select content type, will show input with selected type
8- Content Type For Settings
9- Menu
- drag and drop.
- close tap or specific link, to can't anyone open page. [only super admin role can open page]
- reorder.
- create / update / delete
- can update menu seeder and click on sync menus button will update menu
10- Roles
11- Assign Routes To Roles
- select controller to list his methods.
- when input is check for route in role, then role can use this route
12- ease to search in relations table using yajra datatable
13- ease to make your custom search
- just create route like this [change users word and controller name]
Route::get('{users}/search/form', '{UserController}@search')->name('{users}.search.form');
- in {users} folder add
search.blade.php
have only inputs without form tag - in Model have scopeFilter in this scope can add all your form conditions
14- Email System
15- Languages
- An easy way to active or disabled a language16- New page to list lang files
- can create or edit for language file keys- use_form_ajax => if true, form create / update will submit using ajax and display validation errors if have, after success will redirect to any page you set it on store method
- use_button_ajax => if true, link create and update and delete will use ajax [ the form will open in modal ]
- full_page_ajax or make use_form_ajax && use_button_ajax is true, open form and submit will do in the same page, no have redirect
- Model with relations & fillable & scope filter and slug method to display the row name in breadcrumb section
- Request class with all validations and attributs translation
- Datatable class with load relations & columns & multidelete / create buttons
- Service class to handle create / update
- Controller with some method
- append translation columns in translation files
- append routes in route file
- create new menu for new model
- create form blade with all inputs from fillable
some Notes:
- to create translation column with type json, please add comment ('translations')
- to create input image in form add comment ('image') for the column
- to create input video in form add comment ('video') for the column
- to create input audio in form add comment ('audio') for the column
- to create input file in form add comment ('file') for the column
php artisan make:crud table_name