Materia
Materia is a code-based user interface library for PHP., (*1)
In many web applications, the norm is to use HTML templates (Twig, Smarty, etc) for views., (*2)
This project is eliminating templates in favor of code constructing the views.
This will allow you to work with the UI from your code, giving you much more
control over how you'll be structuring your code. It makes it much easier to
change navigation and overall layouts later in the project., (*3)
Take a look at the example/
directory to see how it's used., (*4)
Trying the example:
git clone git@github.com:materia/materia.git
cd materia
composer install
bower install
php -S 0.0.0.0:8080 example/example1.php
Open http://localhost:8080
in your browser., (*5)
Work In Progress
WARNING: This project is a work in progress. Class/Method/Parameter names may/will change., (*6)
Contributions welcome!, (*7)