PHP code example of tentapress / media
1. Go to this page and download the library: Download tentapress/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/ */
tentapress / media example snippets
'media' => [
'url_driver' => env('TP_MEDIA_URL_DRIVER', 'local'),
],
bash
php artisan tp:plugins sync
php artisan tp:plugins enable tentapress/media
composer test
composer test:filter -- MediaBaselineFlowTest
bash
php artisan tp:media:optimise --limit=200
php artisan tp:media:backfill-variants --limit=200
php artisan tp:media:verify-variants --limit=500