LaravelPackages.net
Acme Inc.
Toggle sidebar
altynbek07/laravel-exchange-1c

Laravel exchange from 1C

40
0
v0.5-alpha
About altynbek07/laravel-exchange-1c

altynbek07/laravel-exchange-1c is a Laravel package for laravel exchange from 1c. It currently has 0 GitHub stars and 40 downloads on Packagist (latest version v0.5-alpha). Install it with composer require altynbek07/laravel-exchange-1c. Discover more Laravel packages by altynbek07 or browse all Laravel packages to compare alternatives.

Last updated

[WIP] Laravel Exchange 1C

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Laravel exchange from 1C.

Installation

You can install the package via composer:

composer require altynbek07/laravel-exchange-1c

You should set these environment variables in your .env file:

EXCHANGE_1C_LOGIN=YourLogin EXCHANGE_1C_PASSWORD=YourPassword

You can publish the config file with:

php artisan vendor:publish --provider="Altynbek07\Exchange1C\Exchange1CServiceProvider" --tag="config"

This is the contents of the published config file:

<?php

use Altynbek07\Exchange1C\Interfaces\GroupInterface;
use Altynbek07\Exchange1C\Interfaces\OfferInterface;
use Altynbek07\Exchange1C\Interfaces\ProductInterface;

return [
    /**
     *
     */
    'exchange_path' => 'exchange-1c',
    /**
     *
     */
    'import_dir' => storage_path('app/exchange-1c'),
    /**
     *
     */
    'login' => env('EXCHANGE_1C_LOGIN', 'admin'),
    /**
     *
     */
    'password' => env('EXCHANGE_1C_PASSWORD', 'admin'),
    /**
     *
     */
    'use_zip' => false,
    /**
     *
     */
    'file_part' => 0,
    /**
     *
     */
    'logging' => true,
    /**
     *
     */
    'importFiles' => ['import.xml', 'offers.xml'],
    /**
     *
     */
    'models' => [
        GroupInterface::class => \App\Models\Category::class,
        ProductInterface::class => \App\Models\Product::class,
        OfferInterface::class => \App\Models\Offer::class,
    ],
];

Usage

TODO

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Star History Chart