Blade

screenshot of Blade

Blade

View template engine of PHP extracted from Laravel

Overview:

Blade is a view templating engine that is extracted from Laravel. It is an independent engine and does not rely on Laravel's Container or any other dependencies.

Features:

  • View Templating: Blade allows for easy creation and rendering of dynamic views.
  • Extensibility: Blade can be extended to include additional features and functionalities.
  • Compatibility: Blade is compatible with Laravel projects, allowing for seamless integration.

Installation:

To install the Blade templating engine, follow these steps:

  1. If you have Composer installed, simply run the following command in your terminal:

    composer require illuminate/view
    
  2. If you do not have Composer installed, manually add all the files in the "src" folder to your project folder.

  3. Require the Blade files in your code to use the Blade templating engine:

    require 'path/to/src/Blade.php';
    require 'path/to/src/Compiler.php';
    require 'path/to/src/Filesystem.php';
    require 'path/to/src/Factory.php';
    require 'path/to/src/View.php';
    

Summary:

Blade is a standalone view templating engine extracted from Laravel. It offers features such as view templating, extensibility, and compatibility with Laravel projects. To install Blade, use Composer or manually add the necessary files to your project folder.