Small & efficient component-oriented file-based framework for rapid prototyping with PHP
MIT License
PHPy is built for prototyping web apps, focusing on delivering apps to end-users in as little time as possible. Creating prototypes is different from (re)building apps based on known requirements. Prototyping means not only testing ideas, but delivering changes fast in situation of rapid evolution.
<?php return [
'h1' => 'Hi',
'p.text' => 'This is paragraph',
'ul#list' => [
['li' => 'First item'],
['li' => 'Second item']
],
'form:/signup' => [
'input:email' => '[email protected]',
'select:type' => [
1 => 'Personal',
2 => 'Business'
],
'submit' => 'Sign up',
],
'a:/home' => ['Return home', ':rel' => 'nofollow']
];
git clone https://github.com/mrcrypster/phpy.git
php phpy/phpy.php init /path/to/newapp
And continue with the Building Web App Guide or PHPy Reference.
This is a repository with prebuilt code. Sources and tests are available in phpy-src repo.