Skip to content
Emanuele Minotto edited this page Nov 19, 2024 · 13 revisions

Welcome to the crystal wiki!

This is a PHP (5.3+) microframework based on anonymous functions.

$mf = require_once('crystal.php');

$mf('/', function () {
    echo 'Hello World!';
});

Features

  • requested URLs matched using regular expressions
  • request methods (matches using regular expressions too)
  • differenced FIFO queues for each $priority
  • command line usage
  • integrated Dependency Injection and settings system
  • named patterns
  • PSR-0 autoloader
Clone this wiki locally