Installation
Composer Installation
-
Require the package using Composer:
composer require codenteq/iyzico-payment-gateway -
Run autoload:
composer dump-autoload -
Add your Iyzico credentials to your
.envfile:IYZICO_API_KEY=
IYZICO_SECRET_KEY=
IYZICO_BASE_URL= -
Optimize your Laravel project:
php artisan optimize
Installation Without Composer
-
Unzip the extension and merge the
packagesandstoragefolders into your Laravel project's root directory. -
In
config/app.php, add the following to theprovidersarray:Webkul\Iyzico\Providers\IyzicoServiceProvider::class, -
In
composer.json, add the following under theautoload.psr-4section:"Webkul\\Iyzico\\": "packages/Webkul/Iyzico/src" -
Run the following command:
composer dump-autoload -
Update your
.envfile with Iyzico credentials:IYZICO_API_KEY=
IYZICO_SECRET_KEY=
IYZICO_BASE_URL= -
Optimize the project:
php artisan optimize