PHP code example of ake / media
1. Go to this page and download the library: Download ake/media library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
ake / media example snippets
php artisan migrate --path=vendor/ake/media/updates
php artisan dcat-media-selector:install
composer update
// 强制发布静态资源文件
php artisan vendor:publish --tag=media
// 清理视图缓存
php artisan view:clear
php artisan migrate:rollback --path=vendor/ake/media/updates