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-blade | 0.87 | 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 | 4 | 0 | 10.9 | 0.5 | MIT | 8 years ago | |
| spatie/laravel-blade-comments | 0.84 | 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 | |
| laracasts/utilities | 0.83 | 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,205 | 2,237 | 213 | 131K | 17 | 47.0 | 38.8 | MIT | 1 month ago | |
| spatie/server-side-rendering | 0.82 | 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. | 627 | 631 | 35 | 9K | 0 | 26.3 | 19.4 | MIT | 4 months ago | |
| spatie/laravel-html | 0.82 | 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. | 827 | 837 | 102 | 354K | 0 | 36.5 | 42.8 | MIT | 1 month ago | |
| spatie/laravel-markdown | 0.82 | 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-server-side-rendering | 0.81 | Laravel bridge for spatie/server-side-rendering to render JavaScript apps on the server. Provides an ssr() Blade helper/alias to execute server bundles (e.g., Vue/React) and return HTML for faster first paint and SEO-friendly pages. | 673 | 672 | 62 | 6K | 0 | 30.0 | 15.9 | MIT | 1 month ago | |
| illuminate/view | 0.81 | Illuminate View is Laravel’s templating and view rendering component. It compiles and renders Blade templates, manages view composers and shared data, supports view discovery, caching, and engines, and integrates cleanly with the rest of the Illuminate framework. | 131 | 141 | 50 | 657K | 0 | 2.2 | 51.1 | MIT | — | |
| spatie/laravel-blade-x | 0.81 | 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. | 520 | 530 | 36 | 339 | 0 | 16.0 | 3.5 | MIT | 6 years ago | |
| spatie/menu | 0.81 | Fluent, extensible menu builder for Laravel. Compose navigation with a clean API, render as HTML, and customize output via presenters and macros. Supports active state handling, links, submenus, and easy integration with Blade and your app’s routing. | 759 | 768 | 102 | 45K | 0 | 35.9 | 28.9 | MIT | 9 months ago | |
| spatie/browsershot | 0.80 | Render web pages (URLs or HTML) to images or PDFs from PHP/Laravel using headless Chrome via Puppeteer. Save screenshots/PDFs, render local HTML files, extract post-JS body HTML, and inspect requests triggered by a page. | 5,196 | 5,253 | 508 | 1M | 0 | 69.3 | 39.2 | MIT | 1 month ago | |
| spatie/laravel-export | 0.80 | Export a Laravel app as a static site bundle. Crawls your routes to generate HTML for every URL and copies your public assets into an export folder, ready to upload to Netlify or any static host—keep Laravel tools locally while deploying static. | 659 | 659 | 62 | 5K | 0 | 32.2 | 14.8 | MIT | 1 month ago | |
| spatie/laravel-view-components | 0.80 | 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. | 237 | 238 | 22 | 77 | 0 | 12.4 | 2.0 | MIT | 6 years ago | |
| spatie/shiki-php | 0.79 | 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 |
How can I help you explore Laravel packages today?