PHPackages                             bombkiml/phpbeech - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. bombkiml/phpbeech

ActiveProject

bombkiml/phpbeech
=================

PHP Beech Framework (LTS)

2.0.5(4y ago)252MITPHPPHP &gt;=7.1.1

Since Dec 2Pushed 4y agoCompare

[ Source](https://github.com/bombkiml/phpbeech)[ Packagist](https://packagist.org/packages/bombkiml/phpbeech)[ RSS](/packages/bombkiml-phpbeech/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (3)Versions (13)Used By (0)

PHP Beech framework (LTS)
=========================

[](#php-beech-framework-lts)

[![beech-api release](https://camo.githubusercontent.com/0507f67c17cb73823309276135ebd611caf248dc1ad1b91e1b057d174335d65c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f626f6d626b696d6c2f7068706265656368)](https://github.com/bombkiml/phpbeech/releases/)[![PyPI license](https://camo.githubusercontent.com/c4b5c88f973609df846fecf79bba739a5720a426fa84147364b1f9b2c7e523ea/68747470733a2f2f696d672e736869656c64732e696f2f707970692f6c2f616e7369636f6c6f72746167732e737667)](https://github.com/bombkiml/beech-api/blob/master/README.md)

##### \#Make it by yourself

[](#make-it-by-yourself)

[![N|Solid](https://camo.githubusercontent.com/8c4d620aabc9b277cbc58f9926588a7adbaacb35ea75bed4aef24c55b12a5fa9/68747470733a2f2f692e6962622e636f2f685948536b78322f62656563682d4c545378322e706e67)](https://github.com/bombkiml/phpbeech)

### \# Environment Requirements

[](#-environment-requirements)

```
PHP >= 7.1.11

```

### \# Installing Beech

[](#-installing-beech)

The Beech use `composer` to manage its dependencies. So, before using `Beech` make sure you have [Composer](https://getcomposer.org/) installed on your machine.

```
$ composer create-project bombkiml/phpbeech hello-world

```

### \# Local development server

[](#-local-development-server)

If you have PHP installed locally and you would like to use PHP's built-in development server to your application, You may use the `serve` command. This command will start a development server at [`http://localhost:8000`](http://localhost:8000)

```
$ php beech serve

```

### \# Defining Controllers

[](#-defining-controllers)

Below is an example of a basic controller class. **Note that** the `controller` extends the `base controller` class. The controller are stored in the modules/controllers/ directory. A simple controller `modules/controllers/fruits/fruitsController.php` might look something like this:

```
