PHPackages                             abhishek/authorize.net-yii2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. abhishek/authorize.net-yii2

ActiveYii2-extension[Payment Processing](/categories/payments)

abhishek/authorize.net-yii2
===========================

Authorize.net Payment Extension on Yii2

01981PHP

Since Oct 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/itabhi1986/authorize.net-yii2)[ Packagist](https://packagist.org/packages/abhishek/authorize.net-yii2)[ RSS](/packages/abhishek-authorizenet-yii2/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Authorize.net Payment Methods
=============================

[](#authorizenet-payment-methods)

Authorize.net Payment Extension on Yii2

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist abhishek/authorize.net-yii2 "*"

```

or add

```
"abhishek/authorize.net-yii2": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by calling default classes :

You just have to include any of the class. Rest all functions will work same as authorizenet PHP SDK.

use AuthorizeNetAIM; use AuthorizeNetARB; use AuthorizeNetCIM; use AuthorizeNetCP; use AuthorizeNetDPM; use AuthorizeNetSIM; use AuthorizeNetSOAP; use AuthorizeNetTD;

Usage Examples

use AuthorizeNetAIM; define("AUTHORIZENET\_API\_LOGIN\_ID", "YOURLOGIN"); define("AUTHORIZENET\_TRANSACTION\_KEY", "YOURKEY"); define("AUTHORIZENET\_SANDBOX", true);

$sale = new AuthorizeNetAIM; $sale-&gt;amount = "1.99"; $sale-&gt;card\_num = '4111111111111111'; $sale-&gt;exp\_date = '0418'; $response = $sale-&gt;authorizeAndCapture(); if ($response-&gt;approved) { echo "Success! Transaction ID:" . $response-&gt;transaction\_id; } else { echo "ERROR:" . $response-&gt;error\_message; }

For more examples visit

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0515853e7cd3ac9e7d7c0a7b8a7256fcb1fbdf4b7e2a6a099af3717f489edbb1?d=identicon)[abhishek.it.1986](/maintainers/abhishek.it.1986)

### Embed Badge

![Health badge](/badges/abhishek-authorizenet-yii2/health.svg)

```
[![Health](https://phpackages.com/badges/abhishek-authorizenet-yii2/health.svg)](https://phpackages.com/packages/abhishek-authorizenet-yii2)
```

###  Alternatives

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
