PHP code example of sv1ft / laravel-exchange1c

1. Go to this page and download the library: Download sv1ft/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/ */

    

sv1ft / laravel-exchange1c example snippets


Sv1fT\LaravelExchange1C\Exchange1CServiceProvider::class

\Sv1fT\Exchange1C\Interfaces\GroupInterface::class   => \Sv1fT\LaravelExchange1C\Models\Category::class,
\Sv1fT\Exchange1C\Interfaces\ProductInterface::class => \Sv1fT\LaravelExchange1C\Models\Product::class,
\Sv1fT\Exchange1C\Interfaces\OfferInterface::class   => \Sv1fT\LaravelExchange1C\Models\Offer::class,

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

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