PHP code example of codemanstudio / laravel-1c

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

    

codemanstudio / laravel-1c example snippets


Bigperson\LaravelExchange1C\Exchange1CServiceProvider::class

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

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

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