openplain/filament-transporter
Transport Filament resources between projects with automatic dependency discovery. Export once, import anywhere.
3
1
| Install | |
|---|---|
composer require openplain/filament-transporter |
|
| Latest Version: | 0.1.0 |
| PHP: | ^8.2|^8.3 |
| Laravel: | 11 · 12 |
| License: | MIT |
| Last Updated: | Oct 17, 2025 |
| Links: | GitHub · Packagist |
Maintainer: mashema
Filament Transporter
Transport Filament resources between projects with automatic dependency discovery.
Features
- 🔍 Automatic file discovery using PHP reflection
- 📦 Smart composer dependency detection
- 🔄 Version tracking and conflict detection
- 💾 Automatic backups before changes
- 🎯 Interactive CLI interface
Installation
composer require openplain/filament-transporter --dev
Usage
Export a Resource
# Interactive
php artisan filament:transporter:export
# Direct
php artisan filament:transporter:export NavigationCategoryResource
Import into Another Project
# Interactive
php artisan filament:transporter:import
# Direct
php artisan filament:transporter:import navigation-category-resource
How It Works
Uses PHP reflection to automatically discover:
- Models, migrations, factories, seeders
- Enums, actions, policies
- Nested Filament resource structures
- Type-hinted dependencies
- Composer packages from use statements
Options
Preview Changes
php artisan filament:transporter:import component-name --preview
Force Overwrite
php artisan filament:transporter:import component-name --force
Custom Directories
php artisan filament:transporter:export Resource --output=/path/to/exports
php artisan filament:transporter:import component --from=/path/to/exports
Configuration
Publish the config file:
php artisan vendor:publish --tag=filament-transporter-config
Configure export/import directories in config/filament-transporter.php:
return [
'export' => [
'output_dir' => '../filament-transporter-exports',
],
'import' => [
'source_dir' => '../filament-transporter-exports',
'backup_dir' => 'storage/filament-transporter-backups',
],
];
Testing
composer test
composer pint
License
The MIT License (MIT). Please see License File for more information.
Related Packages
filamentphp/advanced-export
Advanced export functionality for Filament resources with dynamic column selecti...
2,750
8
iracode-com/filament-excel-pro
Filament plugin for advanced Excel file data entry based on `SpartanNL/Laravel-E...
2
1
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.0 | ^8.2| | ^11.0| | MIT |