Download the PHP
package kapokyue/laravel-excel without Composer
On this page you can find all versions of the php package
kapokyue/laravel-excel. It is possible to download/install
these versions without Composer. Possible dependencies are resolved
automatically.
After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.
Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.
In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories.
In this case some credentials are needed to access such packages.
Please use the auth.json textarea to insert credentials, if a package is coming from a private repository.
You can look here for more information.
Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
To use Composer is sometimes complicated. Especially for beginners.
Composer needs much resources. Sometimes they are not available on a simple webspace.
If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Looking for Laravel Excel for Laravel 4? Visit the 1.3 branch
Laravel Excel brings the power of PHPOffice's PHPExcel to Laravel 5 with a touch of the Laravel Magic. It includes features like: importing Excel and CSV to collections, exporting models, array's and views to Excel, importing batches of files and importing a file by a config file.
Import into Laravel Collections
Export Blade views to Excel and CSV with optional CSS styling
Batch imports
A lot of optional config settings
Easy cell caching
Chunked and queued importer
ExcelFile method injections
Editing existing Excel files
Advanced import by config files
and many more...
Installation
Require this package in your composer.json and update composer. This will download the package and PHPExcel of PHPOffice.
In Laravel 5.5 or higher, this package will be automatically discovered and you can safely skip the following two steps.
If using Laravel 5.4 or lower, after updating composer, add the ServiceProvider to the providers array in config/app.php
You can use the facade for shorter code; if using Laravel 5.4 or lower, add this to your aliases:
The class is bound to the ioC as excel
To publish the config settings in Laravel 5 use:
This will add an excel.php config file to your config folder.
This package is licensed under MIT. You are free to use it in personal and commercial projects. The code can be forked and modified, but the original copyright author should always be included!
FAQ
1) Chunk importer only imports the first row
Check that auto_detect_line_endings in your php.ini is set to true.
Composer command for our command line client (download client)This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free.Standard composer command
The package kapokyue/laravel-excel contains the following files
Loading the files please wait ....
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.