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 1mo ago

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

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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