PHPackages                             trentino-alto/adige - 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. trentino-alto/adige

ActivePackage[Framework](/categories/framework)

trentino-alto/adige
===================

Adige is a experimental PHP framework for building web applications.

01PHP

Since Sep 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/mathmpr/adige)[ Packagist](https://packagist.org/packages/trentino-alto/adige)[ RSS](/packages/trentino-alto-adige/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (0)

Ádige
=====

[](#ádige)

Project aimed at studying the PHP and MySQL languages mainly, which can cover JS, HTML, CSS. The objective is to create, step by step, a simple Framework based on the most popular ones on the market.

About
-----

[](#about)

Adige is the second-largest river in Italy, it was and still is one of the most important rivers in the country since the Middle Ages. The river gives its name to the Trentino-Alto Adige region. The name of the project is just a tribute to the memories of a trip that one of the collaborators (@mathmpr) took to this region of Italy.

Git rules
---------

[](#git-rules)

Let's try to use git in a professional way, for this we will establish some rules.

- Try to never commit and push directly to the branch **master** or **develop**.
- Branch models must follow a standard:
    - `adjust` - for general adjustments. EX: `adjust//fix-number-of-params-for-bind-value`
    - `hotfix` - When a bug is in master, we can make a branch directly from master and then make a pull request directly to master, just to fix some "urgent" bug. EX: `hotfix//fix-regex-for-identify-routes`
    - `feature` - when we upload the feature for the first time. EX: `feature/`
    - `enhancement` - when we are going to make a code improvement or refactoring. EX: `enhancement//new-router-system`
- When committing, always type a message about what is inside it in a reduced form.
- When making a pull request, we always point our branch to `develop` (and unless it is a hotfix), and on a certain day of the week or month we move everything from develop to `master`.
- Pull requests must have a description of what was done in the commits contained in it.
- The pull request cannot be **merged** into the target branch until there is at least one **approve** on the pull request and all pull request conversations are resolved.

Goals
-----

[](#goals)

- Study OO concepts.
    - What is an object and what is a class.
    - Understanding the `public`, `private` and `protected` access levels.
    - Differences between static and non-static methods. Understand the properties too.
    - How the concept of inheritance works.
    - How the interface concept works.
    - How the concept for abstract classes works.
- Study the concepts of [DDD](https://engsoftmoderna.info/artigos/ddd.html).
- Create a component for **router** to allow calls to the HTTP: GET methods; POST; OPTIONS; PUT; DELETE.
    - Study the HTTP method.
    - Understand how a **router** works. Study references [laravel](https://laravel.com/docs/9.x/routing), [yii2](https://www.yiiframework.com/doc/guide/2.0/en/runtime-routing) and [slim](https://www.slimframework.com/docs/v4/objects/routing.html).
    - Implement something similar to the basics of **slim** allowing groups of routes.
    - Allow **auto discover** route based on URI.
    - Implement middleware.
- Create base component to perform basic and dynamic operations on the MySQL database.
    - The input must be the **query** and the **array** with the data for any operation.
    - Study how a **query builder** [ORM](https://www.treinaweb.com.br/blog/o-que-e-orm) works
    - Implement a query builder.

Project structure and startup
-----------------------------

[](#project-structure-and-startup)

Composer.json was added to the root of the project to allow autoloading of the system classes we are going to build. Read the README.md inside the /src folder for more details.

To start the project with composer you need to download composer. To do this, enter the root folder of this project and then execute the commands below available [on this page](https://getcomposer.org/download/).

If everything goes well, the root of the project will have the file `composer.phar`.

Run the following commands in this order: `php composer.phar install` and then `php composer.phar dump-autoload`.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c32f36d2490d06644ea05e72c44920b27885861b781daa6c1f63c4b935dd320?d=identicon)[mathmpr](/maintainers/mathmpr)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/trentino-alto-adige/health.svg)

```
[![Health](https://phpackages.com/badges/trentino-alto-adige/health.svg)](https://phpackages.com/packages/trentino-alto-adige)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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