Download the PHP package greg-md/php-view without Composer
On this page you can find all versions of the php package greg-md/php-view. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download greg-md/php-view
More information about greg-md/php-view
Files in greg-md/php-view
Download greg-md/php-view
More information about greg-md/php-view
Files in greg-md/php-view
Vendor greg-md
Package php-view
Short Description Greg PHP View
License MIT
Homepage https://github.com/greg-md/php-view
Package php-view
Short Description Greg PHP View
License MIT
Homepage https://github.com/greg-md/php-view
Please rate this library. Is it a good library?
Informations about the package php-view
Greg PHP View
A powerful View for PHP.
Table of Contents:
- Requirements
- Compilers
- How It Works
- Documentation
- License
- Huuuge Quote
Requirements
- PHP Version
^7.1
Compilers
- PHP
- Blade
How It Works
First of all, you have to initialize a Viewer:
Optionally, you can add a view compiler. For example a Viewer:
By default it will use Renderer as an instance of a template.
Note: If you want to use your own compiler, it has to be an instance of Compiler Strategy.
Now, you can render views where you want in your application.
Create a template file in the views directory. For example welcome.blade.php
:
Use welcome
template in your application:
Documentation
- Viewer - The view manager;
- Renderer - Instance of a template. Could be accessed via
$this
variable in the template. - Renderer which will give access only to its public properties and methods;
- Blade Compiler - An independent template compiler;
- Viewer.
- Compiler Strategy - A strategy for custom compilers;
- Viewer compilers;
License
MIT © Grigorii Duca
Huuuge Quote
All versions of php-view with dependencies
PHP Build Version
Package Version
The package greg-md/php-view contains the following files
Loading the files please wait ....