Installation
Requirements
- PHP:
^7.1
- Laravel:
>=5.5
- Box Spout:
^2.7.3
- PHP extension
php_zip
enabled - PHP extension
php_xml
enabled - PHP extension
php_gd2
enabled
Installation
Require this package in the composer.json
of your Laravel project. This will download the package and Box Spout.
composer require nikazooz/laravel-simplesheet
1
The Nikazooz\Simplesheet\SimplesheetServiceProvider
is auto-discovered and registered by default, but if you want to register it yourself:
Add the ServiceProvider in config/app.php
'providers' => [
/*
* Package Service Providers...
*/
Nikazooz\Simplesheet\SimplesheetServiceProvider::class,
]
1
2
3
4
5
6
2
3
4
5
6
The Simplesheet
facade is also auto-discovered, but if you want to add it manually:
Add the Facade in config/app.php
'aliases' => [
...
'Simplesheet' => Nikazooz\Simplesheet\Facades\Simplesheet::class,
]
1
2
3
4
2
3
4
To publish the config, run the vendor publish command:
php artisan vendor:publish --provider="Nikazooz\Simplesheet\SimplesheetServiceProvider"
1
This will create a new config file named config/simplesheet.php
.
← License Contributing →