Package Data | |
---|---|
Maintainer Username: | jacopo-beschi |
Maintainer Contact: | beschi.jacopo@gmail.com (Jacopo Beschi) |
Package Create Date: | 2013-09-11 |
Package Last Update: | 2023-07-02 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:09:45 |
Package Statistics | |
---|---|
Total Downloads: | 534 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 39 |
Total Watchers: | 7 |
Total Forks: | 12 |
Total Open Issues: | 3 |
#Laravel-Import-Export
Import-Export is a package to import and export data from various format into a database.
##Features
##Under the box: features incoming in 0.2.0
##Installation with Composer
To install Import-Export with Composer, add this line to your composer.json file in the `require field:
"jacopo/laravel-import-export": "dev-master"
Also remember to set the minimum-stability to "dev" in your composer.json file
Then open app/config/app.php
and add the following line in the providers
array:
'providers' => array(
'Jacopo\LaravelImportExport\LaravelImportExportServiceProvider',
)
After you need to execute the following commands:
php artisan config:publish jacopo/laravel-import-export
php artisan asset:publish jacopo/laravel-import-export
Now you have under app/config/packages/jacopo/laravel-import-export
the package configuration files. At this point you need to configure the database access. Open the file app/config/packages/jacopo/laravel-import-export/database.php
and update it with the database access information. When done run the following command to initialize ImportExport database.
php artisan migrate --package="jacopo/laravel-import-export" --database="import"
This command will create a _import_export_temporary_table
in the db, you can change the name of the table editing the the key: table_prefix
under the file app/config/packages/jacopo/laravel-import-export/baseconf.php
.
Congratulations! Now you can view the application at the url: http://url-of-your-baseapp/importer
. If needed you can change the base route editing the the key: base_application_route
under the file app/config/packages/jacopo/laravel-import-export/baseconf.php
.