https://github.com/stackkit/blade-standalone
The view engine from laravel
https://github.com/stackkit/blade-standalone
laravel standalone
Last synced: 5 months ago
JSON representation
The view engine from laravel
- Host: GitHub
- URL: https://github.com/stackkit/blade-standalone
- Owner: stackkit
- Created: 2017-12-19T18:32:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T19:58:08.000Z (about 6 years ago)
- Last Synced: 2025-08-25T04:04:55.193Z (10 months ago)
- Topics: laravel, standalone
- Language: PHP
- Homepage: https://packagist.org/packages/stackkit/blade-standalone
- Size: 14.6 KB
- Stars: 5
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
> This package is a standalone version of Laravel Blade.
## Usage standalone blade
```php
render('welcome', ['name' => 'John Doe']);
echo $contents;
```
## Docs
Blade is the simple, yet powerful templating engine provided with Laravel. Unlike other popular PHP templating engines, Blade does not restrict you from using plain PHP code in your views. In fact, all Blade views are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application. Blade view files use the `.blade.php` file extension and are typically stored in the `resources/views` directory.
[Docs](https://laravel.com/docs/5.8/blade)