# Installation
# Requirements
- PHP:
^7.1
- Laravel:
^5.5
- Laravel Nova:
Orion
- Maatwebsite Laravel Excel:
^3.0
# Installation
Before installing the package, make sure you have set-up Laravel Nova.
Require this package (maatwebsite/laravel-nova-excel
) in the composer.json
of your Laravel project or run the following command in your console:
composer require psr/simple-cache:^2.0 maatwebsite/laravel-nova-excel
1
If composer require fails on Laravel 9 because of the simple-cache dependency, you will have to specify the psr/simple-cache version as ^2.0 in your composer.json to satisfy the PhpSpreadsheet dependency. You can install both at the same time as.
# Service Provider
In case you don't have auto-discovery enabled, you'll have to add the following two service providers in config/app.php
:
'providers' => [
/*
* Package Service Providers...
*/
Maatwebsite\Excel\ExcelServiceProvider::class,
Maatwebsite\LaravelNovaExcel\LaravelNovaExcelServiceProvider::class,
]
1
2
3
4
5
6
7
2
3
4
5
6
7
← License Contributing →