PHPackages                             xinix-technology/bono - 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. xinix-technology/bono

ActiveLibrary[API Development](/categories/api)

xinix-technology/bono
=====================

2.3.0(7y ago)63.0k10[1 issues](https://github.com/xinix-technology/bono/issues)5PHPPHP ^5.4 | ^7.0

Since Oct 9Pushed 3y ago9 watchersCompare

[ Source](https://github.com/xinix-technology/bono)[ Packagist](https://packagist.org/packages/xinix-technology/bono)[ RSS](/packages/xinix-technology-bono/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (8)Versions (44)Used By (5)

Bono
====

[](#bono)

[![License](https://camo.githubusercontent.com/6be2a5dd83979f1cad477ed96e498894a01380b43bd76128de25c270cbc853f3/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f78696e69782d746563686e6f6c6f67792f626f6e6f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/xinix-technology/bono/blob/master/LICENSE)[![Download](https://camo.githubusercontent.com/5fee0d6451cc93bcc170361c42ab5d06a09b24e3e061c7c5ac3248a50eeaf98c/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f78696e69782d746563686e6f6c6f67792f626f6e6f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/xinix-technology/bono)[![Version](https://camo.githubusercontent.com/ef10a1f1ae8bd977338fa3f9fb76a5f03542ac71b0d89fb62efa38e65b18ebc1/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f78696e69782d746563686e6f6c6f67792f626f6e6f2e7376673f7374796c653d666c61742d737175617265)](https://github.com/xinix-technology/bono)

Bono is PHP framework

[![Bono PHP](https://raw.githubusercontent.com/xinix-technology/bono/master/img/bono-logo.png "Bono PHP")](https://raw.githubusercontent.com/xinix-technology/bono/master/img/bono-logo.png)

Apa itu Bono?
-------------

[](#apa-itu-bono)

Bono adalah framework aplikasi web berbasis PHP. Pada dasarnya Bono dibangun di atas Slim Framework. Karena itu komponen utamanya adalah routing. Setiap halamannya memiliki representasi routing.

Komponen
--------

[](#komponen)

Bono memiliki memiliki dua elemen utama yaitu Provider dan Middleware.

### Provider

[](#provider)

Provider berfungsi untuk menambahkan kemampuan Bono dalam menambahkan aplikasi ke dalam Bono. Sebagai contoh untuk menambahkan aplikasi chat, aplikasi CMS, aplikasi Forum dan lain sebagainya. Singkatnya setiap aplikasi di dalam Bono adalah provider.

### Middleware

[](#middleware)

Middleware untuk menambahkan fungsionalitas yang berhubungan dengan cara kerja sebuah aplikasi. Misalnya seperti penyimpanan data, penggunaan session, mengirim email, autentikasi dan autorisasi.

Ada satu middleware di dalam Bono yang berfungsi mengumpulkan routing-routing menjadi satu grup dari bisnis unit. Yang dalam konsep MVC dikenal sebagai kontroler.

Bono memiliki hook dan filter yang memudahkan penambahan fungsionalitas tiap-tiap middleware yang ada. Perbedaan antara hook dan filter adalah filter dapat mengembalikan nilai sementara hook tidak.

Why Bono?
---------

[](#why-bono)

- Ridiculously fast in building application.
- CRUD can be done in a fart.
- Just type in your terminal, and let the system give what you need

Templating pada Bono
--------------------

[](#templating-pada-bono)

Bono menyediakan hook dan filter pada template engine-nya. Sehingga memudahkan theme developer dalam mengembangkan desain yang diinginkan.

Instalasi
---------

[](#instalasi)

Yang diperlukan untuk membangun aplikasi menggunakan Bono:

- Web Server (Apache, Nginx, LigHttpd, dll)
- PHP 7.2+
- MongoDB
- Xpax\*

Xpax (Xinix Package) adalah package management system yang dikembangkan oleh Xinix. Xpax bisa diinstal dengan perintah berikut di Terminal Anda:

```
npm install -g xinix-pax.

```

> **Catatan** `-g` pada argumen npm install akan membuat modul npm diinstall secara global, ada kemungkinan perintah ini membutuhkan permission dari superuser, gunakan `sudo` jika perintah ini gagal dijalankan.

Untuk mendapatkan package npm bisa diinstall dari [www.nodejs.org](http://www.nodejs.org)

### Mencicipi Bono secara kilat

[](#mencicipi-bono-secara-kilat)

- Melalui Terminal ketikkan perintah :
    - xpax init
    - xpax serve
- Buka  melalui browser Anda

### Menjalankan aplikasi Bono di web server

[](#menjalankan-aplikasi-bono-di-web-server)

- Buatlah sebuah direktori untuk aplikasi Anda di root folder web server Anda.
- Melalui Terminal masuk ke direktori tersebut, kemudian jalankan perintah:
    - xpax init
- Aplikasi Bono sudah terinstal di folder yang dibuat sebelumnya.
- Buka [http://localhost/{nama\_folder}/www](http://localhost/%7Bnama_folder%7D/www) melalui web browser.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community28

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 70.2% 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

Every ~46 days

Recently: every ~25 days

Total

41

Last Release

2739d ago

Major Versions

0.3.2 → 1.0.02015-07-31

1.0.0 → 2.0.02015-10-26

1.0.1 → 2.1.02016-05-01

PHP version history (2 changes)2.0.0PHP ^5.4

2.2.2PHP ^5.4 | ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ccba8ab264c930769a607c77fd9ad54731fb85847278488cc1f6d283130df0c?d=identicon)[reekoheek](/maintainers/reekoheek)

![](https://www.gravatar.com/avatar/f867e73b00a4c9a44730367cc7e47f915dbd64595db89ab9db9a32883eb1903c?d=identicon)[januarsiregar](/maintainers/januarsiregar)

---

Top Contributors

[![reekoheek](https://avatars.githubusercontent.com/u/299394?v=4)](https://github.com/reekoheek "reekoheek (144 commits)")[![krisanalfa](https://avatars.githubusercontent.com/u/3734729?v=4)](https://github.com/krisanalfa "krisanalfa (33 commits)")[![januarsiregar](https://avatars.githubusercontent.com/u/6738681?v=4)](https://github.com/januarsiregar "januarsiregar (9 commits)")[![apriantopramana](https://avatars.githubusercontent.com/u/3231439?v=4)](https://github.com/apriantopramana "apriantopramana (7 commits)")[![faridlab](https://avatars.githubusercontent.com/u/1629524?v=4)](https://github.com/faridlab "faridlab (5 commits)")[![NurAlam](https://avatars.githubusercontent.com/u/6286003?v=4)](https://github.com/NurAlam "NurAlam (4 commits)")[![dwaan](https://avatars.githubusercontent.com/u/1238465?v=4)](https://github.com/dwaan "dwaan (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/xinix-technology-bono/health.svg)

```
[![Health](https://phpackages.com/badges/xinix-technology-bono/health.svg)](https://phpackages.com/packages/xinix-technology-bono)
```

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k379.4k24](/packages/team-reflex-discord-php)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[yoti/yoti-php-sdk

Yoti SDK for quickly integrating your PHP backend with Yoti

27539.9k1](/packages/yoti-yoti-php-sdk)

PHPackages © 2026

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