中文:https://learnku.com/laravel/t/68751
英文:https://laravel-news.com/controller-refactor
composer require laravel/breeze --dev
php artisan breeze:install
php artisan migrate
php artisan make:migration add_google_auth_to_users_table php migrate
php artisan make:model Voucher -m
php artisan make:notification NewUserWelcomeNotification php artisan make:notification NewUserAdminNotification
https://github.com/mailhog/MailHog Mac安裝 brew update && brew install mailhog 啟動 mailhog,允許連線可以設定無 Web UI : http://0.0.0.0:8025/ .env 修改 MAIL_HOST=127.0.0.1
php artisan make:job NewUserNotifyAdminsJob
參考:https://ithelp.ithome.com.tw/articles/10281596
.env QUEUE_CONNECTION=database (default sync 沒有隊列,及時執行工作的意思,適合在開發環境用。)
php artisan queue:table
php artisan migrate
php artisan queue:listen