Download the PHP package moazamin6/creative-blade without Composer
On this page you can find all versions of the php package moazamin6/creative-blade. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package creative-blade
Creative PHP Blade Template Engine
Full compatible to every php application standalone laravel's blade modify on illuminate/view v6.10.0
Installation
Install using composer:
Usage
Create a Blade instance by passing it the folder(s) where your view files are located, and a cache folder. Render a template by calling the make
method. More information about the Blade templating engine can be found on https://laravel.com/docs/7.x/blade.
In every other standalone blade template package there is a problem that you can not use $this keyword to access your native application features for example if you want to implement blade template in your existing codeigniter application in views files you access your sessions like
$this->session
if you convert your views to blade then your application will crash in this scenario so I modify actual illuminate/view
package of laravel to solve this problem and I also use existing standalone package coolpraz/php-blade
so here you can send you data object that you want to access in view like this
I will use codeigniter default instance
Now you can easily create a directive by calling the compiler()
function
The Blade instances passes all methods to the internal view factory. So you can use all blade features as described in the Blade documentation, please visit site for more information.
Integrations
You can use PHP Blade with any framework, vanilla php script or can be use developing any plugins for CMS.
All versions of creative-blade with dependencies
ext-json Version *
illuminate/collections Version ^8.0
illuminate/container Version ^8.0
illuminate/contracts Version ^8.0
illuminate/events Version ^8.0
illuminate/filesystem Version ^8.0
illuminate/macroable Version ^8.0
illuminate/support Version ^8.0