Skip to content

Commit

Permalink
Merge branch 'main' of github.com:mrcrypster/phpy
Browse files Browse the repository at this point in the history
  • Loading branch information
everstudent committed Oct 3, 2022
2 parents affaa46 + 41fd049 commit 2f4db5b
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions README.md
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).

0 comments on commit 2f4db5b

Please sign in to comment.