bahricanli/laravel-trendyol

dev-main 2024-04-19 12:20 UTC

This package is auto-updated.

Last update: 2024-10-19 13:21:16 UTC


README

Latest Version on Packagist Software License Build Status StyleCI SensioLabsInsight Quality Score Code Coverage Total Downloads

This package makes it easy to send notifications using Trendyol with Laravel 5.3.

Contents

Installation

You can install this package via composer:

composer require bahricanli/laravel-trendyol

Next add the service provider to your config/app.php:

/*
 * Package Service Providers...
 */

BahriCanli\Trendyol\TrendyolServiceProvider::class,

Register the Trendyol alias to your application. This registration is not optional because the channel itself uses this very alias.

'Trendyol' => BahriCanli\Trendyol\Facades\Trendyol::class,

Setting up the Trendyol service

Add your desired username, password configuration to your config/services.php file:

...
    'Trendyol' => [        
        'username'   => '',
        'password'   => '',        
    ],
...

Notes

$response->groupId() will throw BadMethodCallException if the client is set to 'http'. $response->messageReportIdentifiers() will throw BadMethodCallException if the client is set to 'xml'.

change client configuration with caution.

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Security

If you discover any security related issues, please email bahri@bahri.info instead of using the issue tracker.

Contributing

Please see CONTRIBUTING for details.

Credits

License

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