Download the PHP package ertanusta/trendyol-api-bundle without Composer
On this page you can find all versions of the php package ertanusta/trendyol-api-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package trendyol-api-bundle
Trendyol API PHP Symfony Bundle
This package has been prepared for the use of trendyol API services.
Installation
Step 1: Download TrendyolAPIBundle using composer
Require the ertanusta/trendyol-api-bundle
with composer Composer.
Step 2: Enable the bundle
Enable the bundle in the kernel:
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
Step 3: Configure the AcmePhpBundle
Below is a minimal example of the configuration necessary to use the
TrendyolApiBudnle
in your application:
At the same time, you can change the parameters according to the environment situation by keeping them under config/packages/dev/ or config/packages/prod directories.
Usage
After installing the package and entering the necessary configurations. You can access Trendyol API services with the services included in the package.
To dynamically change your Trendyol configuration:
Extensions
Trendyol API Url Edit: Trendyol API Url addresses are available under Resources/config/packages/dev/trendyol_url. To make changes in api url addresses, you can copy the content of the file and update it according to you.
It is enough to write the path information of the yaml file containing the api addresses you created.
Some parameters in the URL structure are expected to be exactly the same. Otherwise the service classes will not work properly.
Trendyol Client: By creating another Client class implemented with Trendyol\ApiBundle\Client\ClientInterface, services can be made to use the object of this class.
Trendyol Url Factory: The UrlFactory class created using Trendyol\ApiBundle\Factories\UrlFactoryInterface can be used.
All versions of trendyol-api-bundle with dependencies
symfony/http-client Version ^4.4|^5.2
symfony/http-foundation Version ^4.4|^5.2
symfony/framework-bundle Version ^4.4|^5.2
symfony/yaml Version ^4.4|^5.2