Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Conekta Php Laravel Package

conekta/conekta-php

Official PHP SDK for Conekta payments (requires PHP 8.1+). Install via Composer, authenticate with a bearer token, and call generated API clients for charges, customers, orders, and antifraud rules.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Market-entry sequencing (Mexico/LATAM). This package is the cheapest possible way to answer "is there real demand for us in Mexico?" It exposes Conekta's rails (cards, OXXO cash vouchers, SPEI transfers, MSI installments, MXN pricing, antifraud rules) behind a Composer install, so the decision "do we localize payments?" moves from a quarter-scale platform project to a one-to-two-sprint spike.
  • Build vs. buy for payments plumbing. Buy. MIT-licensed, free, and it removes an in-house HTTP client from the roadmap. Build only the layer this package deliberately does not provide: your internal PaymentGateway adapter, webhook controller, retry/idempotency handling, and reconciliation jobs.
  • Roadmap trade-off: localization vs. new features. If MX traffic is <5% of signups, deprioritize and revisit next half. If it's >10%, this is the unblocking dependency and outranks most surface-area features.
  • Checkout/pricing decisions for the MX segment. Because OXXO and SPEI are first-class in the API surface, you can make a real product bet on unbanked/cash-preferring customers and installment (MSI) messaging at checkout rather than assuming card-only conversion.
  • Support and ops staffing. Whether you need payment-ops headcount depends on how much of the flow (refunds, chargebacks, antifraud whitelists/blacklists, webhook reconciliation) you build around this SDK — the package gives you callable endpoints, not operational workflows.
  • Vendor concentration risk. Committing to Conekta is a processor decision, not just a library decision. This package makes it frictionless to start with Conekta and correspondingly costly to leave; decide deliberately whether a gateway-abstraction seam is worth the extra week.
  • Dependency/supply-chain policy. A VCS-based *@dev install directive is a policy decision (reproducible builds, lockfile discipline, security review), not a detail to leave to whoever writes the first PR.

When to Consider This Package

Adopt-worthy signals:

  • Conekta is the chosen processor — typically because you have a Mexican entity, need local acquiring, MXN settlement, OXXO/SPEI/MSI, or local support.
  • Your stack is PHP 8.1+ on Composer (Laravel, Symfony, or plain PHP) — this is the vendor's own binding set, generated from their OpenAPI spec, so it will track their API faster than any wrappers.
  • You're time-boxing a market-validation spike or an MVP, and "days to first successful test charge" beats "months to a bespoke integration."
  • You're comfortable owning the wrapper: error taxonomy, idempotency, webhooks, retries, logging of PCI-sensitive payloads.

Look elsewhere when:

  • Conekta isn't the processor. For multi-country LATAM, Mercado Pago or dLocal; for global-first, Stripe/Adyen/Braintree. This is a single-vendor SDK, not a gateway abstraction.
  • You want a community-vetted dependency. 91 stars and 0 dependents (likely because distribution isn't straightforward from Packagist) means effectively no third-party battle-testing, no Stack Overflow corpus, no security research attention. You are the QA team.
  • You want Laravel-native ergonomics. There is no Cashier-equivalent here: no billable trait, no migrations, no Blade components, no subscription state machine, no webhook route scaffolding. All of that is yours to build.
  • You need semver guarantees. The README's "*@dev" requirement and VCS repository entry signal an unpinned, unreleased dependency. In production you must resolve/verify Packagist publication or mirror the repo internally with a pinned commit.
  • You need vendor SLAs or indemnification. MIT + generated bindings = no support contract. If payments are revenue-critical, negotiate commercial support with Conekta separately.
  • You need strong typing and IDE-friendly domain models. Generated Model/* classes and generic Api/* instances with Guzzle injection are workable but verbose; expect boilerplate and be prepared for breaking changes between generated versions.

How to Pitch It (Stakeholders)

To executives (one paragraph): Conekta is a leading Mexican payment processor, and this is their official PHP SDK — free, MIT-licensed, and actively released. Adopting it lets us test or launch Mexican payments in weeks instead of months, and it's the only credible way to reach cash-preferring customers via OXXO and bank-transfer customers via SPEI. The catch is that it's a thin, auto-generated client with a small open-source footprint (~90 stars, no downstream dependents), so it removes the integration work but not the product work: checkout UX, webhooks, refunds, reconciliation, and support remain ours. Recommend approving it as a scoped dependency behind an internal payments adapter, with a fixed evaluation window and a go/no-go on MX demand.

To engineering (the honest brief):

  • It's an OpenAPI-generated client: Composer install, PHP 8.1+, Guzzle under the hood, bearer-token auth via Configuration::getDefaultConfiguration().
  • Treat it as a wire protocol, not an architecture. Wrap every call in an internal ConektaGateway interface so we can swap processors and unit-test without HTTP.
  • Do not ship "*@dev" to production. Mirror or pin, commit the lockfile, and add it to our dependency-review list.
  • Own what the SDK doesn't: webhook verification and idempotency keys, retry/backoff on 5xx, structured error mapping to user-facing messages, PII scrubbing in logs, and a reconciliation job against Conekta settlements.
  • Expect generated-model churn on upgrades; pin and upgrade deliberately with contract tests against the sandbox.

Ask: one sprint of engineering (roughly 1–2 weeks for a scoped integration plus adapter and webhook path), a security review of the dependency, and a defined success metric — e.g., first 50 MX transactions processed, or <2% payment failure rate — before committing to a full localization roadmap.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log