All Projects → spatie → Laravel Blade X

spatie / Laravel Blade X

Licence: mit
Use custom HTML components in your Blade views

Projects that are alternatives of or similar to Laravel Blade X

Laravel View Components
A better way to connect data with view rendering in Laravel
Stars: ✭ 238 (-55.76%)
Mutual labels:  laravel, rendering, components
Laravel Blade Javascript
A Blade directive to export variables to JavaScript
Stars: ✭ 485 (-9.85%)
Mutual labels:  laravel, view, blade
Blade
🔪 A standalone version of Laravel's Blade templating engine for use outside of Laravel.
Stars: ✭ 542 (+0.74%)
Mutual labels:  laravel, view, blade
Laravel Tag Helper
Add powerful HTML tag helpers to your Laravel application
Stars: ✭ 227 (-57.81%)
Mutual labels:  laravel, view
Fortify Ui
Laravel Fortify driven replacement to the Laravel UI package
Stars: ✭ 192 (-64.31%)
Mutual labels:  laravel, blade
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (-63.2%)
Mutual labels:  laravel, blade
blade
🏃 A library for using Laravel Blade templates in WordPlate.
Stars: ✭ 28 (-94.8%)
Mutual labels:  view, blade
render react
Pre-render and mount React components from Ruby
Stars: ✭ 14 (-97.4%)
Mutual labels:  components, view
prax
Experimental rendering library geared towards hybrid SSR+SPA apps. Focus on radical simplicity and performance. Tiny and dependency-free.
Stars: ✭ 18 (-96.65%)
Mutual labels:  view, rendering
Wpemerge
A modern, MVC-powered WordPress as a CMS workflow. 🚀
Stars: ✭ 348 (-35.32%)
Mutual labels:  view, blade
Themevel
Theme and asset management for laravel
Stars: ✭ 278 (-48.33%)
Mutual labels:  laravel, blade
Coreui Free Laravel Admin Template
CoreUI Free Laravel Bootstrap Admin Template
Stars: ✭ 353 (-34.39%)
Mutual labels:  laravel, blade
Laravel Bootstrap Components
Bootstrap components as Laravel components
Stars: ✭ 190 (-64.68%)
Mutual labels:  laravel, blade
Laravel Markdown
A small, lightweight and easy-to-use Laravel package for handling markdown.
Stars: ✭ 185 (-65.61%)
Mutual labels:  laravel, blade
Shopper
An eCommerce administration built with Laravel 5 for create online shop.
Stars: ✭ 205 (-61.9%)
Mutual labels:  laravel, blade
Blade Heroicons
A package to easily make use of Heroicons in your Laravel Blade views.
Stars: ✭ 173 (-67.84%)
Mutual labels:  laravel, blade
Base
YASCMF 基础开发版(YASCMF/BASE)
Stars: ✭ 162 (-69.89%)
Mutual labels:  laravel, blade
Blade Extensions
Laravel Blade Extension Classes for Laravel 5
Stars: ✭ 136 (-74.72%)
Mutual labels:  laravel, blade
Jigsaw
Simple static sites with Laravel’s Blade.
Stars: ✭ 1,823 (+238.85%)
Mutual labels:  laravel, blade
kirby-blade
Enable Laravel Blade Template Engine for Kirby 3
Stars: ✭ 20 (-96.28%)
Mutual labels:  view, blade

Notice

We have abandoned this package because Laravel 7 introduced native support for Blade-X style components.

Only use this package if you're on Laravel 6 or below.

When upgrading to Laravel 7 you should convert your Blade X components to native Laravel Blade components

Supercharged Blade components

Latest Version on Packagist GitHub Workflow Status Quality Score StyleCI Total Downloads

This package provides an easy way to render custom HTML components in your Blade views.

Here's an example. Instead of this

<h1>My view</h1>

@include('myAlert', ['type' => 'error', 'message' => $message])

you can write this:

<h1>My view</h1>

<my-alert type="error" :message="$message" />

You can place the content of that alert in a simple Blade view that needs to be registered before using the my-alert component.

{{-- resources/views/components/myAlert.blade.php --}}

<div class="{{ $type }}">
   {{ $message }}
</div>

Installation

You can install the package via Composer:

composer require spatie/laravel-blade-x

The package will automatically register itself.

Documentation

You'll find the documentation on https://docs.spatie.be/laravel-blade-x/v2/introduction.

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving the media library? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.

Upgrading major versions

Please see UPGRADING for more information on how to upgrade from one major version to the other.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Postcardware

You're free to use this package, but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.

We publish all received postcards on our company website.

Credits

Support us

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

License

The MIT License (MIT). Please see License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].