Arturo Hernández

Open-source packages for Laravel and PHP

Battle-tested Composer packages — money, state machines, circuit breakers, feature flags and more.

16 packages0250

Role and permission management for Laravel with a MongoDB backend

composer require webrek/laravel-mongo-permission
088v1.7.0PHP ^8.2
View docs →

Native MongoDB storage driver for Laravel Telescope.

composer require webrek/laravel-telescope-mongodb
048v1.3.0PHP ^8.3
View docs →

Safe request retries for Laravel APIs via the Idempotency-Key header.

composer require webrek/laravel-idempotency
044v1.2.0PHP ^8.2
View docs →

Declarative state machines for Eloquent models with guards, events and transition history.

composer require webrek/laravel-state-machine
034v1.2.0PHP ^8.2
View docs →

A circuit breaker for Laravel: stop hammering a failing dependency, fail fast, and recover automatically.

composer require webrek/laravel-circuit-breaker
032v1.0.0PHP ^8.2
View docs →

Framework-agnostic PHP client for Supabase (database, auth, storage, edge functions, realtime).

composer require webrek/supabase-php
04v1.0.0PHP ^8.3
View docs →
arcoLaravel

Framework-agnostic ARCO data-subject requests and a consent ledger for Mexico's LFPDPPP, with an optional Laravel bridge (Eloquent, facades, migrations).

composer require webrek/arco
00v1.0.0PHP ^8.2
View docs →

Declarative data retention for Laravel: keep records for a window, then delete or anonymize them automatically — with a compliance audit log.

composer require webrek/laravel-data-retention
00v1.0.0PHP ^8.2
View docs →

Feature flags for Laravel with percentage rollouts, rule-based targeting and A/B variants.

composer require webrek/laravel-feature-flags
00v1.2.0PHP ^8.2
View docs →

A production health dashboard for Laravel: pluggable checks, a JSON endpoint for uptime monitors and a status page.

composer require webrek/laravel-health-ui
00v1.2.0PHP ^8.2
View docs →

An immutable money value object for Laravel with safe arithmetic, allocation and Eloquent casting.

composer require webrek/laravel-money
00v1.3.0PHP ^8.2
View docs →

Filament v3 panel resources for webrek/laravel-mongo-permission

composer require webrek/laravel-mongo-permission-filament
00v1.1.0PHP ^8.2
View docs →

Transactional outbox for Laravel: stage messages inside your database transaction and relay them reliably with retries and backoff.

composer require webrek/laravel-outbox
00v1.2.0PHP ^8.2
View docs →

Validate and generate Mexican identifiers — RFC, CURP, CLABE, NSS and código postal — with real check-digit verification. Framework-agnostic core with an optional Laravel bridge (rules, casts, Faker).

composer require webrek/mx-validation
00v1.0.0PHP ^8.2
View docs →
sagaLaravel

Orchestration-based sagas for PHP: run multi-step processes and roll them back with per-step compensations when one fails. Framework-agnostic core with an optional Laravel bridge.

composer require webrek/saga
00v1.0.0PHP ^8.2
View docs →

Native byte-level BPE (tiktoken-compatible: cl100k_base/o200k_base) plus WordPiece and Unigram tokenizers for PHP 8.3+, with a process-shared vocab cache. Loads HuggingFace tokenizer.json models and counts Claude/Gemini tokens via their APIs.

composer require webrek/tokenizers
00v0.1.0PHP >=8.3
View docs →