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

https://github.com/kokororin/kotori.php

A Tiny Model-View-Controller(MVC) PHP Framework
https://github.com/kokororin/kotori.php

framework kotori php php-framework

Last synced: about 1 year ago
JSON representation

A Tiny Model-View-Controller(MVC) PHP Framework

Awesome Lists containing this project

README

          

# 🐦Kotori.php

![Build Status](https://github.com/kokororin/Kotori.php/actions/workflows/ci.yml/badge.svg)
[![Version](https://badge.fury.io/ph/kokororin%2Fkotori-php.svg)](https://packagist.org/packages/kokororin/kotori-php)
[![Packagist](https://img.shields.io/packagist/dt/kokororin/kotori-php.svg?maxAge=2592000)](https://packagist.org/packages/kokororin/kotori-php)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.3-8892BF.svg)](https://php.net/)
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://github.com/kokororin/Kotori.php/blob/master/LICENSE)
[![Code Coverage](https://scrutinizer-ci.com/g/kokororin/Kotori.php/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/kokororin/Kotori.php/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/kokororin/Kotori.php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/kokororin/Kotori.php/?branch=master)

Kotori.php is a Tiny Model-View-Controller(MVC) PHP Framework.

![](https://kokororin.github.io/Kotori.php/src/Kotori.jpg)

## Installation

You need [Composer](https://getcomposer.org/) to install Kotori.php.

```bash
$ composer require kokororin/kotori-php
```

## Quick Start
```bash
$ composer global require kasumi/kotori-php-cli:dev-master
$ kotori init
$ cd awesome-project
$ kotori serve --port 2333
```

## Usage

```php
require __DIR__ . '/../vendor/autoload.php';

$app = new \Kotori\App();

$app->run();
```

## Tests

To execute the test suite, you'll need phpunit.

```bash
$ composer test
```

## LICENSE

Licensed under the Apache License, Version 2.0 (the "License").

## Learn More

Learn more at these links:

- [Website](https://kotori.love/archives/kotori-php-framework.html)
- [Documentation](https://github.com/kokororin/Kotori.php/wiki)
- [CLI tool](https://github.com/kasumi9863/kotori-php-cli)

## Thanks

- [ThinkPHP](https://github.com/top-think/thinkphp)
- [CodeIgniter](https://github.com/bcit-ci/CodeIgniter)
- [Typecho](https://github.com/typecho/typecho)

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

| [
そら](http://kokororin.github.io)
[πŸ’»](https://github.com/kokororin/Kotori.php/commits?author=kokororin "Code") [πŸ“–](https://github.com/kokororin/Kotori.php/commits?author=kokororin "Documentation") [πŸ€”](#ideas-kokororin "Ideas, Planning, & Feedback") [⚠️](https://github.com/kokororin/Kotori.php/commits?author=kokororin "Tests") | [
εŸε€’γ‘γ‚ƒγ‚“](https://kirainmoe.com/)
[πŸ’»](https://github.com/kokororin/Kotori.php/commits?author=kirainmoe "Code") [πŸ“–](https://github.com/kokororin/Kotori.php/commits?author=kirainmoe "Documentation") | [
かすみ](https://github.com/kasumi9863)
[πŸ”§](#tool-kasumi9863 "Tools") |
| :---: | :---: | :---: |

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!