PHP code example of openplain / filament-transporter
1. Go to this page and download the library: Download openplain/filament-transporter 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/ */
openplain / filament-transporter example snippets
return [
'export' => [
'output_dir' => '../filament-transporter-exports',
],
'import' => [
'source_dir' => '../filament-transporter-exports',
'backup_dir' => 'storage/filament-transporter-backups',
],
];
bash
# Interactive
php artisan filament:transporter:export
# Direct
php artisan filament:transporter:export NavigationCategoryResource
bash
php artisan vendor:publish --tag=filament-transporter-config