Download the PHP package effectra/renova without Composer
On this page you can find all versions of the php package effectra/renova. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download effectra/renova
More information about effectra/renova
Files in effectra/renova
Package renova
Short Description Effectra Renova is a PHP package that provides a template rendering and web asset management functionality. It includes a template engine for rendering template files and a web asset management system for generating script and link tags for web assets.
License MIT
Informations about the package renova
Effectra\Renova
Effectra\Renova is a PHP package that provides a template rendering and web asset management functionality. It includes a template engine for rendering template files and a web asset management system for generating script and link tags for web assets.
Installation
You can install the Effectra\Renova package via Composer. Simply run the following command:
Usage
Template Engine
The template engine allows you to render template files using a template syntax. Here's an example of how to use the template engine:
In the example above, we create a new instance of the TemplateEngine
class indirectly by instantiating the Render
class. The Render
class uses the TemplateEngine
internally for rendering the template file. We pass the necessary arguments to the Render
constructor, including the template file path, data, template functions, template global variables, and an instance of the Reader
class.
Web Asset Management
The web asset management feature allows you to generate script and link tags for web assets managed by Encore. Here's an example of how to use the web asset management:
In the example above, we create a new instance of the WebEncore
class. We then use the scriptTags
and linkTags
methods to generate the script and link tags for the specified sections.
Contributing
Thank you for considering contributing to the Effectra\Renova package! If you would like to contribute, please follow the guidelines in the CONTRIBUTING.md file.
License
The Effectra\Renova package is open-source software licensed under the MIT license.