PHPackages                             geekcow/fony - 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. geekcow/fony

ActiveLibrary[API Development](/categories/api)

geekcow/fony
============

Fony PHP API framework installer

0.0.37(3y ago)167Apache-2.0PHPCI failing

Since Jun 19Pushed 3y agoCompare

[ Source](https://github.com/oleche/fony)[ Packagist](https://packagist.org/packages/geekcow/fony)[ Docs](https://github.com/oleche/fony)[ RSS](/packages/geekcow-fony/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (5)Versions (33)Used By (0)

fony-php
========

[](#fony-php)

A Rapid development PHP API framework

Welcome to Fony API PHP framework. The whole idea of this project is to allow the fast development of APIs or PoC over data definitions.

Basic Installation
------------------

[](#basic-installation)

1. Initialize your project using Composer:

```
$ composer init

```

2. Add the fony dependency:

```
$ composer require geekcow/fony

```

3. Add the installation script into the `composer.json` file:

```
  "scripts": {
     "setup-fony": "Geekcow\\Fony\\Installer\\Setup::init"
  }
```

4. Proceed to the installation script:

```
$ composer run-script setup-fony

```

Requirements:
-------------

[](#requirements)

Currently Fony API has support for `apache` and `mysql`. However there is work in progress for `nginx` and multiple DBMS (via dbCore)

Also need to have installed `mod_rewrite` module for Apache

Additionally, need to have the following changes in your directory configuration for your virtual server in Apache:

```

      Options FollowSymLinks
      AllowOverride All
      Require all granted

```

Note we removed the `Indexes` option from the directory, in order to not display the tree view.

### PHP Built-in server

[](#php-built-in-server)

You can now run a local instance of your built API using a shell command in your root folder

```
$ ./fony-serve.sh {PORT}

```

The default port is `8080` but you can customize your own port

If you cannot execute the shell command, you can manually use the php command to serve your own application. You need to be aware as Fony overrides the URL requests, you need to use the custom router for the built-in PHP server. The router is included as a hidden file as `.router.php` in your root folder.

```
$ php -S localhost:8080 .router.php

```

### Docker

[](#docker)

There is some work creating a docker image to host your Fony implementation. That will be available soon.

Notes:
------

[](#notes)

June 2020: There is still a lot of work to do.

- Unit tests are not done
- Tooling is still in progress
- I want to add a sample of a complete implementation in the Installer.
- Wiki only has titles.

Contributing
------------

[](#contributing)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity56

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

Every ~29 days

Recently: every ~159 days

Total

32

Last Release

1247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7c84fb3b9f2ff8225e6053687ec48d1eff7ddd29dfffd11f96c119cfe5bf7c58?d=identicon)[oleche](/maintainers/oleche)

---

Top Contributors

[![oleche](https://avatars.githubusercontent.com/u/5839459?v=4)](https://github.com/oleche "oleche (24 commits)")

---

Tags

apifonyfony-core

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/geekcow-fony/health.svg)

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

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[temporal/sdk

Temporal SDK

4002.2M18](/packages/temporal-sdk)[comgate/sdk

Comgate PHP SDK

13327.8k](/packages/comgate-sdk)[rubix/server

Deploy your Rubix ML models to production with scalable stand-alone inference servers.

632.3k](/packages/rubix-server)

PHPackages © 2026

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