bahricanli / laravel-trendyol
Laravel Trendyol API
Requires
- php: >=7
- bahricanli/trendyol-php-api: 1.0.0
- laravel/framework: ^5|^6|^7|^8
Requires (Dev)
- mockery/mockery: ^0.9.5
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-10-19 13:21:16 UTC
README
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.