{"id":18343311,"url":"https://github.com/emanueleminotto/crystal","last_synced_at":"2025-04-06T07:32:29.464Z","repository":{"id":19094729,"uuid":"22322789","full_name":"EmanueleMinotto/crystal","owner":"EmanueleMinotto","description":"Crystal PHP Microframework","archived":false,"fork":false,"pushed_at":"2024-12-16T07:40:40.000Z","size":155,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T19:04:52.310Z","etag":null,"topics":["microframework","php","psr-0","psr-11","psr-14","psr-3"],"latest_commit_sha":null,"homepage":"https://github.com/EmanueleMinotto/crystal/wiki","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmanueleMinotto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"EmanueleMinotto"}},"created_at":"2014-07-27T21:30:25.000Z","updated_at":"2024-12-21T20:42:17.000Z","dependencies_parsed_at":"2024-11-30T08:26:18.259Z","dependency_job_id":"18f83d59-37c9-4c35-99fe-dd3de3aed44e","html_url":"https://github.com/EmanueleMinotto/crystal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmanueleMinotto%2Fcrystal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmanueleMinotto%2Fcrystal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmanueleMinotto%2Fcrystal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmanueleMinotto%2Fcrystal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmanueleMinotto","download_url":"https://codeload.github.com/EmanueleMinotto/crystal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247450528,"owners_count":20940934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["microframework","php","psr-0","psr-11","psr-14","psr-3"],"created_at":"2024-11-05T20:35:42.223Z","updated_at":"2025-04-06T07:32:29.457Z","avatar_url":"https://github.com/EmanueleMinotto.png","language":"PHP","funding_links":["https://github.com/sponsors/EmanueleMinotto"],"categories":[],"sub_categories":[],"readme":"# Crystal PHP Microframework ![Continuous Integration](https://github.com/EmanueleMinotto/crystal/workflows/Continuous%20Integration/badge.svg)\n\nThis is a PHP (5.3+) microframework based on [anonymous functions](http://php.net/manual/en/functions.anonymous.php) and [anonymous classes](https://www.php.net/manual/en/language.oop5.anonymous.php).\n\n```php\n\u003c?php\n\n$mf = require_once('crystal.php');\n\n$mf('/', function () {\n    echo 'Hello World!';\n});\n```\n\n## Features\n\n-   requested URLs matched using regular expressions\n-   request methods (matches using regular expressions too)\n-   differenced [FIFO](http://en.wikipedia.org/wiki/FIFO) [queues](http://en.wikipedia.org/wiki/Queue_%28abstract_data_type%29) for each `$priority`\n-   command line usage\n-   integrated [Dependency Injection](https://github.com/EmanueleMinotto/crystal/wiki/Dependency-Injection) (based on [PSR-11](https://www.php-fig.org/psr/psr-11/)) and settings system\n-   named patterns\n-   an [Autoloader](https://github.com/EmanueleMinotto/crystal/wiki/Autoloader) based on the [PSR-0](https://www.php-fig.org/psr/psr-0/) standard\n-   a [Template Engine](https://github.com/EmanueleMinotto/crystal/wiki/Template-Engine)\n-   a [Logger](https://github.com/EmanueleMinotto/crystal/wiki/Logger) available from PHP 5, based on [PSR-3](https://www.php-fig.org/psr/psr-3/)\n-   a [Database](https://github.com/EmanueleMinotto/crystal/wiki/Database) interaction system\n-   an [Event Listener](https://github.com/EmanueleMinotto/crystal/wiki/Event-Listener) to listen and dispatch events\n-   **no external dependencies, just a single PHP file!**\n\n## Documentation\n\nhttps://github.com/EmanueleMinotto/crystal/wiki\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanueleminotto%2Fcrystal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femanueleminotto%2Fcrystal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femanueleminotto%2Fcrystal/lists"}