spatie/laravel-blade-javascript
Adds a simple @javascript Blade directive to export PHP values to JavaScript by writing them to window in a script tag. Use @javascript('key','value') and access it in the browser as key/value for quick server-to-client data sharing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-visit | 0.95 | Adds a php artisan visit command to quickly hit any route in your Laravel app and inspect the response. Shows colorized HTML or JSON output plus request results, with options like visiting by route name and logging in a user before the request. | 159 | 160 | 9 | 756 | 0 | 11.0 | 11.1 | MIT | 7 months ago | |
| spatie/laravel-html | 0.92 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 829 | 839 | 102 | 569K | 0 | 22.4 | 41.2 | MIT | 8 months ago | |
| spatie/laravel-blade-x | 0.90 | Blade-X brings Blade-style HTML components to Laravel 6 and below, letting you use tags like instead of @include. Package is abandoned because Laravel 7+ has native Blade components; migrate when upgrading. | 518 | 530 | 35 | 1K | 0 | 6.0 | 4.9 | MIT | 6 years ago | |
| spatie/laravel-blade | 0.89 | Add Blade to any PHP project with the standalone Blade engine from Spatie. Compile and render Blade templates outside Laravel, with an easy API, caching support, and configurable view paths—ideal for small apps, packages, or custom tooling. | 55 | 54 | 10 | 0 | 0 | 0.9 | — | MIT | 9 years ago | |
| spatie/laravel-data | 0.88 | Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. | 1,801 | 1,815 | 293 | 4M | 6 | 51.4 | 63.7 | MIT | 1 week ago | |
| spatie/laravel-export | 0.87 | Laravel Export scans your Laravel app, renders every crawled URL to HTML, and bundles the public directory into a static site saved to disk. Build blogs or sites with familiar Laravel tools, then upload the export to Netlify, GitHub Pages, or any static host—no server required. | 698 | 700 | 63 | 11K | 0 | 32.6 | 19.8 | MIT | 1 week ago | |
| laracasts/utilities | 0.86 | A collection of practical helpers and utilities from Laracasts for Laravel/PHP projects. Includes common convenience functions and small classes that streamline day-to-day development, reduce boilerplate, and support cleaner, more expressive code across your app. | 2,199 | 2,232 | 209 | 154K | 17 | 32.9 | 35.1 | MIT | 8 months ago | |
| spatie/laravel-flash | 0.86 | 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. | 680 | 684 | 31 | 90K | 0 | 15.9 | 30.9 | MIT | 8 months ago | |
| spatie/laravel-pdf | 0.86 | Create PDFs in Laravel apps from Blade views using Chromium (Browsershot, chrome-php), Gotenberg, Cloudflare Browser Run, WeasyPrint, or DOMPDF. Save to disk or return as a download, with full control over page format and modern CSS. | 1,055 | 1,054 | 107 | 1M | 0 | 39.0 | 50.0 | MIT | 1 month ago | |
| spatie/laravel-view-components | 0.86 | Abandoned package. Provides a “view components” pattern for Laravel: classes implementing Htmlable that encapsulate view-related logic and render HTML (often via Blade). Use @render to pass data, and wrap third‑party HTML builders like menus. | 236 | 238 | 22 | 165 | 0 | 2.4 | 2.2 | MIT | 6 years ago | |
| spatie/string | 0.85 | spatie/string is a PHP package for fluent, chainable string handling. Wrap any native string with the string() helper, then chain methods like between, toUpper, and toLower, or use array-style offsets to read and modify individual characters easily. | 559 | 570 | 26 | 20K | 0 | 19.3 | 23.3 | MIT | 6 months ago | |
| spatie/server-side-rendering | 0.85 | Render JavaScript server-side from PHP with minimal setup. Works with any SSR-capable framework, supports V8Js or a Node-based engine, and lets you execute an entry script to return rendered HTML—ideal for adding SSR to existing PHP apps. | 633 | 638 | 34 | 12K | 0 | 7.3 | 18.0 | MIT | 11 months ago | |
| spatie/laravel-support-bubble | 0.85 | 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. | 395 | 398 | 26 | 12K | 0 | 17.0 | 21.7 | MIT | 8 months ago | |
| spatie/laravel-csp | 0.85 | Spatie's Laravel CSP package makes it easy to set Content Security Policy headers in Laravel apps with configurable policies and directives. It helps restrict which sites scripts can contact, reducing risks from malicious or compromised JavaScript dependencies. | 871 | 880 | 103 | 859K | 0 | 39.1 | 48.6 | MIT | 1 day ago | |
| spatie/laravel-webhook-client | 0.85 | Receive webhooks in Laravel apps with signature verification, payload storage, and queued processing. Handle incoming HTTP calls securely and dispatch jobs so your app processes webhook events reliably. | 1,207 | 1,213 | 157 | 940K | 0 | 35.8 | 45.1 | MIT | 3 months ago | |
| spatie/laravel-markdown-blade-component | 0.85 | Spatie's Laravel Markdown Blade Component lets you render Markdown directly in Blade views using a simple component. Built on CommonMark, it supports GitHub-flavored Markdown, caching, and safe HTML output, making it ideal for blogs, docs, and user-generated content. | 415 | — | 31 | — | 0 | 9.6 | — | MIT | 8 months ago | |
| spatie/laravel-blade-comments | 0.85 | Spatie's Laravel Blade Comments package wraps each rendered Blade view and component in HTML comments, so browser dev tools immediately reveal which view produced which markup, plus extra request info at the top of the document. | 180 | 180 | 13 | 4K | 0 | 15.6 | 20.5 | MIT | 6 months ago | |
| spatie/html-element | 0.85 | Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. | 192 | 195 | 23 | 1K | 0 | 3.5 | 12.0 | MIT | 4 years ago | |
| spatie/laravel-pjax | 0.85 | Laravel middleware that detects PJAX (X-PJAX) requests and returns only the expected HTML fragments instead of full pages, enabling faster navigation with jquery-pjax. Simple composer install and add FilterIfPjax to your HTTP kernel. | 513 | 523 | 48 | 8K | 0 | 17.6 | 17.7 | MIT | 8 months ago | |
| spatie/our-ray | 0.85 | Send Ray (myray.app) debug payloads to the cloud using ourray.app. Install via Composer and use the our() helper to forward any ray() calls: our()->ray('my debug data'); Great for sharing logs and debugging output across environments and teams. | 1 | 1 | 0 | 0 | 0 | 8.5 | — | MIT | 7 months ago |
How can I help you explore Laravel packages today?