Skip to content

gitetsu/Tachyon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tachyon framework for PHP5.3+

Tachyon is a PHP micro framework inspired by web.py and by the the MicroPHP initiative released under the MIT public license.

Features

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.

Requirements

  • PHP 5.3>=
  • PHPUnit (If you want to run the tests)

"Hello World" (PHP >= 5.3)

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();

About

REST PHP Micro framework inspired by web.py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%