PHPackages                             phpmv/ubiquity - 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. [Framework](/categories/framework)
4. /
5. phpmv/ubiquity

ActiveFramework[Framework](/categories/framework)

phpmv/ubiquity
==============

Ubiquity-framework

2.5.2(3y ago)70039.5k↓60.3%60[13 issues](https://github.com/phpMv/ubiquity/issues)6Apache-2.0PHPPHP &gt;=7.4

Since Mar 10Pushed 7mo ago24 watchersCompare

[ Source](https://github.com/phpMv/ubiquity)[ Packagist](https://packagist.org/packages/phpmv/ubiquity)[ RSS](/packages/phpmv-ubiquity/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (53)Used By (6)

[![img](https://github.com/phpMv/ubiquity/raw/master/Banner/banner-duck.png?raw=true)](https://github.com/phpMv/ubiquity/blob/master/Banner/banner-duck.png?raw=true)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/190271314b30267e19476d89b067f73f63dbec0dba9683030c1d5ac59d355a50/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068704d762f75626971756974792f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phpMv/ubiquity/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/f47b9f113e9373c5fa937646b1b93bfe8377188371f2d401c1d8972a474e670e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7068704d762f75626971756974792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/phpMv/ubiquity/?branch=master) [![Documentation Status](https://camo.githubusercontent.com/44c4c4be82cff20a4248f3f440e8e9ff2f80358ebf662d6556cc3e5da3c8daa7/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f6d6963726f2d6672616d65776f726b2f62616467652f3f76657273696f6e3d6c6174657374)](http://micro-framework.readthedocs.io/en/latest/?badge=latest)[![Packagist PHP Version Support](https://camo.githubusercontent.com/5967bd31cb5b9d2c0fa9c2a5a43635ad8897965f18911e01f46d479617d76d5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068706d762f7562697175697479)](https://camo.githubusercontent.com/5967bd31cb5b9d2c0fa9c2a5a43635ad8897965f18911e01f46d479617d76d5f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068706d762f7562697175697479)[![Latest Stable Version](https://camo.githubusercontent.com/9ea1632162d7d60cb9830b93f3f02a855a0079512a116e9cd2a2bdd882dc8429/68747470733a2f2f706f7365722e707567782e6f72672f7068706d762f75626971756974792f762f737461626c65)](https://packagist.org/packages/phpmv/ubiquity)[![License](https://camo.githubusercontent.com/4aa0fafcb5b1fea449aeb2e5b9950ce0138ab0a830a948ad3b0888c43d1bb1a4/68747470733a2f2f706f7365722e707567782e6f72672f7068706d762f75626971756974792f6c6963656e7365)](https://packagist.org/packages/phpmv/ubiquity)[![Total Downloads](https://camo.githubusercontent.com/4acf694265e749496aa191d978553ae1416d95dd23c587515ac77b96382a5edc/68747470733a2f2f706f7365722e707567782e6f72672f7068706d762f75626971756974792f646f776e6c6f616473)](https://packagist.org/packages/phpmv/ubiquity)[![Monthly Downloads](https://camo.githubusercontent.com/97cbda081835b246664e20eb65b115330712449371fa1fed881e4a50afe5647a/68747470733a2f2f706f7365722e707567782e6f72672f7068706d762f75626971756974792f642f6d6f6e74686c79)](//packagist.org/packages/phpmv/ubiquity)[![GitHub commits since latest release (by date)](https://camo.githubusercontent.com/205dc91ac42f996552e0b9476b338dd3286ecfde8ab9e025a3089b2c797f09d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f7068706d762f75626971756974792f322e352e303f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/205dc91ac42f996552e0b9476b338dd3286ecfde8ab9e025a3089b2c797f09d1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d6974732d73696e63652f7068706d762f75626971756974792f322e352e303f7374796c653d666c61742d737175617265)[![Join the chat at https://gitter.im/ubiquity-framework/community](https://camo.githubusercontent.com/f9043999bd067a8ae85067b6f681c5e7814f15fe665b0edbeea682b917d9b58b/68747470733a2f2f6261646765732e6769747465722e696d2f75626971756974792d6672616d65776f726b2f636f6d6d756e6974792e737667)](https://gitter.im/ubiquity-framework/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[Ubiquity](https://ubiquity.kobject.net), a powerful and fast framework for efficient design.

Main features
=============

[](#main-features)

- MVC or Domain Driven Design with MVC
- Dependency injection
- PSR-4 Autoloader
- Router based on annotations/attributes
- ORM implementing Data Mapper
- Multi-databases &amp; multi-database types support (PDO Mysql/PostgreSQL/SQLite, Mysqli, Swoole coroutine Mysql, Tarantool, MongoDB)
- Multi-level cache
- Rest Server
- Web admin interface (Webtools)
- Scaffolding (CRUD, REST, Controllers, views, authentification...)
- Console Admin interface (Devtools)
- Assets &amp; themes management (since 2.1.0, on a [proposal](https://github.com/phpMv/ubiquity/issues/11) from [@Gildonei](https://github.com/gildonei))
- Managed servers: fpm/fastcgi with Apache or nginX, [ngx\_php](https://github.com/rryqszq4/ngx_php7), [Workerman](https://github.com/walkor/Workerman), [Swoole](https://github.com/swoole/swoole-src), [Roadrunner](https://github.com/Lapinskas/roadrunner-ubiquity), [PHP-PM](https://github.com/php-pm/php-pm) with ReactPHP (Dev only)
- Multi template engines support: [Twig](https://twig.symfony.com/)(default), [Latte](https://latte.nette.org/en/) and [Plates](https://platesphp.com/) since 2.5.2

Upgrade
=======

[](#upgrade)

If Ubiquity devtools are already globally installed, and you want to upgrade to the lastest stable version:

```
composer global update
```

For an existing project (in the root folder):

```
composer update
```

Project creation
================

[](#project-creation)

The easiest way to create a project is to use composer **create-project** command:

Creation of the project **firstProject**

```
composer create-project phpmv/ubiquity-project firstProject
```

This installation adds [devtools](https://github.com/phpMv/ubiquity-devtools) and [webtools](https://github.com/phpMv/ubiquity-webtools) to the project.

- Running the server with `vendor/bin/Ubiquity serve`
- **webtools** available at `http://127.0.0.1:8090/Admin`

Devtools installation
---------------------

[](#devtools-installation)

It is also possible to install [devtools](https://github.com/phpMv/ubiquity-devtools) globally, to share their use between different projects, and to get more options for a project creation.

- Install Ubiquity-devtools:

```
composer global require phpmv/ubiquity-devtools
```

- Create a project:

```
Ubiquity new firstProject -a
```

- Start the server:

```
Ubiquity serve
```

Need some help?
===============

[](#need-some-help)

Ubiquity is a recent project and does not yet have a large community. In the meantime, you can consult:

- [Quick-start guide with devtools](https://micro-framework.readthedocs.io/en/latest/quickstart/quickstart.html) to discover the framework with the cli program
- [Quick-start guide with webtools](https://micro-framework.readthedocs.io/en/latest/quickstart/quickstart-html.html) to discover the framework with the webtools interface
- [Documentation](https://micro-framework.readthedocs.io/en/latest/) to go deeper
- [API documentation](http://api.kobject.net/ubiquity/) to search further

For further assistance please feel free to :

- ask your questions directly using [gitter](https://gitter.im/ubiquity-framework/community)
- create an [issue](https://github.com/phpMv/ubiquity/issues/new?assignees=jcheron&labels=&template=bug_report.md&title=%5Bpart%5D+Element+should+do+X) if you notice a bug or a suspicious behavior

Performances
============

[](#performances)

Ubiquity is very fast and performs well.

### In the PHP world

[](#in-the-php-world)

The various results of the [Techempower benchmarks](https://www.techempower.com/benchmarks) show this conclusively.

#### TechEmpower Multiple queries test (\*) (see [PHP frameworks results](https://www.techempower.com/benchmarks/#section=test&runid=d6f9832a-d586-478c-84a0-8a89cccfcc2a&hw=ph&test=query&l=yyku7z-e7&c=c&a=2&o=c))

[](#techempower-multiple-queries-test--see-php-frameworks-results)

[![image](https://user-images.githubusercontent.com/2511052/139775147-9fef3a88-bbbf-4b68-84da-621e2af585cb.png)](https://user-images.githubusercontent.com/2511052/139775147-9fef3a88-bbbf-4b68-84da-621e2af585cb.png)

These excellent results have also been confirmed by an independent benchmark site : [phpbenchmarks.com](http://www.phpbenchmarks.com/en/comparator/framework)

### In the world of web frameworks

[](#in-the-world-of-web-frameworks)

**Ubiquity** is optimized for use with asynchronous platforms (**Workerman** and **Swoole**). It takes advantage of the recent PHP evolutions (opCache management and preloading). In this context, it performs against the fastest Frameworks written in C, C++, Rust or java:

#### TechEmpower 20 updates test (\*) (see [All frameworks results](https://www.techempower.com/benchmarks/#section=test&runid=d6f9832a-d586-478c-84a0-8a89cccfcc2a&hw=ph&test=update&c=e&a=2&o=e))

[](#techempower-20-updates-test--see-all-frameworks-results)

[![image](https://user-images.githubusercontent.com/2511052/139774720-9ab95f85-c8d4-4ba7-991d-cd8206bf6b38.png)](https://user-images.githubusercontent.com/2511052/139774720-9ab95f85-c8d4-4ba7-991d-cd8206bf6b38.png)

(\*) Only tests with Framework and ORM are considered.

About design choices
====================

[](#about-design-choices)

Ubiquity was created in April 2017.

The project tries to simplify the development process, and empowers web developers who delivering value through their applications. It aims to combine performance and ease of handling.

This dual purpose has led to some design choices:

> Get inspired by the best practices and successful concepts from other frameworks, but do not try to reproduce things that are not a part of the logic of PHP.

Some PHP frameworks were inspired by the Java world, which has contributed to more professional php development. But java is not PHP : the environments and languages are completely different (though their syntax is similar). What is good in Java is not necessarily in PHP.

Ubiquity wants to keep the essence of PHP and what it does best, for example:

- By using php (packed) arrays because they are effective in php (with php7 optimization)
- By not creating instances of classes to inject for the core part of the framework, to prefer the use of classes with static methods

Overall, Ubiquity wants to keep and use what PHP is good at.

In this perspective, Ubiquity chooses not to respect certain standards: For example, by not creating a Response object implementing an interface (see [PSR-7 HTTP message interfaces](https://www.php-fig.org/psr/psr-7/) ) in response to an Http request.

> Not multiplying the ways of doing things.

If a method or technique is optimal, there's no reason to implement an alternative version, especially if there is a risk of degrading the performance or complicating the handling of the framework.

> Avoiding multiple external dependencies, which are sometimes loaded when they are never used.

- They prevent the developer from optimizing his own code.
- In some applications, the dependency loading time is more expensive than running the application code.

The framework used must give the developer the means to optimize his application and not the other way around.

Ubiquity aspires to never become another labyrinthine system.

Preview of some features
========================

[](#preview-of-some-features)

Devtools console program
------------------------

[](#devtools-console-program)

```
Ubiquity help
```

The console mode makes it easy to perform all the repetitive tasks related to the design of projects:

- creations : project, controllers, actions, routes, models, views,
- checking : routes, models, validators
- scaffolding (CRUD + authentification)

Scaffolding
-----------

[](#scaffolding)

Generation of the CRUD elements for a model class with devtools :

```
Ubiquity crud --resource=Developers --path=/devs/
```

The generated route **/devs/** provides an entry point for CRUD operations:

[![crud index](https://camo.githubusercontent.com/3d21bc3246c532381eed654ba34248cdcc8438299b6386a025f11d3b3326db81/68747470733a2f2f7374617469632e6b6f626a6563742e6e65742f75626971756974792f696d616765732f6769746875622f637275642d696e6465782e706e67 "crud index")](https://camo.githubusercontent.com/3d21bc3246c532381eed654ba34248cdcc8438299b6386a025f11d3b3326db81/68747470733a2f2f7374617469632e6b6f626a6563742e6e65742f75626971756974792f696d616765732f6769746875622f637275642d696e6465782e706e67)

Admin interface
---------------

[](#admin-interface)

Like the console, the administration interface makes it possible to act on the main components of the framework.

When creating a project, it can be installed with the **-a** option.

```
ubiquity new firstProject -a
```

[![Admin interface](https://github.com/phpmv/ubiquity-webtools/raw/master/.github/images/webtools-interface.png "Admin interface")](https://github.com/phpmv/ubiquity-webtools/blob/master/.github/images/webtools-interface.png)

Graphic design
==============

[](#graphic-design)

- Ubiquity logos and banner: [@richardbmx](https://github.com/richardbmx)

Donations
=========

[](#donations)

You can tell us your pleasure in using Ubiquity, giving us a star, and you can do even better by [contributing](https://github.com/phpMv/ubiquity/blob/master/CONTRIBUTING.md)...

Thank you!

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance44

Moderate activity, may be stable

Popularity50

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~38 days

Recently: every ~86 days

Total

48

Last Release

1245d ago

PHP version history (3 changes)v2.0.1PHP &gt;7.0

2.3.6PHP ^7.4

2.3.13PHP &gt;=7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2511052?v=4)[Jean-Christophe HERON](/maintainers/jcheron)[@jcheron](https://github.com/jcheron)

---

Top Contributors

[![jcheron](https://avatars.githubusercontent.com/u/2511052?v=4)](https://github.com/jcheron "jcheron (3402 commits)")[![transifex-integration[bot]](https://avatars.githubusercontent.com/in/18568?v=4)](https://github.com/transifex-integration[bot] "transifex-integration[bot] (116 commits)")[![ndL-1990](https://avatars.githubusercontent.com/u/52956652?v=4)](https://github.com/ndL-1990 "ndL-1990 (9 commits)")[![gildonei](https://avatars.githubusercontent.com/u/1370979?v=4)](https://github.com/gildonei "gildonei (7 commits)")[![richardbmx](https://avatars.githubusercontent.com/u/35604837?v=4)](https://github.com/richardbmx "richardbmx (2 commits)")[![jyyan](https://avatars.githubusercontent.com/u/1297451?v=4)](https://github.com/jyyan "jyyan (2 commits)")[![orbex](https://avatars.githubusercontent.com/u/2074126?v=4)](https://github.com/orbex "orbex (2 commits)")[![olekdex](https://avatars.githubusercontent.com/u/268895096?v=4)](https://github.com/olekdex "olekdex (2 commits)")[![trk](https://avatars.githubusercontent.com/u/455983?v=4)](https://github.com/trk "trk (1 commits)")[![churow](https://avatars.githubusercontent.com/u/6846349?v=4)](https://github.com/churow "churow (1 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")[![kaznovac](https://avatars.githubusercontent.com/u/203604?v=4)](https://github.com/kaznovac "kaznovac (1 commits)")[![n0nag0n](https://avatars.githubusercontent.com/u/2322095?v=4)](https://github.com/n0nag0n "n0nag0n (1 commits)")[![s-patompong](https://avatars.githubusercontent.com/u/3887531?v=4)](https://github.com/s-patompong "s-patompong (1 commits)")[![Tiippex](https://avatars.githubusercontent.com/u/16509128?v=4)](https://github.com/Tiippex "Tiippex (1 commits)")[![andrewvh619](https://avatars.githubusercontent.com/u/58555916?v=4)](https://github.com/andrewvh619 "andrewvh619 (1 commits)")

---

Tags

frameworkmvcormperformancephpubiquityphpframeworkormmvc

### Embed Badge

![Health badge](/badges/phpmv-ubiquity/health.svg)

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

###  Alternatives

[letsdrink/ouzo

Ouzo PHP MVC framework

7210.7k1](/packages/letsdrink-ouzo)[mirekmarek/php-jet

PHP Jet is modern, powerful, real-life proven, really fast and secure, small and light-weight framework for PHP8 with great clean and flexible modular architecture containing awesome developing tools. No magic, just clean software engineering.

241.3k](/packages/mirekmarek-php-jet)

PHPackages © 2026

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