Download the PHP package lotfio/caprice without Composer
On this page you can find all versions of the php package lotfio/caprice. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lotfio/caprice
More information about lotfio/caprice
Files in lotfio/caprice
Download lotfio/caprice
More information about lotfio/caprice
Files in lotfio/caprice
Vendor lotfio
Package caprice
Short Description Caprice nice and easy weasy templating engine for php
License MIT
Package caprice
Short Description Caprice nice and easy weasy templating engine for php
License MIT
Please rate this library. Is it a good library?
Informations about the package caprice
:candy: easy weezy templating engine for php :candy:
:fire: Introduction :
Caprice is PHP templating engine that aims to write clean PHP syntax along side with HTML code. caprice compiles the syntax and generate php files which means no performance loss but a clean html files with a friendly syntax.
:pushpin: Requirements :
- PHP 8 or newer versions
- PHPUnit >= 9 (for testing purpose)
:ok_hand: Features :
- easy to use.
- friendly syntax.
- caching (one time compile).
- no performance loss.
:rocket: Installation & Use :
💥 testing :
:pencil2: Usage :
:inbox_tray: Available syntax directives:
code block
- you can write any php inside code blocks
echo statement
if statement
-
if only
-
if else
- if elseif
for in loop
-
for in loop value only
- for in loop key, value
for loop
- for loop syntax
while loop
- while loop syntax
do while loop
- do while syntax
continue & break loop
include / require statements
layout
helpers
:hand: Custom directives:
- you can define your custom directives:
- make sure that the definition of your directives goes before calling compile
:helicopter: TODO
- Adding helpers
- Adding unit test helpers
:computer: Contributing
- Thank you for considering to contribute to Caprice. All the contribution guidelines are mentioned here.
:page_with_curl: ChangeLog
- Here you can find the ChangeLog.
:beer: Support the development
- Share Caprice and lets get more stars and more contributors.
- If this project helped you reduce time to develop, you can give me a cup of coffee :) : Paypal. 💖
:clipboard: License
- Caprice is an open-source software licensed under the MIT license.
All versions of caprice with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.0
The package lotfio/caprice contains the following files
Loading the files please wait ....