spatie/pest-plugin-snapshots
Add snapshot testing to Pest. Assert strings, JSON, and more against stored snapshots using helper functions or Pest expectations like toMatchSnapshot(). Built on Spatie’s phpunit-snapshot-assertions for easy, reliable regression testing.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/array-to-xml | Simple PHP utility to convert arrays into XML strings. Supports custom root element names and configurable key handling (e.g., converting spaces to underscores). Ideal for quickly generating XML output from structured array data. | 1,190 | 1,217 | 214 | 2M | 0 | 41.4 | 51.7 | MIT | 3 months ago | |
| spatie/flare-client-php | PHP client for sending errors, exceptions, and stack traces to Flare. Install via Composer, configure your API key, and report incidents from any PHP 8.2+ app. For Laravel integrations, use spatie/laravel-flare. | 177 | 178 | 20 | 4M | 0 | 30.7 | 65.0 | MIT | 3 weeks ago | |
| spatie/icalendar-generator | Generate RFC 5545 iCalendar (.ics) feeds with a fluent PHP API. Create calendars and events (start/end times, summary, metadata) for use in Apple Calendar, Google Calendar, and other clients. Outputs valid iCalendar text ready to serve or download. | 679 | 680 | 62 | 383K | 0 | 34.3 | 44.7 | MIT | 3 weeks ago | |
| spatie/image | Expressive PHP image manipulation by Spatie. Load an image, chain operations like resize/crop, rotate, greyscale, brightness, sharpen, and quality, then save. Supports common formats and integrates cleanly in Laravel or any PHP app. | 1,356 | 1,377 | 138 | 2M | 0 | 39.9 | 51.0 | MIT | 3 weeks ago | |
| spatie/laravel-artisan-dispatchable | Register Laravel jobs as Artisan commands by implementing the ArtisanDispatchable interface. Dispatch queued jobs via CLI (e.g., php artisan process-podcast) so long-running tasks won’t block the scheduler, while remaining runnable from Artisan. | 159 | 160 | 7 | 8K | 0 | 24.6 | 27.7 | MIT | 1 month ago | |
| spatie/laravel-blade-comments | Adds HTML debug comments around every rendered Blade view/component so you can see exactly which template produced each part of the page in your browser dev tools. Also includes request and top-level view info at the top of the document. | 178 | 178 | 12 | 4K | 1 | 26.0 | 22.0 | MIT | 1 month ago | |
| spatie/laravel-data | Define rich, typed data objects once and use them for requests, validation, API resources/transformers, and TypeScript definitions. Create from arrays/requests/models, apply rules automatically, and transform only what’s needed with lazy properties. | 1,720 | 1,726 | 277 | 2M | 13 | 51.1 | 55.8 | MIT | 1 week ago | |
| spatie/laravel-error-share | Adds a “Share” button to Laravel’s local error pages so you can generate a link and send the full exception details to a colleague for quick debugging help. Dev-only install via Composer; no setup needed. | 43 | 43 | 5 | 122K | 0 | 23.5 | 55.9 | MIT | 1 month ago | |
| spatie/laravel-error-solutions | Shows helpful, actionable “solutions” directly on Laravel’s error page, explaining likely causes and fixes. Some solutions are runnable with one click (e.g., generate APP_KEY), speeding up debugging during local development. | 97 | 97 | 8 | 8K | 0 | 22.9 | 31.5 | MIT | 1 month ago | |
| spatie/laravel-event-sourcing | Event sourcing toolkit for Laravel: build aggregates, projectors, and reactors to store state changes as events. Ideal for audit trails, decisions based on history, and future reporting needs. Includes docs, examples, and an optional course. | 900 | 902 | 175 | 151K | 0 | 38.8 | 36.2 | MIT | 1 month ago | |
| spatie/laravel-feed | Generate RSS, Atom, and JSON feeds for your Laravel app with minimal code. Install, register Route::feeds(), configure your feed items, and serve standards-compliant feeds from your application quickly and easily. | 975 | 983 | 102 | 92K | 0 | 37.2 | 32.2 | MIT | 1 month ago | |
| spatie/laravel-google-fonts | Self-host Google Fonts in Laravel with minimal setup. Register Google Fonts CSS URLs, then use the @googlefonts Blade directive to inline locally cached CSS and assets. Automatically downloads on first request, with a safe fallback to Google if needed. | 488 | 492 | 36 | 38K | 0 | 28.0 | 30.8 | MIT | 1 month ago | |
| spatie/laravel-health | Monitor your Laravel app’s health by registering checks (disk space, etc.) with warning/fail thresholds. Get notified via mail or Slack when checks degrade, and extend with custom checks for proactive alerting. | 859 | 868 | 174 | 593K | 0 | 39.4 | 46.1 | MIT | 3 weeks ago | |
| spatie/laravel-honeypot | Protect Laravel forms from spam bots with a simple honeypot + timed submission check. Add the x-honeypot Blade component (or pass values manually for Inertia) and the package will reject requests with filled honeypot fields or unrealistically fast submits. | 1,554 | 1,556 | 108 | 211K | 0 | 40.6 | 34.7 | MIT | 1 month ago | |
| spatie/laravel-livewire-wizard | Lightweight Livewire components for building multi-step wizards in Laravel. Define a wizard with an ordered list of step components, each with its own screen and Livewire logic, and guide users through checkout-style flows with ease. | 406 | 409 | 58 | 55K | 0 | 33.0 | 34.7 | MIT | 1 month ago | |
| spatie/laravel-login-link | Spatie Laravel Login Link adds a Blade component to render one-click login links for seeded users in local development. Great for admin areas and teams: pick a user/role without remembering credentials. Restricts usage by allowed hosts (defaults to localhost). | 438 | 439 | 27 | 67K | 0 | 30.3 | 35.5 | MIT | 1 month ago | |
| spatie/laravel-markdown | Render Markdown in Laravel with a Blade x-markdown component or a configurable MarkdownRenderer. Converts content to HTML with heading IDs, links, and syntax-highlighted code blocks, using options from your config and container resolution. | 405 | 406 | 32 | 185K | 0 | 32.0 | 43.2 | MIT | 1 month ago | |
| spatie/laravel-medialibrary | Attach files to Eloquent models with an easy API. Upload from disk or request, store media across multiple filesystems (local/S3), and generate image/PDF conversions and manipulations using Laravel’s Filesystem. | 6,107 | 6,172 | 1,097 | 2M | 2 | 69.6 | 40.0 | MIT | 1 month ago | |
| spatie/laravel-model-info | Inspect Laravel Eloquent models to discover their file name, table name, attributes (name/type) and relations (name/type/related model). Also includes a ModelFinder to automatically locate all models in your application. | 182 | 183 | 24 | 12K | 0 | 28.6 | 29.7 | MIT | 1 month ago | |
| spatie/laravel-navigation | Define a navigation tree for Laravel apps and reuse it to build menus, breadcrumbs, and other nav UI. Manage sections, nested items, and active state in PHP, register navigation via service providers/container events, and render however you like. | 572 | 575 | 32 | 41K | 0 | 25.6 | 30.2 | MIT | 1 year ago | |
| spatie/laravel-open-telemetry | Add OpenTelemetry tracing to Laravel to measure performance and follow requests across dispatched jobs and services. Export traces to tools like Jaeger or Aspecto for end-to-end visibility and debugging. (Package still in development.) | 182 | 183 | 22 | 5K | 0 | 12.4 | 21.9 | MIT | 1 year ago | |
| spatie/laravel-pdf | Generate PDFs in Laravel from Blade views with a fluent API. Choose drivers like Chromium (Browsershot), Gotenberg, Cloudflare, WeasyPrint, or DOMPDF. Save to disk or return as a response, with support for modern CSS and paged media. | 997 | 998 | 90 | 346K | 0 | 36.7 | 41.3 | MIT | 1 week ago | |
| spatie/laravel-prometheus | Export Laravel app metrics to Prometheus via a /prometheus endpoint. Register custom gauges/counters with simple callbacks, use built-in queue and Horizon metrics, and optionally secure the endpoint. Ideal for scraping by Prometheus and charting in Grafana. | 266 | 263 | 40 | 108K | 0 | 28.7 | 42.4 | MIT | 1 month ago | |
| spatie/laravel-ray | Send Laravel debug output to Ray, Spatie’s desktop debugger. Use a consistent “ray()” API to inspect variables, arrays, HTML, queries, and more, measure performance, and pause execution. Works alongside PHP, JS, and other integrations. | 315 | 320 | 72 | 867K | 1 | 33.5 | 55.9 | MIT | 1 month ago | |
| spatie/laravel-remote | Run Laravel Artisan commands on remote servers over SSH. Configure one or more hosts (default host, user, port, path, optional private key) and execute tasks like cache clears via php artisan remote ..., with optional confirmation prompts. | 283 | 285 | 34 | 4K | 0 | 27.5 | 18.7 | MIT | 1 month ago | |
| spatie/laravel-schedule-monitor | Monitor Laravel scheduled tasks by logging each run’s start, finish, failure, or skip to the database. Use an Artisan list command to see execution history and spot issues. Optional Oh Dear sync alerts you when tasks fail or don’t run on time. | 982 | 986 | 73 | 235K | 0 | 36.7 | 38.7 | MIT | 2 weeks ago | |
| spatie/laravel-settings | Store strongly typed app settings in Laravel using dedicated Settings classes backed by databases, Redis, and more. Inject settings via the container, read and update properties, then save—keeping configuration structured, testable, and easy to manage. | 1,478 | 1,484 | 135 | 383K | 1 | 41.2 | 39.3 | MIT | 3 weeks ago | |
| spatie/laravel-sitemap | Generate XML sitemaps for Laravel automatically by crawling your site or building them manually. Add URLs, models, lastmod/changefreq/priority, images and alternates, then write to file or disk. Supports sitemap index and large sites. | 2,588 | 2,615 | 296 | 570K | 0 | 51.7 | 38.1 | MIT | 4 weeks ago | |
| spatie/laravel-support-bubble | Add a non-intrusive support chat bubble to any Laravel page. Opens a Tailwind-styled support form, auto-fills user info when logged in, includes URL/IP metadata, honeypot spam protection, and is easily customizable via views, translations, and events. | 391 | 394 | 29 | 9K | 0 | 31.0 | 22.7 | MIT | 1 month ago | |
| spatie/laravel-support-form | Add a non-intrusive Tailwind-styled support chat bubble to any Laravel page. Opens a support form, auto-fills user info when logged in, includes URL/IP metadata, honeypot spam protection, and is easily customizable via views, translations, and events. | 391 | 392 | 29 | 0 | 0 | 31.0 | — | MIT | 1 month ago | |
| spatie/laravel-typescript-transformer | Convert PHP classes, enums, and more into TypeScript types automatically in Laravel. Mark PHP code with attributes, handle complex types and generics, and generate TS-friendly definitions (and even functions) to keep frontend types in sync. | 373 | 370 | 32 | 354K | 0 | 31.6 | 48.4 | MIT | 3 weeks ago | |
| spatie/lighthouse-php | Run Google Lighthouse audits from PHP. Test any URL and retrieve category scores (performance, accessibility, SEO, etc.) and individual audit details. Configure headers, user agent, categories, CPU throttling, and max load wait, then run and parse results. | 266 | 266 | 32 | 4K | 0 | 29.6 | 19.4 | MIT | 4 months ago | |
| spatie/shiki-php | PHP wrapper around Shiki for server-side syntax highlighting. Highlight code snippets to themed HTML using VS Code grammars, with support for many languages and themes. Great for docs, blogs, and static site generation in Laravel or any PHP app. | 307 | 309 | 32 | 2M | 0 | 29.7 | 60.1 | MIT | 2 months ago | |
| spatie/sidecar-shiki | Run Shiki syntax highlighting on AWS Lambda via Sidecar from your Laravel app—no Node.js or Shiki dependencies on your server. Install the package, configure Sidecar, register the HighlightFunction, and render highlighted code fast and consistently. | 36 | 36 | 1 | 0 | 0 | 22.4 | — | MIT | 1 year ago | |
| spatie/simple-excel | Lightweight reader/writer for simple CSV and XLSX files in PHP/Laravel. Uses generators and LazyCollection for low memory usage on large files. Quickly stream rows for processing or export data without loading entire spreadsheets into memory. | 1,349 | 1,349 | 138 | 447K | 0 | 39.9 | 41.0 | MIT | 1 month ago | |
| spatie/ssh | Execute commands over SSH with a simple PHP API. Create a connection with user/host (and optional port), run single or multiple commands synchronously or async, and get a Symfony Process back to inspect success and capture output. | 832 | 840 | 84 | 78K | 0 | 34.8 | 32.1 | MIT | 4 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 | 751 | 137 | 116K | 0 | 36.8 | 35.7 | MIT | 11 months ago | |
| spatie/statamic-responsive-images | Statamic addon that generates responsive images and variants on demand. Includes a “responsive” fieldtype for art-directed images with configurable breakpoints, ratios, and fit options, plus an Antlers tag to render the correct sources for each breakpoint. | 113 | 113 | 34 | 4K | 1 | 30.8 | 24.6 | MIT | 1 month ago | |
| spatie/typescript-transformer | Convert your PHP and Laravel types into TypeScript automatically. spatie/typescript-transformer scans classes, enums, and DTOs, then generates matching TS definitions to keep front-end types in sync with your backend and reduce duplication. | 372 | — | 54 | — | 3 | 24.5 | 1.8 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?