https://github.com/jabernardo/calf
Yet another Micro-framework for PHP.
https://github.com/jabernardo/calf
php php-library php-micro-framework php-router php-router-standalone php7
Last synced: about 1 month ago
JSON representation
Yet another Micro-framework for PHP.
- Host: GitHub
- URL: https://github.com/jabernardo/calf
- Owner: jabernardo
- License: mit
- Created: 2018-01-28T10:23:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-31T09:21:09.000Z (over 1 year ago)
- Last Synced: 2025-12-14T17:43:03.435Z (5 months ago)
- Topics: php, php-library, php-micro-framework, php-router, php-router-standalone, php7
- Language: PHP
- Homepage: http://jabernardo.github.io/calf
- Size: 200 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Calf

[](https://opensource.org/licenses/MIT)
Yet another Micro-framework for PHP.
## Installation
```sh
composer require jabernardo/calf
```
## Hello World
```php
write('Hello World!');
});
$app->add($home);
$app->run();
```
## Configuring Web Server
```apache
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [QSA,L]
```
## Running...
```sh
php -S localhost:8888 index.php
```
## Testing
```sh
phpunit
```
## Learn more
Please see the project's wiki page [here](https://github.com/jabernardo/calf/wiki).
## License
The `calf` is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).