PHPackages                             imcorleone/laravel-first-data - 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. imcorleone/laravel-first-data

ActiveLibrary[Payment Processing](/categories/payments)

imcorleone/laravel-first-data
=============================

First Data Wrapper for Laravel 4

442PHP

Since Dec 20Pushed 11y ago3 watchersCompare

[ Source](https://github.com/lightshire/LaravelFirstData)[ Packagist](https://packagist.org/packages/imcorleone/laravel-first-data)[ RSS](/packages/imcorleone-laravel-first-data/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

\#LARAVEL FIRST DATA ##OVERVIEW This was created as a side project for a laravel application which requires constanc first data processes.

\##INSTALLATION To install package you have to include the following in the `composer.json`

```
"imcorleone/laravel-first-data": "dev-master"
```

\###LARAVEL 4 INTEGRATION

run the following in the `CLI`

`php artisan config:publish imcorleone/laravel-first-data`

```
//location: app.php
'aliases' 	=> array(
	...
	'FirstData' 	=> 'Imcorleone\LaravelFirstData\Facades\Facade'
	...
),
'providers' => array(
	...
	'Imcorleone\LaravelFirstData\LaravelFirstDataServiceProvider'
	...
)
```

\##CONFIGURATION

```
	return [
		/**
		 *  DEMO FLAG /
		 *  ------------
		 *  Used to flag if the system is to use a demo entry point for
		 *  First Data
		 */
		'demo' 	=> true,

		/**
		 * API KEY /
		 * ---------
		 *
		 */
		'API_KEY' 	=> 'YOUR API KEY HERE',

		/**
		 * API LOGIN /
		 * -----------
		 *
		 */
		'API_LOGIN' => 'YOUR API LOGIN'
	];
```

\##FUNCTIONS As the time of this writing and commit there is two functions that the API can process

- Pre Authentication
- Purchase

\###AUTHENTICATION

```
	$firstData = App::make('firstdata');
	$firstData->auth($cardDetails); //returns true or false
```

First Data Pre Authentication sends a **Zero Dollar Value** to the First Data Entry Point

\###PURCHASE Parameters:

- `card Details` - see card Details list
- `transaction number` - reference number for the purchase
- `amount` - the amount to be purchased using the card

```
	$firstData = App::make('firstdata');
	$firstData->auth($cardDetails, $transNumber, $amount);
```

\###CARD DETAILS LIST

- `type` - Credit Card Type
- `number` - Credit Card Number
- `name` - Credit Card Holder Name
- `expiration` - Credit Card Expiration
- `zipcode` - Credit Card Address Zipcode
- `cvv` - Credit Card Verification Value
- `address` - Credit Card Holder Address

\###CREDITS \###LICENSE The MIT License (MIT)

Copyright (c) 2013 - Vincent Gabriel

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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/89c90411d4adf92cfbf90f3f51288a55fa55f31f4cf5605fec3f770d90bf62f1?d=identicon)[imcorleone](/maintainers/imcorleone)

---

Top Contributors

[![lightshire](https://avatars.githubusercontent.com/u/3846598?v=4)](https://github.com/lightshire "lightshire (16 commits)")

### Embed Badge

![Health badge](/badges/imcorleone-laravel-first-data/health.svg)

```
[![Health](https://phpackages.com/badges/imcorleone-laravel-first-data/health.svg)](https://phpackages.com/packages/imcorleone-laravel-first-data)
```

###  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)
