PHP code example of maximbrewer / laravel-exchange1c

1. Go to this page and download the library: Download maximbrewer/laravel-exchange1c library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

maximbrewer / laravel-exchange1c example snippets


MaximBrewer\LaravelExchange1C\Exchange1CServiceProvider::class

\MaximBrewer\Exchange1C\Interfaces\GroupInterface::class   => \App\Models\Category::class,
\MaximBrewer\Exchange1C\Interfaces\ProductInterface::class => \App\Models\Product::class,
\MaximBrewer\Exchange1C\Interfaces\OfferInterface::class   => \App\Models\Offer::class,

'MaximBrewer\Exchange1C\Events\BeforeOffersSync' => [
    'App\Listeners\BeforeOffersSyncListener',
],

php artisan vendor:publish --provider="MaximBrewer\LaravelExchange1C\Exchange1CServiceProvider"