PHPackages                             meysampg/espricho - 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. meysampg/espricho

AbandonedArchivedProject[Framework](/categories/framework)

meysampg/espricho
=================

A ready to use modular framework (like Yii2) with a powerful container (like Laravel) for php

v1.0.2(6y ago)921MITPHP

Since Jun 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/meysampg/espricho)[ Packagist](https://packagist.org/packages/meysampg/espricho)[ RSS](/packages/meysampg-espricho/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (26)Versions (4)Used By (0)

Espricho \[ABANDONED\]
======================

[](#espricho-abandoned)

🟥⚠️ *THIS PACKAGE IS ABANDONED. PLEASE SELECT ANOTHER PACKAGE OR FORK THIS REPOSITORY AND INFORM ME ON p.g.meysam \[at\] Gmail \[dot\] com TO REFER TO YOUR PACKAGE IN PACKAGIST* ⚠️🟥

[![Maintainability](https://camo.githubusercontent.com/3151c524e456776f29efe9a3e1d8f03757ef074643b486fcf9f86c5aaefdd038/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62333032326338373630396161656531316661612f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/meysampg/espricho/maintainability)

Espricho is a lightwieght framework for php7, based on [Symfony](https://symfony.com) components with a built-in modular system support.

Prevision!
----------

[](#prevision)

Espricho is heavily inspired from [Laravel](http://laravel.com/)and [Yii2](http://yiiframework.com/). Its modularity is similar to Yii2 but thanks to the Symfony DI container, it has a powerful container like Laravel! Espricho is the Persian name of swallow bird (in Kermani dialect).

Mafsho
------

[](#mafsho)

`mafsho` is a command line tool which provide a lot of functionality like generators to work more easier with Espricho. It's a Farsi word means bag (in Kermani dialect). You can run it with `php mafsho` command.

Structure
---------

[](#structure)

Espricho has a structure like this:

```
├── Bootstrap
├── Components
├── Configs
├── Console
├── Controllers
├── Databases
├── mafsho
├── Models
├── Modules
├── Public
└── Runtime

```

We talk about each one in continue.

Configurations VS Environmental Variables
-----------------------------------------

[](#configurations-vs-environmental-variables)

Espricho supports definition of environmental variables (variables which are depended on the running environment). You should put them on `.env` (or `.env.dist`which `dist` is an application stage) file. It's a good idea if all keys on the `.env`file be upper case and start with the section name. For example, all ElasticSearch keys starts with `ELASTICSEARCH_` prefix.

On other side, you can define application level configurations in the `Config/*.yaml` files. Finally both of this configurations are accessible from `sys()->getConfig('dot.notationed.key', 'default')`.

### sys.yaml

[](#sysyaml)

On `sys.yaml` file, you could set the boot parameters of the system. As the main result, you could define system module loaders under the `loader` key.

```
sys:
  name: Espricho
  version: 1.0
  max_log_files: 10
  loader:
    - auth
    - db
    - modules
    - redis
    - elasticsearch
```

### Database Configurations

[](#database-configurations)

The database configuration should be set on `.env` the root of the project. A sample for its content is similar to this:

```
# Database Configurations
DB_DRIVER=mysql
DB_HOST=localhost
DB_PORT=3306
DB_USERNAME=root
DB_PASSWORD=root
DB_DATABASE=db_name
```

Modules
-------

[](#modules)

For defining module, you must put your module under the `Modules` folder and define your structure on it. A sample structure can be something like this:

```
Modules
└── Shop
    ├── Configs
    │   └── routes.yaml
    └── Controllers
        └── ProductController.php

```

Each module has its own route definition rules and they must be defined on `routes.yaml` file under `Configs` category. After definition of module, you can register it on `modules.yaml`in `Configs` folder of the project's root. A sample content for this configuration file is:

```
modules:
  shop:
    folder: Shop
    route_prefix: sh
```

Each module can have its submodules and they must be defined on `modules.yaml` file in `Configs` folder of the module directory. Definition of routes is similar.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 98.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 ~90 days

Total

3

Last Release

2351d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1416085?v=4)[Meysam P. Ganji](/maintainers/meysampg)[@meysampg](https://github.com/meysampg)

---

Top Contributors

[![meysampg](https://avatars.githubusercontent.com/u/1416085?v=4)](https://github.com/meysampg "meysampg (164 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

phpphp-frameworkphp7symfony

### Embed Badge

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

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

###  Alternatives

[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

7310.3k29](/packages/open-dxp-opendxp)

PHPackages © 2026

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