Use Blade templates without the full Laravel framework

Overview

blade

Use Laravel Blade templates as a standalone component without the full Laravel framework

Full documentation is available at http://duncan3dc.github.io/blade/
PHPDoc API documentation is also available at http://duncan3dc.github.io/blade/api/

release build coverage

Quick Examples

Output the view from /var/www/views/index.blade.php:

use duncan3dc\Laravel\BladeInstance;

$blade = new BladeInstance("/var/www/views", "/var/www/cache/views");

echo $blade->render("index");

There is also a static class available:

use duncan3dc\Laravel\Blade;

echo Blade::render("index");

Read more at http://duncan3dc.github.io/blade/

Changelog

A Changelog has been available since version 2.0.0

Where to get help

Found a bug? Got a question? Just not sure how something works?
Please create an issue and I'll do my best to help out.
Alternatively you can catch me on Twitter

duncan3dc/blade for enterprise

Available as part of the Tidelift Subscription

The maintainers of duncan3dc/blade and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Comments
  • Can't use the

    Can't use the "$this"

    I can't use the $this instance using the blade template engine.

    Example:

    {{ $this->config->item() }}
    {{ $this->session->flashdata() }}
    
    Type: ErrorException
    Message: Call to a member function flashdata() on null
    
    question 
    opened by ghost 6
  • Cache files not automatically refreshed in development, using phpstorm

    Cache files not automatically refreshed in development, using phpstorm

    Hello,

    Thanks for this amazing thing so that I can use it outside of Laravel.

    In development, when I change the blade file and reload the browser, the changes don't immediately show up until I delete all cache files.

    How can I do the immediate change for this?

    Thanks!

    question 
    opened by ospng 6
  • suggestion for configuration

    suggestion for configuration

    First of all, thank you for this wonderful and up-to-date package; it's a gem.

    I realize that there is not much to the package itself to warrant talking to the .env file, but it would be wonderful if the asset shortcut you have provided could take variables (while keeping your prepended defaults for css/js)

    I hope this is a reasonable suggestion because this package serves those us who do not want the full-Laravel treatment. I would like to be able to keep my boilerplate folder structure while making your blade repo my default viewer. Since you have made such a nice addition to blade, I thought to ask.

    Thanks a bunch for your work. It is much appreciated.

    enhancement 
    opened by persianphilosopher 5
  • Parser error on webhost

    Parser error on webhost

    I'm getting the follow error on my webhost, on my localhost everything is okay:

    syntax error, unexpected '.'
    

    And this is triggered in line 63:

    public static function __callStatic($name, array $arguments)
    {
            return static::getInstance()->$name(...$arguments);
    }
    

    Any ideas what could be wrong? Thanks

    question 
    opened by rafaelcanical 5
  • Could not reach BladeInstance->getViewFactory() method

    Could not reach BladeInstance->getViewFactory() method

    Hi, I want to add file extension like these;

    $instance = new BladeInstance($views, $cache); $instance->getViewFactory()->addExtension('blade', 'blade'); $instance->getViewFactory()->addExtension('html', 'php');

    But, that method is protected, and i cant reach it outside of the class. Could you set it to public or add new public method to reach it?

    Thanks.

    enhancement 
    opened by Sc3n3 4
  • throw new InvalidArgumentException(

    throw new InvalidArgumentException("View [$name] not found.");

    Hello,

    Im learning PHP and im following a course via a website. The instructor uses this package for templating. And we learned about using routes controllers etc. Now we switched from Twig -> Blade. And im having a problem.

    This is my BaseController.php

    namespace Nrs\controllers;
    
    use duncan3dc\Laravel\BladeInstance;
    
    class BaseController
    {
        protected $Blade;
    
        public function __construct()
        {
            $this->Blade = new BladeInstance("/views/", "/cache/views/");
        }
    }
    

    And this is my PageController:

    namespace Nrs\controllers;
    
    use duncan3dc\Laravel\BladeInstance;
    class PageController extends BaseController
    {
        public function getShowHomePage()
        {
          echo $this->Blade->render("home");
        }
    }
    

    Im getting the error in my Title of this issue. Getting stuck for ever now. Hope i allowed here to post it. Sorry for my English Tino

    question 
    opened by seth0 4
  • Extend template from another folder

    Extend template from another folder

    Hi, imagine the following folders structure

    └── app/
        ├── layouts/
        │   ├── master.blade.php
        │   └── login.blade.php
        └── packages/
            ├── users/
            │   ├── list.blade.php
            │   └── add.blade.php
            └── products/
                ├── list.blade.php
                └── add.blade.php
    

    I've added booth app/layouts/ and app/packages/ to the Blade instance. When I render products.list without extending it works fine, as well as if I render master or login.

    But when I try to @extends('master') in list.blade.php it doesn't work because it will look only in that folder that it is already in. For example in users folder only.

    How can you achieve this? Cheers.

    question 
    opened by rafaelcanical 4
  • createMatcher is undefined

    createMatcher is undefined

    The latest version of illuminate\view seems to have broken this library. An error is thrown stating createMatcher is undefined in https://github.com/duncan3dc/blade/blob/master/src/Blade.php#L63

    I believe the change can be seen here https://github.com/illuminate/view/compare/742f7db...de5a719

    bug 
    opened by TuckerWhitehouse 3
  • Where are Document this package

    Where are Document this package

    Hi guys,

    I'm can find document this package.

    I'm found some method: ->share() , ->with(), ->make() ... I'm want find full method have into blade this and tutorial .

    Thanks !

    question 
    opened by hoangnamitc 2
  • Non existent variable does not throw ErrorException

    Non existent variable does not throw ErrorException

    Calling a non-existent variable seems not throw any ErrorException.

    {{ $non_existent }}
    

    It just silently running without a thing. Interesting enough, that every non-existent variable got default value of null.

    @if ($non_existent == null)
        <div>It does exist, but null</div>
    @endif
    

    Should it be throw an ErrorException? or is it excpected behaviour?

    question 
    opened by adakbar 2
  • I've got Problem when I try install it with Symfony.

    I've got Problem when I try install it with Symfony.

    I want to try Blade in Symfony instead of Twig. For this I try install your Blade implementation, but I have a problem during installation:

    Problem 1 - Conclusion: remove symfony/symfony v3.1.2 - Conclusion: don't install symfony/symfony v3.1.2 - duncan3dc/blade 2.2.0 requires illuminate/view ~5.1.0 -> satisfiable by illuminate/view[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1 .8]. - duncan3dc/blade 2.2.1 requires illuminate/view ~5.1.0 -> satisfiable by illuminate/view[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1 .8]. - illuminate/view v5.1.1 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.13 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.16 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.2 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.20 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.22 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.25 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.28 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.30 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.31 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.6 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/view v5.1.8 requires illuminate/filesystem 5.1.* -> satisfiable by illuminate/filesystem[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.41, v5.1.6, v5.1.8]. - illuminate/filesystem v5.1.1 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v2 .7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.13 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.16 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.2 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v2 .7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.20 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.22 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.25 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.28 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.30 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.31 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.41 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v 2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.6 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v2 .7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/filesystem v5.1.8 requires symfony/finder 2.7.* -> satisfiable by symfony/finder[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v2 .7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9]. - illuminate/view v5.1.41 requires symfony/debug 2.7.* -> satisfiable by symfony/debug[v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v 2.7.6, v2.7.7, v2.7.8, v2.7.9]. - don't install symfony/finder v2.7.0|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.1|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.10|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.11|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.12|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.13|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.14|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.15|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.16|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.2|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.3|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.4|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.5|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.6|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.7|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.8|don't install symfony/symfony v3.1.2 - don't install symfony/finder v2.7.9|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.0|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.1|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.10|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.11|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.12|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.13|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.14|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.15|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.16|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.2|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.3|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.4|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.5|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.6|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.7|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.8|don't install symfony/symfony v3.1.2 - don't install symfony/debug v2.7.9|don't install symfony/symfony v3.1.2 - Installation request for symfony/symfony (locked at v3.1.2, required as 3.1.*) -> satisfiable by symfony/symfony[v3.1.2]. - Installation request for duncan3dc/blade ^2.2 -> satisfiable by duncan3dc/blade[2.2.0, 2.2.1].

    This is my composer.json

    { "name": "symfony/framework-standard-edition", "license": "MIT", "type": "project", "description": "The "Symfony Standard Edition" distribution", "autoload": { "psr-4": { "": "src/" }, "classmap": [ "app/AppKernel.php", "app/AppCache.php" ] }, "autoload-dev": { "psr-4": { "Tests": "tests/" } }, "require": { "php": ">=5.5.9", "symfony/symfony": "3.1.*", "doctrine/orm": "^2.5", "doctrine/doctrine-bundle": "^1.6", "doctrine/doctrine-cache-bundle": "^1.2", "symfony/swiftmailer-bundle": "^2.3", "symfony/monolog-bundle": "^2.8", "symfony/polyfill-apcu": "^1.0", "sensio/distribution-bundle": "^5.0", "sensio/framework-extra-bundle": "^3.0.2", "incenteev/composer-parameter-handler": "^2.0" }, "require-dev": { "sensio/generator-bundle": "^3.0", "symfony/phpunit-bridge": "^3.0" }, "scripts": { "post-install-cmd": [ "Incenteev\ParameterHandler\ScriptHandler::buildParameters", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget" > ], "post-update-cmd": [ "Incenteev\ParameterHandler\ScriptHandler::buildParameters", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile", "Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget" > ] }, "config": { "platform": { "php": "5.5.9" } }, "extra": { "symfony-app-dir": "app", "symfony-bin-dir": "bin", "symfony-var-dir": "var", "symfony-web-dir": "web", "symfony-tests-dir": "tests", "symfony-assets-install": "relative", "incenteev-parameters": { "file": "app/config/parameters.yml" }, "branch-alias": { "dev-master": "3.1-dev" } } }

    In May be you know how I can solve this problem? Thanks!

    question 
    opened by SmirnovW 2
  • View [categories.create] not found.

    View [categories.create] not found.

    I wanted to display the categories[ ](https://i.stack.imgur.com/hOrjb.png

    And then click on create This page appearsenter image description here I have tried to solve the problem but could not please help

    opened by ahmed-on391 0
  • Improve PHPUnit fixtures and assertions

    Improve PHPUnit fixtures and assertions

    Changed log

    • According to the PHPUnit doc, it should be protected function setUp and protected function tearDown methods.
    • Using the assertTrue to assert expected is true.
    opened by peter279k 0
  • Laravel 7 `x-` Components

    Laravel 7 `x-` Components

    Would be cool to see support for Laravel 7 and it's new x- component syntax.

    https://www.twilio.com/blog/dont-repeat-yourself-html-laravel-7-blade-components-php https://laravel.com/docs/7.x/blade#components

    enhancement 
    opened by marcwiest 1
  • The IDE shows error

    The IDE shows error

    Hello! I am using PHPStorm IDE and installed your library. Now it shows error on the blade page, the doctype is underlined by red:

    @use(App\Models\Menu)
    
    <!DOCTYPE html>
    ...
    

    Also, when i write smth like: {{ Menu::buildMenu($menu) }} in the code below, there is no smart help of IDE as if i write the full path: {{ \App\Models\Menu::buildMenu($menu) }} in the 2nd before method is called - ide shows a list of possible methods. Can this problems be somehow fixed? Thanks.

    question 
    opened by nikiedev 1
Owner
Craig Duncan
Craig Duncan
A package that uses blade templates to control how markdown is converted to HTML inside Laravel, as well as providing support for markdown files to Laravel views.

Install Install via composer. $ composer require olliecodes/laravel-etched-blade Once installed you'll want to publish the config. $ php artisan vendo

Ollie Codes 19 Jul 5, 2021
API Blueprint Renderer for Laravel, customizable via Blade templates

API Blueprint Renderer for Laravel This Laravel package Blueprint Docs renders your API Blueprint. It comes with a standard theme that you can customi

Michael Schmidt-Voigt 225 Sep 16, 2022
A library for using Laravel Blade templates in WordPlate.

A library for using Laravel Blade templates in WordPress/WordPlate. Installation Require this package, with Composer, in the root directory of y

null 28 Nov 28, 2022
Blade UI Kit is a set of renderless components to utilise in your Laravel Blade views

Blade UI Kit is a set of renderless components to utilise in your Laravel Blade views. In all essence, it's a collection of useful utilities, connecting the dots between different parts of the TALL stack. It was made for Blade, Laravel's powerful templating engine.

Blade UI Kit 1.2k Jan 5, 2023
Vim syntax highlighting for Blade templates.

vim-blade Vim syntax highlighting for Blade templates (Laravel 4+). This plugin contributes to vim-polyglot language pack. Installation Using vim-plug

Jason Walton 194 Dec 1, 2022
Create inline partials in your Blade templates with ease

Create inline partials in your Blade templates with ease. This package introduces a new @capture directive that allows you to capture small parts of y

Ryan Chandler 27 Dec 8, 2022
Laravel blade directives and php helpers for serverside rendered content, based on browser window size WITHOUT css

Laravel Window Size and Breakpoints Laravel blade directives and php helpers for server side rendered content, based on browser window size WITHOUT cs

Tina Hammar 7 Nov 23, 2022
Laravel blade directives and php helpers for serverside rendered content, based on browser window size WITHOUT css. Requires Livewire and AlpineJS.

Laravel Livewire Window Size and Breakpoints Laravel blade directives and php helpers for server side rendered content, based on browser window size W

Tina Hammar 15 Oct 6, 2022
Use Laravel's Blade templating engine outside of Laravel.

Use Laravel's Blade templating engine outside of Laravel. This package provides a standalone version of Laravel's Blade templating engine for use outs

Ryan Chandler 22 Jan 2, 2023
A package to easily make use of Iconic icons in your Laravel Blade views.

Blade Iconic A package to easily make use of Iconic icons in your Laravel Blade views. For a full list of available icons see the SVG directory. Iconi

Malik Alleyne-Jones 17 Aug 25, 2022
A package to easily make use of Simple Icons in your Laravel Blade views.

Blade Simple Icons A package to easily make use of Simple Icons in your Laravel Blade views. For a full list of available icons see the SVG directory.

UB Labs 12 Jan 17, 2022
Cagilo - a set of simple components for use in your views Laravel Blade.

Cagilo - a set of simple components for use in your views Laravel Blade. Official Documentation Documentation for Cagilo can be found on its we

Cagilo 151 Dec 6, 2022
A package to easily make use of SVG icons in your Laravel Blade views.

Blade Icons A package to easily make use of SVG icons in your Laravel Blade views. Originally "Blade SVG" by Adam Wathan. Turn... <!-- camera.svg -->

Blade UI Kit 1.7k Jan 2, 2023
A package to easily make use of Iconsax in your Laravel Blade views.

Blade Iconsax A package to easily make use of Iconsax in your Laravel Blade views. This package contains 1.000 icons in 6 diferent styles, a total of

Guilherme Saade 4 Oct 22, 2022
Use Laravel's blade engine as a CLI for rendering files.

Blade CLI Use Laravel's blade engine as a CLI for rendering files. Introduction This package customizes and extends several of the Illuminate\View cla

Sergio Compean 31 Oct 21, 2022
Laravel router extension to easily use Laravel's paginator without the query string

?? THIS PACKAGE HAS BEEN ABANDONED ?? We don't use this package anymore in our own projects and cannot justify the time needed to maintain it anymore.

Spatie 307 Sep 23, 2022
Use ESM with importmap to manage modern JavaScript in Laravel without transpiling or bundling

Introduction Use ESM with importmap to manage modern JavaScript in Laravel without transpiling or bundling. Inspiration This package was inspired by t

Tony Messias 91 Dec 30, 2022
Blade is a simple, yet powerful templating engine provided for the Slim Framework

slim-blade Blade is the default template engine of Laravel. The main advantage of Blade is template inheritance whilst using plain PHP. This package a

Kevin Darren 32 May 24, 2021
In-place pagination without page refresh by using Backbone.js with Laravel PHP framework

Laravel Backbone - based in-place pagination demo Store application See demo at: http://demos.maxoffsky.com/ajax-pagination/ Tutorial at: http://maxof

Maksim Surguy 41 Oct 11, 2022