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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | 615 | 100 | 92K | 0 | 35.0 | 35.5 | MIT | 4 months 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. | 480 | 480 | 57 | 5K | 0 | 30.4 | 16.5 | MIT | 4 months ago | |
| 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 | 20.8 | — | MIT | 5 years ago | |
| spatie/ray | Send debug output from any PHP app to Ray, Spatie’s desktop debugging tool. Inspect arrays, HTML, queries, and more with a consistent API across Laravel/PHP/JS. Measure performance, pause execution, and keep fast, interactive feedback. | 622 | 625 | 110 | 958K | 2 | 36.4 | 51.8 | MIT | 1 week 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 | 751 | 137 | 116K | 0 | 36.8 | 35.7 | MIT | 11 months 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 | 753 | 60 | 439K | 0 | 32.4 | 45.1 | 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 | 2K | 4 | 1.1 | 37.9 | MIT | — |
How can I help you explore Laravel packages today?