121 lines
4.0 KiB
INI
121 lines
4.0 KiB
INI
laravel new shop_12_wireui
|
|
|
|
|
|
┌ Would you like to install a starter kit? ────────────────────┐
|
|
│ Laravel Breeze │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
|
|
┌ Which Breeze stack would you like to install? ───────────────┐
|
|
│ Livewire (Volt Class API) with Alpine │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
|
|
┌ Would you like dark mode support? ───────────────────────────┐
|
|
│ No │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
|
|
┌ Which testing framework do you prefer? ──────────────────────┐
|
|
│ PHPUnit │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
|
|
┌ Would you like to initialize a Git repository? ──────────────┐
|
|
│ ● Yes / ○ No │
|
|
└──────────────────────────────────────────────────────────────┘
|
|
|
|
|
|
composer require spatie/laravel-permission
|
|
|
|
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
|
|
|
|
|
|
|
|
php artisan make:seeder PermissionTableSeeder
|
|
php artisan make:seeder CreateAdminUserSeeder
|
|
|
|
無 DB 新建
|
|
php artisan migrate --seed
|
|
有 DB 重制
|
|
php artisan migrate:fresh --seed
|
|
|
|
valet park
|
|
valet link
|
|
valet paths
|
|
|
|
php artisan db:seed --class=PermissionTableSeeder
|
|
php artisan db:seed --class=CreateAdminUserSeeder
|
|
php artisan db:seed --class=OtherSetsTableSeeder
|
|
//console.log();
|
|
php artisan route:list
|
|
php artisan config:clear
|
|
php artisan route:clear
|
|
php artisan cache:clear
|
|
php artisan route:list
|
|
|
|
npm install && npm run build
|
|
|
|
|
|
|
|
|
|
composer require wireui/wireui
|
|
|
|
php artisan vendor:publish --tag="wireui.config"
|
|
|
|
php artisan make:livewire Admin/Roles/Index
|
|
|
|
php artisan make:livewire Admin/Users
|
|
|
|
php artisan make:component Table
|
|
|
|
操作記錄
|
|
composer require spatie/laravel-activitylog
|
|
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-migrations"
|
|
php artisan migrate
|
|
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="activitylog-config"
|
|
php artisan make:model ActivityLog
|
|
|
|
Laravel Excel
|
|
composer require maatwebsite/excel
|
|
|
|
composer require power-components/livewire-powergrid
|
|
php artisan vendor:publish --tag=livewire-powergrid-config
|
|
|
|
建立分頁table
|
|
php artisan powergrid:create
|
|
|
|
|
|
php artisan make:job TransferSqliteTableJob
|
|
|
|
|
|
php artisan migrate:rollback
|
|
php artisan migrate
|
|
php artisan transfer:sqlite sqlite/tempUser.sqlite --sync
|
|
|
|
php artisan queue:work --daemon --timeout=3600 --tries=1 --queue=default
|
|
|
|
npm install && npm run build
|
|
|
|
https://ktvremote.test/?room_code=abc123
|
|
http://192.168.12.14:9090/wnknwl1f3yy/windows.html
|
|
php artisan storage:link
|
|
|
|
# 執行全部測試
|
|
php artisan test
|
|
# 執行特定檔案
|
|
php artisan test tests/Feature/InternalHtmlTest.php
|
|
# 執行特定測試方法
|
|
php artisan test --filter test_internal_html_page
|
|
|
|
# 執行全部測試
|
|
vendor/bin/phpunit
|
|
|
|
# 執行特定檔案
|
|
vendor/bin/phpunit tests/Feature/InternalHtmlTest.php
|
|
|
|
# 執行特定測試方法
|
|
vendor/bin/phpunit --filter test_internal_html_page
|
|
|
|
|
|
02 2171 1168 89843
|
|
|
|
|
|
|