一、搭建基础laravel功能(持续更新)
1.创建基础环境
php artisan make:model SphericalPicture
php artisan make:controller --api -m "App\Models\SphericalPicture" SphericalPictureController
php artisan make:resource -c SphericalPictureCollections
php artisan make:resource SphericalPictureCollection
php artisan make:test SphericalPictureFeatureTest
2.常用命令
创建数据库迁文件
php artisan make:migration create_hots_table
导入FFMPEG依赖
composer require php-ffmpeg/php-ffmpeg