PHPackages                             raeen/bamboo - 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. [API Development](/categories/api)
4. /
5. raeen/bamboo

ActiveProject[API Development](/categories/api)

raeen/bamboo
============

Bamboo is a php api framework

1.0.0(5y ago)38MITPHP

Since Mar 25Pushed 5y agoCompare

[ Source](https://github.com/Raeen123/Bamboo)[ Packagist](https://packagist.org/packages/raeen/bamboo)[ RSS](/packages/raeen-bamboo/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

[![](icon.ico)](icon.ico)

Bamboo
======

[](#bamboo)

Bamboo is a php api framework . Very easy , simple and light

Made by Raeen Ahani in 2021 in Gorgan, Iran

[![Latest Stable Version](https://camo.githubusercontent.com/7223b5033eba3f42c5b66a1f24b8778cb3a068f4ff3ab365e62240b09788215e/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f76)](//packagist.org/packages/raeen/bamboo)[![Total Downloads](https://camo.githubusercontent.com/4b0afc9dbe094316c971cd255ead5945b6ff79762088f05b684514b8e4d09f34/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f646f776e6c6f616473)](//packagist.org/packages/raeen/bamboo)[![Latest Unstable Version](https://camo.githubusercontent.com/8ceb92c8920a7366eade8775b029c09ef608b9ecc8d23cd7a3ef502bc3aaac82/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f762f756e737461626c65)](//packagist.org/packages/raeen/bamboo)[![License](https://camo.githubusercontent.com/129c88126e8b72dc891df805076c55e3da5b66697fc5906e2a111fc2e0922ed2/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f6c6963656e7365)](//packagist.org/packages/raeen/bamboo)[![Monthly Downloads](https://camo.githubusercontent.com/33b3534889c6d88cb324ac5df65c7ff1dc889bdd82db176ae34fa47820d66145/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f642f6d6f6e74686c79)](//packagist.org/packages/raeen/bamboo)[![Daily Downloads](https://camo.githubusercontent.com/6d04fc71e65361729ef956e708ca19bd4f556af48f9acc3a52bea410f65e8e8b/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f642f6461696c79)](//packagist.org/packages/raeen/bamboo)[![composer.lock](https://camo.githubusercontent.com/c1213c7580d3a6775f30935d9802b34344921c6239c45ef60c9708a0387695e9/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f636f6d706f7365726c6f636b)](//packagist.org/packages/raeen/bamboo)[![.gitattributes](https://camo.githubusercontent.com/592fb6f1effe58abee50a5e3f648815ba26c3e18f533ec73ed17fd233e07de4b/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f67697461747472696275746573)](//packagist.org/packages/raeen/bamboo)[![Dependents](https://camo.githubusercontent.com/e9ce3c25fc06a93496a95474c748e7842d6847ad6eece44698253d615fac1772/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f646570656e64656e7473)](//packagist.org/packages/raeen/bamboo)[![Suggesters](https://camo.githubusercontent.com/1169681de9ab07d6237a26f3c3c757b6a302a9f24336e5d8dff1bbb3af1d6167/68747470733a2f2f706f7365722e707567782e6f72672f726165656e2f62616d626f6f2f73756767657374657273)](//packagist.org/packages/raeen/bamboo)

---

Install
-------

[](#install)

```
composer create-project raeen/bamboo
```

Documentation
-------------

[](#documentation)

### Database

[](#database)

To connect to the mysql database, refer to the `.env`

### Router

[](#router)

We use [bramus/router](https://github.com/bramus/router) for the router, of course we customized it so that by default in the controller the function of the sent method is executed

### Method

[](#method)

The method sent to the controllers is stored in the `$method` ( `$this->method` ) variable

### Path

[](#path)

The page address is stored in the `$path` ( `$this->path` ) variable on the controllers

### Data

[](#data)

The data sent to the api is stored in the controllers in the `$data` ( `$this->data` ) variable

### File

[](#file)

The information of the files is stored in the `$files` ( `$this->files` ) variable in the controllers

The files are downloaded in the archive folder. To download, use the `download(key of file , save File name = null)`function in the controllers.

Use the `sendFile(file name)` function on the controllers to send the file

### Authenticate

[](#authenticate)

For the http authorization header, use the `auth(username, password)` function in the controllers

### Api Key

[](#api-key)

Use the `apikey(length = 20)` function in the controller to create the api key

### Query

[](#query)

Use the `DB::query(sql query, parameters ...)` function for SQL query on controllers. This function uses pdo , example :

```
$query = DB::query("SELECT * FROM user WHERE name=?", $name);

$result = $query->fetch(PDO::FETCH_OBJ);
```

### Render

[](#render)

Use `render(int $code, array | object $data = null, $status = null, $message = null)` on the controllers to send the result as jason. Messages and statuses are completed by code by default

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1879d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2459265?v=4)[Raeen](/maintainers/Raeen)[@Raeen](https://github.com/Raeen)

---

Top Contributors

[![Raeen123](https://avatars.githubusercontent.com/u/66183740?v=4)](https://github.com/Raeen123 "Raeen123 (9 commits)")

---

Tags

apiapi-frameworkframeworkphpphp-api-frameworkphp-frameworkphpframework

### Embed Badge

![Health badge](/badges/raeen-bamboo/health.svg)

```
[![Health](https://phpackages.com/badges/raeen-bamboo/health.svg)](https://phpackages.com/packages/raeen-bamboo)
```

###  Alternatives

[netflie/whatsapp-cloud-api

The first PHP SDK to send and receive messages using a cloud-hosted version of the WhatsApp Business Platform

640431.7k4](/packages/netflie-whatsapp-cloud-api)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.0k](/packages/showdoc-showdoc)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[lucianotonet/groq-php

A powerful PHP library for seamless integration with the GroqCloud API

83124.5k6](/packages/lucianotonet-groq-php)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[unicodeveloper/jusibe-php-lib

Jusibe PHP Library

3417.4k1](/packages/unicodeveloper-jusibe-php-lib)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
