An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Calf
![Travis: Build Status](https://travis-ci.org/jabernardo/calf.svg?branch=master "Travis: Build Status")
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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).