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 3w 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 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

1338d 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/cashier

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

2.6k29.9M146](/packages/laravel-cashier)[laravel/pulse

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

1.7k15.1M132](/packages/laravel-pulse)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M195](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)

PHPackages © 2026

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