helsingborg-stad/global-blade-engine
Larablocks Analysis
helsingborg-stad/global-blade-engine works with Laravel 8 (latest release 4.0.2, Jan 31, 2024), which reached end of life on Jan 24, 2023: no more fixes, even for security.
Laravel 5 in earlier releases.
Recommendation checks
Use with careUse with care: meets 0 of 4 checks.
- Supports only Laravel 8, past end of life since Jan 24, 2023
- No release in the last 12 months (last: Jan 31, 2024)
- 21 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Quiet- Last stable release: Jan 31, 2024.
- No releases in the last 12 months.
- First released: Apr 12, 2019.
- Monthly downloads: 21.
- 1 open issue on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 29, 2026.
| Install | |
|---|---|
composer require helsingborg-stad/global-blade-engine |
|
| Latest Version: | 4.0.2 |
| PHP: | ^8.3 |
| Laravel: | 8 |
| Older releases: | 5 |
| License: | MIT |
| Last Updated: | Jan 9, 2025 |
| Links: | GitHub · Packagist |
Global Blade Engine
Creates a single instance of benjamincrozat/blade to be used in multiple packages and project running side-by-side.
Known issues
- View names must be unique to whole project. For now the solution is to set view path one level above the target dir and make the name unique. You calls to view will be prefixed with this folder name. Eg. @include("uniquename.viewname")
Getting started
Recommended method of usage is with composer. Add the requirement below, to enable a new set of awesome features.
composer reqire helsingborg-stad/global-blade-engine
Example usage (register a component)
use \HelsingborgStad\GlobalBladeEngine as Blade;
Blade::addViewPath(BASEPATH . 'views');
echo Blade::instance()->make($view, $data)->render();
Developer mode
Add the following CONSTANT to your config file to clear the blade cache while in development mode:
define( 'GLOBAL_BLADE_ENGINE_CLEAR_CACHE' , true );
Built With
- Laravel Blade 5.8 based on standalone version benjamincrozat/blade
Dependencies
- PHP ^8.3
Releases
https://github.com/helsingborg-stad/blade-component-library/releases
Authors
- Sebastian Thulin
License
This project is licensed under the MIT License - see the LICENSE file for details
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 4.0.2 | ^8.3 | ^8.83.27 | MIT | |
| 4.0.1 | ^8.3 | ^8.83.27 | MIT | |
| 4.0.0 | ^8.3 | ^8.83.27 | MIT | |
| 2.0.0 | ^5.8.36 | MIT | ||
| 1.3.0 | ^5.8.36 | MIT | ||
| 1.2.5 | ^5.8.36 | MIT | ||
| 1.2.3 | ^5.8.36 | MIT | ||
| 1.2.2 | MIT | |||
| 1.2.1 | MIT | |||
| 1.2.0 | MIT | |||
| 1.0.0 | MIT |