Tachyon is a PHP micro framework inspired by web.py and by the the MicroPHP initiative released under the MIT public license.
Tachyon provides just the necessary tools for creating websites in PHP :
- Route handling RegEx style
- Parameters in URI
- Closure as Controller
- Class as Controller
- An optional Controller abstract
- HTTP Caching easiness.
- HTTP Header control.
- PHP 5.3+
- 404 Handler.
- PHP 5.3>=
- PHPUnit (If you want to run the tests)
If you are familiar with web.py, this will look like home.
require "Tachyon/Application.php"
$urls = array("/(.*)" => function() {
echo "Hello World!";
});
$app = new \Tachyon\Application($urls);
$app->run();