umutcangungormus/laravel-import-export
Laravel Import Export adds simple import and export capabilities to Laravel applications, providing a straightforward API for moving data between your app and files, with configurable workflows for common bulk data tasks.
composer require umutcangungormus/laravel-import-export
php artisan vendor:publish --provider="UmutCanGungormus\ImportExport\ImportExportServiceProvider"
README.md for quick-start examples and supported formats.config/import-export.php (or similarly named config) for disk, queue, chunk size, model mappings, and tenant-scoping defaults.tests/ directory (if shipped) for canonical usage.ShouldQueue) and store files on a disk. Use chunked reads/writes (cursor(), chunk(), or package-specific chunk settings) to avoid memory exhaustion.DB::transaction(). For large imports, prefer per-chunk transactions with idempotent upserts.php artisan config:cache in deployed environments. Stale config is a common cause of “why is it using the wrong disk/queue/chunk size?”cursor(), lazy(), or package-provided streaming readers. Set job timeouts appropriately.Storage facade consistently.withoutGlobalScopes. If exports unexpectedly include or exclude tenant data, check global scopes on the model and whether the package’s query builder applies them. Be explicit in your export query.Log::debug(config('import-export'))), inspect the generated SQL with DB::listen(), and test the same import/export through both HTTP and CLI to catch environment differences.^1.0 and review changelogs for minor releases that may alter tenant-scoping defaults or queue behavior.How can I help you explore Laravel packages today?