Interested in Go/Rust/TypeScript, previously PHP/Laravel
Followers
576
Public Repos
98
Packages
10
Starred
100
Recorded values over time (once-a-day snapshots). Oct 9, 2026 – Nov 7, 2026
Followers & contributions
|
|
Description
|
|
30 days
GitHub star count over the last 30 days (daily snapshots).
|
|
|
License
|
|
|
|---|---|---|---|---|---|---|---|---|
| mpyw/laravel-cached-database-stickiness | Keeps Laravel's read/write database stickiness alive across requests by caching it. After a write, later requests are routed to the primary connection for a set period, preventing stale reads from replicas when using read/write connection splitting. | 83 |
|
12.9 | 32.1 | MIT | 4 months ago | |
| mpyw/eloquent-has-by-non-dependent-subquery | — | 79 |
|
1.5 | 16.5 | MIT | 4 years ago | |
| mpyw/eloquent-has-by-join | — | 23 |
|
1.2 | 12.3 | MIT | 4 years ago | |
| mpyw/laravel-local-class-scope | A tiny Laravel macro that lets you reuse global scope classes as local query scopes. Call User::scoped(ActiveScope::class) or pass constructor arguments, chain scopes, and optionally wrap them in model methods or traits. Includes a PHPStan extension for static analysis. | 23 |
|
14.1 | 33.3 | MIT | 4 months ago | |
| mpyw/compoships-eager-limit | — | 13 |
|
0.3 | 19.8 | MIT | 3 years ago | |
| mpyw/laravel-retry-on-duplicate-key | Automatically retries database operations when a duplicate key error occurs in Laravel. Wrap Eloquent firstOrCreate, updateOrCreate, or insert calls in a retryable transaction to safely handle race conditions and unique constraint conflicts under concurrent writes. | 12 |
|
0.2 | — | MIT | 3 years ago | |
| mpyw/scoped-auth | Scoped authentication for Laravel: assign different guards and user providers to individual route groups, domains, or tenants so Auth resolves the correct user per context. Handy for multi-tenant and multi-domain apps needing per-scope login without global config changes. | 11 |
|
13.2 | 20.5 | MIT | 4 months ago | |
| mpyw/laravel-database-mock | Experimental Laravel package that mocks underlying PDO connections with Mockery, letting you stub SELECT, INSERT, and UPDATE queries and results for fast, database-free tests. Requires PHP 8.2+ and Laravel 11+. | 6 |
|
13.2 | 33.9 | MIT | 4 months ago | |
| mpyw/mockery-pdo | Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. | 3 |
|
5.1 | 34.5 | MIT | 10 months ago | |
| mpyw/unique-violation-detector | Detects and normalizes unique constraint violation errors across MySQL, PostgreSQL, and SQLite. Inspects PDO exceptions and SQLSTATE codes so your PHP/Laravel app can reliably catch duplicate-key errors and handle retries or upserts without brittle driver-specific checks. | 2 |
|
0.0 | 17.2 | MIT | 1 year ago |
How can I help you explore Laravel packages today?