PHPackages                             glial/glial - 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. glial/glial

ActiveLibrary[Framework](/categories/framework)

glial/glial
===========

A HMVC PHP framework (include CLI mode) made for high volumetry &amp; batch process

v5.20(1y ago)77991[3 issues](https://github.com/Glial/Glial/issues)1MITPHPPHP &gt;=7.0

Since Feb 18Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/Glial/Glial)[ Packagist](https://packagist.org/packages/glial/glial)[ RSS](/packages/glial-glial/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (93)Used By (1)

Glial
=====

[](#glial)

[![Latest Stable Version](https://camo.githubusercontent.com/d9cd178b69f79e7e57a9fef779aab266dcc5e3c1e7c4b8f02ba443ea40ff28fa/68747470733a2f2f706f7365722e707567782e6f72672f676c69616c2f676c69616c2f762f737461626c652e706e67)](https://packagist.org/packages/glial/glial) [![License](https://camo.githubusercontent.com/9ee1b26c02b87e5a85df24a89cb5f37318b397a72a00e6fdb4868b203669f5a9/68747470733a2f2f706f7365722e707567782e6f72672f676c69616c2f676c69616c2f6c6963656e73652e706e67)](https://packagist.org/packages/glial/glial)

Requirement ?
-------------

[](#requirement-)

1. Linux (degraded on windows with daemon and cli)
2. **PHP 5.5** or better
3. modrewrite of Apache
4. curl
5. mcrypt

How to install?
---------------

[](#how-to-install)

### To create a new project

[](#to-create-a-new-project)

[Have a look on glial-new](https://github.com/Esysteme/glial-new)### To install as a library

[](#to-install-as-a-library)

Simply add a dependency on glial/glial to your project's composer.json file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json file that just defines a development-time dependency on Glial 3.2:

```
{
    "require": {
        "glial/glial": "5.1.*"
    }
}
```

Why use Glial?
--------------

[](#why-use-glial)

### Build application quickly

[](#build-application-quickly)

Many common components are included: translation tools, database access, code profiling, encryption, validation, and more. ### Use specific libraries and tools

[](#use-specific-libraries-and-tools)

\* Full support to PSR-0~4 \* Extending existing components and adding new libraries is very easy. ### Write commercial applications

[](#write-commercial-applications)

Uses the GU/GPL license, so you can use and modify it for commercial purposes. ### A very fast framework

[](#a-very-fast-framework)

Benchmarking a framework is hard and rarely reflects the real world, but Glial is very efficient and carefully optimized for real world usage. A simple page with core system loaded we turn around between 400 and 800 query by second.

### Good debugging and profiling tools

[](#good-debugging-and-profiling-tools)

\* Simple and effective tools help identify and solve performance issues quickly. \* In dev mode you have some tools which show you the execution time for each module and memory used, same for each databases connected ### Know what the framework is doing

[](#know-what-the-framework-is-doing)

Very well commented code and a simple routing structure makes it easy to understand what is happening. ### Works with objects and classes

[](#works-with-objects-and-classes)

This is an OOP framework that is extremely DRY. Everything is built using strict PHP 5 classes and objects. ### Write you own code

[](#write-you-own-code)

There are no code generators and endless configuration files, so setting up is fast and easy. Who use Glial ?
---------------

[](#who-use-glial-)

- Acsediate
- BNPPARIBAS
- Société Générale (SGCIB)
- Arkadin
- Alstom (Transport)
- Photobox

User Guide
----------

[](#user-guide)

Glial don't work as most of framework worked actually.

I think it's the first framework to work in a navigator and in CLI in same time. When I developed Glial, the goal was to make some stuff usable and worked fine, it's possibly that it's not nice by moment.

First you have to know if you miss somethings about spelling and stuff, All in Glial was in lower case and in singular. Why ? Like that we don't have transform any string and waste time of execution. Since we decided to follow the SPR-X, all class name and directory are now in StudyCaps

### About model.

[](#about-model)

To construct the model, we read the database to build the model. It's mean we use some convention to make a good parsing. and must respect these points :

- all tables must have the first field called id, with a primary index not null autoincremented (no more obligatory now since version 3.0)
- all fk, have to start by "id\_" fallowed by the name of the table

if for one table we need to reference two FK on the same table we have to add a "\_\_" double underscore followed by detailled name.

example : id\_user\_\_customer, id\_user\_\_provider

When we require to create a table to join 2 others you have to start the name of first table fallowed by "\_\_" fallowed by the last table to link. the names have to be sort by alphabetique.

example for table user and mail\_message

the name will be : mail\_message\_\_user

### About controller

[](#about-controller)

For the moment no custom route are supported.

One specifity of Glial, it's the controller/action can fit together, this option will be used natively with ajax, to load specificly only one area at once. Each controller/action, will be checked by auth, to decide to display or not. More each controller/action have 2 options :

- read (allow access to all in read)
- write (allow access to all in create / update / delete)

### About view

[](#about-view)

We decided to use PHP, and not an engine of template because nobody can be faster than PHP only, and the goal of Glial it's to focus on developement. And not spend time to learn a new language even it's easy.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance53

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 93.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 ~29 days

Total

91

Last Release

282d ago

Major Versions

2.1.0 → 3.0a2014-05-01

3.2.2 → 4.02015-04-03

v1.4.14 → v4.1.142018-04-19

v4.2.14 → v5.1.22019-10-21

v4.2.15 → v5.1.32019-11-05

PHP version history (3 changes)2.1.0PHP &gt;=5.5.0

3.2.2PHP &gt;=5.5

v4.1.17PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/908ad62d6d64601d968f18f56af5466e68bfead955dbc3ea44f8ceb0545d673c?d=identicon)[Esysteme](/maintainers/Esysteme)

---

Top Contributors

[![Esysteme](https://avatars.githubusercontent.com/u/2485014?v=4)](https://github.com/Esysteme "Esysteme (301 commits)")[![Aurelien92](https://avatars.githubusercontent.com/u/8307735?v=4)](https://github.com/Aurelien92 "Aurelien92 (21 commits)")[![ITSoluce](https://avatars.githubusercontent.com/u/8384911?v=4)](https://github.com/ITSoluce "ITSoluce (1 commits)")

---

Tags

framework

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[mako/framework

Mako Framework

249170.3k23](/packages/mako-framework)[yorcreative/laravel-scrubber

A laravel package that scrubs sensitive information for you.

15467.2k2](/packages/yorcreative-laravel-scrubber)

PHPackages © 2026

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