spatie/laravel-disable-floc
Automatically disables Google’s FLoC in Laravel apps by adding a Permissions-Policy header. Installs via Composer and works out of the box—no configuration needed. Applies the header to responses that don’t already set Permissions-Policy.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-google-fonts | 0.80 | Self-host Google Fonts in Laravel with minimal setup. Register Google Fonts CSS URLs in config and load them via the @googlefonts Blade directive. On first request it downloads CSS/assets, caches locally, inlines CSS, and falls back to Google if needed. | 491 | 494 | 37 | 52K | 0 | 26.8 | 32.2 | MIT | 1 month ago | |
| spatie/laravel-flash | 0.79 | Lightweight Laravel package for flashing a single message to the next request via session. Use flash('Message', 'optional-class') in controllers and read flash()->message and flash()->class in your Blade views to display and style it. | 669 | 671 | 33 | 38K | 0 | 24.4 | 27.3 | MIT | 3 months ago | |
| spatie/laravel-varnish | 0.79 | Integrate Varnish 4/5 with Laravel: add middleware to force-cache selected routes and flush/purge the Varnish cache from within your app. Includes simple configuration and supports Laravel and Lumen. | 0 | 418 | — | 3K | — | 25.2 | 13.7 | — | — | |
| spatie/laravel4-googletagmanager | 0.78 | Abandoned Laravel 4 package for integrating Google Tag Manager. Provides a facade/service provider to manage the GTM dataLayer and include the container code in your app. For Laravel 5+, use spatie/laravel-googletagmanager. | 14 | 14 | 2 | 1 | 0 | 0.1 | 0.3 | MIT | — | |
| spatie/laravel-options | 0.78 | Generate unified select option lists in Laravel from enums, Eloquent models, states, and arrays. Spatie laravel-options converts sources to a consistent label/value structure, supports customization via config, and makes building dropdowns and filters faster and cleaner. | 251 | 254 | 9 | 16K | 0 | 22.3 | 28.8 | MIT | 1 month ago | |
| spatie/laravel-data | 0.78 | Create rich, typed data objects for Laravel that replace form requests and API transformers. Automatically map from requests, validate with inferred rules, transform to resources (with lazy/partial fields), and generate TypeScript definitions from the same source. | 1,757 | 1,760 | 282 | 2M | 3 | 47.5 | 49.2 | MIT | 4 weeks ago | |
| spatie/laravel-googletagmanager | 0.78 | Laravel package for easy Google Tag Manager integration. Manage the JavaScript dataLayer from PHP, push variables and events, and include GTM scripts cleanly in your app with simple configuration and helpers. | 443 | 450 | 59 | 80K | 0 | 26.4 | 35.2 | MIT | 3 months ago | |
| pragmarx/google2fa-laravel | 0.78 | Laravel bridge for pragmarx/google2fa: generate QR codes and verify HOTP/TOTP (RFC 4226/6238) two-factor authentication codes compatible with Google Authenticator and similar apps. Includes config, middleware-friendly integration, and optional recovery codes via separate package. | 1,048 | 1,055 | 195 | 676K | 57 | 27.7 | 56.0 | MIT | 6 years ago | |
| spatie/laravel-robots-middleware | 0.78 | Laravel middleware to control search engine indexing via X-Robots-Tag/robots meta behavior. Extend the base middleware and implement shouldIndex() to allow or block indexing per request (e.g., disable for admin routes), without changing your views. | 0 | 336 | — | 52K | — | 21.2 | 34.1 | — | — | |
| spatie/laravel-missing-page-redirector | 0.78 | Automatically redirect 404 (missing) pages in Laravel to preserve SEO during site migrations. Configure old-to-new URL redirects in a config file or implement a custom redirector (e.g., database-backed) via middleware in your global stack. | 510 | 512 | 35 | 31K | 0 | 27.0 | 27.8 | MIT | 3 months ago | |
| cresjie/ip-blocker | 0.78 | Simple Laravel 5 IP blocker. Install via Composer, publish config, and list blocked IPs in config/cresjie/block-ip.php. When a request matches, it throws IpBlockerException so you can render a custom “blocked” view in your exception handler. | 3 | 3 | 0 | 0 | 0 | 0.9 | — | MIT | 9 years ago | |
| spatie/laravel-route-discovery | 0.77 | Automatically discover Laravel routes by scanning controllers and views instead of manually defining them. Configure discovery in your routes files and use PHP attributes to customize names, middleware, and more for each discovered route. | 239 | 237 | 29 | 2K | 0 | 26.5 | 16.0 | MIT | 2 months ago | |
| spatie/laravel-cors | 0.77 | Adds configurable CORS support to Laravel/Lumen: sets CORS headers on responses, handles preflight requests, and lets you define allowed origins, methods, headers, and credentials via middleware and config. Abandoned since Laravel 7+ has native CORS support. | 597 | 613 | 56 | 5K | 0 | 6.2 | 9.4 | MIT | 4 years ago | |
| devrabiul/laravel-cookie-consent | 0.77 | GDPR-compliant cookie consent for Laravel with one-click setup and no frontend dependencies. Fully customizable banners with RTL/i18n, dark mode, responsive UI, and granular category controls (necessary/analytics/marketing) for enterprise-grade compliance. | 180 | 181 | 15 | 8K | 3 | 19.3 | 27.8 | MIT | 3 months ago | |
| whitecube/laravel-cookie-consent | 0.77 | — | 495 | 496 | 62 | 47K | 19 | 38.7 | 44.4 | MIT | 1 week ago | |
| aferrandini/disable-bundle | 0.77 | Symfony bundle that adds annotations to disable controllers/actions immediately or within a time window (after/until/range). When disabled, it can show a custom message or redirect the request to another route. | 4 | 4 | 0 | 0 | 0 | 0.3 | — | — | 12 years ago | |
| 14four/laravel-force-https | 0.76 | Laravel middleware package to force HTTPS across your app. Automatically redirects HTTP requests to HTTPS, with options to exclude paths or environments so you can keep local/testing flexible while enforcing secure connections in production. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| fideloper/proxy | 0.76 | Laravel middleware for trusting reverse proxies and correctly handling forwarded headers (X-Forwarded-For/Proto/Host/Port). Ensures accurate client IP and HTTPS detection when running behind load balancers like ELB, Nginx, or Cloudflare. | 7,312 | 7,337 | 129 | 702K | 1 | 34.6 | 28.9 | MIT | 3 years ago | |
| c2is/cookie-bundle | 0.76 | — | 1 | 1 | 1 | 0 | 0 | 0.0 | — | NOASSERTION | — | |
| leknoppix/laravel-cloudflare | 0.76 | — | 0 | 0 | 0 | 189 | 0 | 0.3 | 31.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?