PHPackages                             wrey75/concerto - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wrey75/concerto

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wrey75/concerto
===============

A basic library for PHP projects

0.64.0(8y ago)14641Apache-2.0PHPPHP &gt;=5.5.0

Since Nov 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wrey75/concerto)[ Packagist](https://packagist.org/packages/wrey75/concerto)[ RSS](/packages/wrey75-concerto/feed)WikiDiscussions master Synced today

READMEChangelog (10)DependenciesVersions (23)Used By (1)

concerto
========

[](#concerto)

This library is now mature.

It is currently used in production for the French website  . I mean there is no official release yet and the documentation is mainly inside the source code (which is nice for autocompletion in Eclipse).

Notes
-----

[](#notes)

This library is an inheritance of several classes created from old PHP versions (I mean, PHP 4 or even PHP 3) and involved in several projets. Concerto is a rewrite using a namespace and very simple capabilities.

This idea behind Concerto is to offer some "out-of-the box" capabilities for some weak points in PHP:

- UTF-8 support (through std::XXX static functions).
- Logging capabilities (beta).
- SQL capabilities based on a thin layer over PDO (beta).
- DAO (Data Access Object) upon the SQL class (beta).
- A simple to use O/R mapping. Simpler than Hibernate but having some capabilities included like optimistic updates, etc.

A basic application
-------------------

[](#a-basic-application)

Based on what we know about applications, a BasicApplication offers a way to use easily an out-of-box application. Check the documentation of the class to see how you can extend this class.

The `std` class
---------------

[](#the-std-class)

The basic class used everywhere. This class is basically an "helper" having all the methods static. Once of my favorite is the "tag()" which creates a HTML tag based on the tag name and their attributes passed as an array. The method is in charge of cleaning the text in the values of the attributes.

If you use "get()" to retrieve values passed in the query string, you have a default behaviour translating "&lt;" into "&lt; " to ruin efforts to try XSS on your site. It is working to avoid script injection, but there is no SQL protection because you should use the mapping rather than creating SQL sentences manually.

The `Logger` class
------------------

[](#the-logger-class)

To log data. You can create as many loggers as you want.

The `DataTable` class
---------------------

[](#the-datatable-class)

Used to print tables (using the "&lt;table&gt;" tag). Note this class uses the DataTables JQuery library which can be a little old-style but working pretty well for 90% of the basic needs. There are some very enthousiastic mathods to avoid coding Javascript for this library.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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 ~41 days

Recently: every ~123 days

Total

22

Last Release

3012d ago

PHP version history (2 changes)0.20.0PHP &gt;=5.4.0

0.63.0PHP &gt;=5.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/092bba3b9de93571dde04cca72ba2c2d313d2f8a4486fb649c22f8203860cb5d?d=identicon)[William Rey](/maintainers/William%20Rey)

---

Top Contributors

[![wrey75](https://avatars.githubusercontent.com/u/1238802?v=4)](https://github.com/wrey75 "wrey75 (133 commits)")

### Embed Badge

![Health badge](/badges/wrey75-concerto/health.svg)

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

###  Alternatives

[woocommerce/woocommerce-sniffs

WooCommerce sniffs

497.5M54](/packages/woocommerce-woocommerce-sniffs)

PHPackages © 2026

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