PHPackages                             sohoa/framework - 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. sohoa/framework

ActiveLibrary

sohoa/framework
===============

46353[4 issues](https://github.com/sohoa/framework/issues)PHP

Since Aug 4Pushed 10y ago4 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

sohoa
=====

[](#sohoa)

PHP framework based on Hoa

Convention de codage / PSR1-2 / Git hook:
-----------------------------------------

[](#convention-de-codage--psr1-2--git-hook)

Sohoa/Framework respecte PSR1 et PSR2 comme convention de codage. Pour faciliter le travail nous utilisons l'outil [PHP-CS-Fixer](https://github.com/fabpot/PHP-CS-Fixer) permet de vérifier et corriger automatiquement le code qui ne respecte pas les standards PSR1 et 2. Avec la ligne de commande suivante :

```
php /path/to/php-cs-fixer.php fix /path/to/the/framework

```

On peut également ajouter cette vérification en hook de pre-commit pour Git. Il faut pour cela ajouter dans le dossier .git du dépôt local dans le fichier `pre-commit` une grande partie du code a été trouvé chez [LilaConcepts](https://github.com/LilaConcepts/LilaConceptsBestPracticeBundle)

##### Simple vérification thanks to [lilaconcepts](https://raw.github.com/LilaConcepts/LilaConceptsBestPracticeBundle/master/hooks/pre-commit-cs-fixer)

[](#simple-vérification-thanks-to-lilaconcepts)

```
#!/bin/sh

PROJECTROOT=`echo $(cd ${0%/*}/../../ && pwd -P)`/
FIXER=php-cs-fixer.phar

if [ ! -e ${PROJECTROOT}${FIXER} ]; then
	echo "PHP-CS-Fixer not available, downloading to ${PROJECTROOT}${FIXER}..."
	curl -s http://cs.sensiolabs.org/get/$FIXER > ${PROJECTROOT}${FIXER}
	echo "Done. First time to check the Coding Standards."
	echo ""
fi

RES=`php ${PROJECTROOT}${FIXER} fix $PROJECTROOT --verbose --dry-run`
if [ "$RES" != "" ]; then
	echo "Coding standards are not correct, cancelling your commit."
	echo ""
	echo $RES
	echo ""
        echo "If you want to fix them run:"
	echo ""
	echo "    php ${PROJECTROOT}${FIXER} fix ${PROJECTROOT} --verbose"
	echo ""
	exit 1
fi

```

##### Tip

[](#tip)

Pour commiter sans passer par le hook on peut utiliser la ligne de commande suivante :

```
git commit -m "message" --no-verify

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.3% 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/ed2e14f65c06c676718d820b62339447c17d3db8bd9b90bd83de1890256f49a2?d=identicon)[maitrepylos](/maintainers/maitrepylos)

---

Top Contributors

[![osaris](https://avatars.githubusercontent.com/u/125797?v=4)](https://github.com/osaris "osaris (58 commits)")[![guiled](https://avatars.githubusercontent.com/u/311895?v=4)](https://github.com/guiled "guiled (11 commits)")[![maitrepylos](https://avatars.githubusercontent.com/u/1299622?v=4)](https://github.com/maitrepylos "maitrepylos (6 commits)")

### Embed Badge

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

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

PHPackages © 2026

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