-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:mrcrypster/phpy
- Loading branch information
Showing
1 changed file
with
26 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,28 @@ | ||
# Phpy (2.0 beta work in progress) | ||
# Phpy 2 | ||
|
||
Component-based PHP markup language and framework for fast prototyping to get apps done. | ||
Component-based PHP markup framework for rapid apps creation. | ||
|
||
Working on v2.0, optimized & improved... | ||
## Concepts | ||
- the less code and dependencies the better | ||
- you move [small and big] parts of code from place to place frequently | ||
- organize code based on files, keep each file as small as possible | ||
- ... work in progress | ||
|
||
## Quick start | ||
First clone repo into `phpy` dir: | ||
```git clone https://github.com/mrcrypster/phpy.git``` | ||
|
||
Now use: | ||
```php | ||
echo phpy(['html' => [ | ||
':title' => 'Hi', | ||
'#content' => [ | ||
'p' => 'some text', | ||
'a:/page2' => 'some page' | ||
] | ||
]]); | ||
``` | ||
|
||
## Contribute | ||
This is a repository with prebuilt code. | ||
Sources and tests are available in [phpy-src repo](https://github.com/mrcrypster/phpy-src). |