PHPackages                             danielmlozano/laravel-conekta - 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. danielmlozano/laravel-conekta

ActiveLibrary[Payment Processing](/categories/payments)

danielmlozano/laravel-conekta
=============================

Laravel package that provides a simple, easy-to-use interface to Conekta Payment services

v1.1.1(3y ago)187MITPHPPHP ^7.4|^8.0

Since May 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/danielmlozano/LaravelConekta)[ Packagist](https://packagist.org/packages/danielmlozano/laravel-conekta)[ RSS](/packages/danielmlozano-laravel-conekta/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)Dependencies (8)Versions (7)Used By (0)

LaravelConekta
==============

[](#laravelconekta)

Laravel package that provides a simple, easy-to-use interface to Conekta Payment services.

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

[](#installation)

1. First of all, require the Package via Composer

```
$ composer require danielmlozano/laravel-conekta

```

2. Publish the configuration file

```
$ php artisan vendor:publish --tag="conekta-config"

```

3. If necessary, publish the migrations as well

```
$ php artisan vendor:publish --tag="conekta-migrations"

```

4. Add your Conekta public and secret key to your .env file and your currency in ISO format

```
CONEKTA_KEY=key_your_conekta_public_key
CONEKTA_SECRET=key_your_conekta_private_key
CONEKTA_CURRENCY=usd

```

5. If you're using a custom User Model, add it to your .env as well

```
CONEKTA_USER_MODEL="App\Models\CustomModel"

```

6. Add the Purchaser trait to your User model

```
use Danielmlozano\LaravelConekta\Purchaser;

class User extends Authenticatable implements MustVerifyEmail
{
    use Notifiable, HasFactory, Purchaser;

```

7. Now, you can access to the API.

```
$user = User::first();
// Create a new Conekta Customer
$user->createAsConektaCustomer();

//Add a payment method
$user->addPaymentMethod('payment_method_token', 'card');

```

Documentation
-------------

[](#documentation)

You can read the entire documentation here: [](https://danielmlozano.dev/docs/laravelconekta/)

Contributors
------------

[](#contributors)

I created this package for a project and in its first version, only contain the functionality that I needed. For this reason. all contributors are welcome to improve and add more features to the package.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~137 days

Total

5

Last Release

1286d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c02234e7bd131996a0d68b10f1c9452e4f04c110dbf1abdb1afc376c27ca126?d=identicon)[danielmlozano](/maintainers/danielmlozano)

---

Top Contributors

[![danielmlozano](https://avatars.githubusercontent.com/u/7433870?v=4)](https://github.com/danielmlozano "danielmlozano (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/danielmlozano-laravel-conekta/health.svg)

```
[![Health](https://phpackages.com/badges/danielmlozano-laravel-conekta/health.svg)](https://phpackages.com/packages/danielmlozano-laravel-conekta)
```

###  Alternatives

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M107](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel/cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.

264778.4k3](/packages/laravel-cashier-paddle)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[asciisd/knet

Knet package is provides an expressive, fluent interface to KNet's payment services.

141.1k](/packages/asciisd-knet)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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