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
.env
file: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
packages
andstorage
folders into your Laravel project's root directory. -
In
config/app.php
, add the following to theproviders
array:Webkul\Iyzico\Providers\IyzicoServiceProvider::class,
-
In
composer.json
, add the following under theautoload.psr-4
section:"Webkul\\Iyzico\\": "packages/Webkul/Iyzico/src"
-
Run the following command:
composer dump-autoload
-
Update your
.env
file with Iyzico credentials:IYZICO_API_KEY=
IYZICO_SECRET_KEY=
IYZICO_BASE_URL= -
Optimize the project:
php artisan optimize