Download the PHP package vulcanphp/sweetview without Composer
On this page you can find all versions of the php package vulcanphp/sweetview. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download vulcanphp/sweetview
More information about vulcanphp/sweetview
Files in vulcanphp/sweetview
Download vulcanphp/sweetview
More information about vulcanphp/sweetview
Files in vulcanphp/sweetview
Vendor vulcanphp
Package sweetview
Short Description Sweet View is a lightweight and powerful PHP template engine that unblocks all the most common features in handling a View in PHP.
License MIT
Package sweetview
Short Description Sweet View is a lightweight and powerful PHP template engine that unblocks all the most common features in handling a View in PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package sweetview
Sweet View
Sweet View is a lightweight and powerful PHP template engine that unblocks all the most common features in handling a View in PHP.
Installation
It's recommended that you use Composer to install Sweet View.
Basic Usage
After Installing Sweet View require compoer autoloader then you can simple use it calling view() function
Now, Create a View Template and Layout file into: /resources/views/
Create a Layout to: /resources/views/layout/
Thats it
Sweet View available methods
- layout(string $path): self
- block(string $name, $value): self
- hasBlock(string $name): bool
- getBlock(string $name)
- with(array $params = []): self
- minified(bool $default = true): self
- include(string $path, array $params = []): self
- require(string $path, array $params = []): self
- includeOnce(string $path, array $params = []): self
- requireOnce(string $path, array $params = []): self
- component(string $path, array $params = []): self
Sweet View Advanced Usage
Sweet View Html Engine Advanced Usage
Sweet View Use Html Meta
All versions of sweetview with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package vulcanphp/sweetview contains the following files
Loading the files please wait ....