dexbytes-ecom
- From the projects root folder run
composer update
- From the projects root folder run
php artisan key:generate
- From the projects root folder run
php artisan migrate
- From the projects root folder run
composer dump-autoload
- From the projects root folder run
php artisan db:seed
- From the projects root folder run
php artisan storage:link
- From the projects root folder run (local)
php artisan schedule:work
Seeds
Seeded Roles
- Unverified
- Cusotmer
- Admin
- Vendor
- Super Admin
- Driver
Seeded Users
Update swagger
php artisan l5-swagger:generate
Included Filters (as string literals)
Filter class |
Usage |
'capitalize' |
Capitalizes the first character of each word |
'email' |
Sanitizes email |
'sanitize' |
Sanitizes text generically |
'encode' |
URL Encodes text |
'number' |
Removes all non-numerical characters |
'strip' |
Removes HTML and PHP tags, keeps what you want |
'lowercase' |
Converts to lowercase |
'uppercase' |
Converts to uppercase |
'trim' |
Trim leading and trailing white space |
'date' |
Format into a specified Carbon date string see Carbon docs |
Remove public from url
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]