- Require using composer
composer require kg-bot/laravel-magento
In Laravel 5.5, and above, the package will auto-register the service provider. In Laravel 5.4 you must install this service provider.
- Add the MagentoServiceProvider to your
config/app.php
providers array.
<?php
'providers' => [
// ...
\KgBot\Magento\MagentoServiceProvider::class,
// ...
]
- Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="KgBot\Magento\MagentoServiceProvider"