spatie/macroable
Add methods to any class at runtime with Spatie’s Macroable trait. Register macros with closures or callables and call them like native methods; macros are bound to the class instance for access to $this. Inspired by Laravel’s Macroable implementation.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| botman/botman | — | 6,160 | 6,189 | 819 | 22K | 9 | 51.6 | 12.1 | MIT | 5 years ago | |
| snoeren-development/laravel-admin-users | — | 2 | 2 | 0 | 24 | 0 | 23.4 | 15.1 | MIT | 2 months ago | |
| spatie/dns | Fetch DNS records in PHP using dig. Query domains for A, AAAA, CNAME, MX, TXT, SRV and more, filter by type(s), and get structured record objects with handy accessors for record details. | 608 | 614 | 99 | 99K | 0 | 35.0 | 35.9 | MIT | 2 weeks ago | |
| spatie/docker | Start and manage Docker containers from PHP. Create and run containers, execute commands inside them, and capture output. Customize behavior like daemonization, auto-cleanup on exit, and privileged mode for more control. | 0 | 486 | — | 5K | — | 20.2 | 15.4 | — | — | |
| spatie/one-package-to-rule-them-all | Pulls in all Spatie packages at once so you don’t have to require them individually. Install via Composer, optionally publish the config, and get the full Spatie “magic” in one go for your Laravel app. | 60 | 60 | 6 | 0 | 0 | 0.8 | — | MIT | 5 years ago | |
| spatie/ray | Send debug output from any PHP app to Ray, Spatie’s desktop debugger. Inspect dumps, arrays, HTML, queries, and more with a consistent API across Laravel and vanilla PHP. Measure performance, pause execution, and keep fast feedback without cluttering logs. | 622 | 625 | 110 | 986K | 0 | 32.8 | 50.7 | MIT | 2 months ago | |
| spatie/ssl-certificate | Retrieve and validate SSL/TLS certificates for any host in PHP. This package fetches certificate details like issuer, validity dates, and expiration status, making it easy to monitor domains and detect upcoming certificate issues in Laravel apps. | 741 | 750 | 137 | 108K | 0 | 16.8 | 29.9 | MIT | 1 year ago | |
| spatie/url | Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. | 739 | 752 | 60 | 413K | 0 | 12.4 | 37.9 | MIT | 2 years ago | |
| tomb1n0/guzzle-mock-handler | Lightweight mock handler for Guzzle to fake HTTP responses in tests. Queue responses, simulate status codes, headers, and body content, and inspect requests without making real network calls—useful for unit/integration testing of API clients. | 3 | 3 | 2 | 1K | 4 | 1.1 | 35.5 | MIT | — |
How can I help you explore Laravel packages today?