Some information ...
- PHP ^8.0.2
- Composer 2
- Laravel v10
- npm v9.6.0
- node v18.1.0
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
- API Route: /api/v1
- Swagger Docs: /api/v1/docs
- Log viewer: /admin/log-viewer
Composer install
composer install
NPM install
npm install
Generate new key
php artisan key:generate
Make storage folder to public
php artisan storage:link
Set .env database variables
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=pbl-vendor-laravel
DB_USERNAME=root
DB_PASSWORD=
Clear all cache, config files
php artisan optimize:clear
Drop table and create new, + seeder
php artisan migrate:fresh --seed
Generate API for Vue usage
php artisan api:token
Generate Swagger API Docs
php artisan l5-swagger:generate
Run Laravel server
php artisan serve
Run Vite server (Frontend)
npm run dev
Quick command for (migrate:fresh --seed, optimize:clear, api:generate)
php artisan m
- https://www.binaryboxtuts.com/php-tutorials/generating-pdf-from-html-in-laravel-8/
- https://bagisto.com/en/how-to-generate-a-pdf-in-laravel-view/
- https://github.com/barryvdh/laravel-dompdf
If there are any problems, please leave a issue
> Click on the link to write a issue
- ISE-51U - Umarov Kamoliddin (@UzSoftic)
- ISE-51U - Abdukhamidov Abdurakhmon (@AbdurakhmonAbdukhamidov)
- ISE-51U - Zokirov Hojiakbar (@Khojiakbar07)
- ISE-52U - Rajabboyev Inoyatulla (@uz-developer)
- v0.1 - Pre release
- ...
This template should help get you started developing with Vue 3 in Vite.