{"id":21243853,"url":"https://github.com/meysampg/espricho","last_synced_at":"2026-01-14T00:46:01.929Z","repository":{"id":62527543,"uuid":"188252468","full_name":"meysampg/espricho","owner":"meysampg","description":"Espricho is a lightwieght framework for php7, based on Symfony components with built-in modular system support","archived":true,"fork":false,"pushed_at":"2021-07-15T14:23:22.000Z","size":311,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T04:50:50.225Z","etag":null,"topics":["php","php-framework","php7","symfony"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meysampg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-23T14:40:32.000Z","updated_at":"2025-02-11T21:34:36.000Z","dependencies_parsed_at":"2022-11-02T15:31:06.440Z","dependency_job_id":null,"html_url":"https://github.com/meysampg/espricho","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/meysampg/espricho","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysampg%2Fespricho","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysampg%2Fespricho/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysampg%2Fespricho/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysampg%2Fespricho/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meysampg","download_url":"https://codeload.github.com/meysampg/espricho/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meysampg%2Fespricho/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","php-framework","php7","symfony"],"created_at":"2024-11-21T01:14:14.749Z","updated_at":"2026-01-14T00:46:01.907Z","avatar_url":"https://github.com/meysampg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Espricho [ABANDONED]\n🟥⚠️ _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_ ⚠️🟥\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/b3022c87609aaee11faa/maintainability)](https://codeclimate.com/github/meysampg/espricho/maintainability)\n\nEspricho is a lightwieght framework for php7, based on \n[Symfony](https://symfony.com) components with a built-in \nmodular system support.\n\n## Prevision!\nEspricho is heavily inspired from [Laravel](http://laravel.com/) \nand [Yii2](http://yiiframework.com/). Its modularity is similar to\nYii2 but thanks to the Symfony DI container, it has\na powerful container like Laravel! Espricho is the Persian name of \nswallow bird (in Kermani dialect).\n\n## Mafsho\n`mafsho` is a command line tool which provide a lot of functionality\nlike generators to work more easier with Espricho. It's a Farsi word\nmeans bag (in Kermani dialect). You can run it with `php mafsho` command.\n\n## Structure\nEspricho has a structure like this:\n```\n├── Bootstrap\n├── Components\n├── Configs\n├── Console\n├── Controllers\n├── Databases\n├── mafsho\n├── Models\n├── Modules\n├── Public\n└── Runtime\n```\nWe talk about each one in continue.\n\n## Configurations VS Environmental Variables\nEspricho supports definition of environmental variables (variables which are\ndepended on the running environment). You should put them on `.env` (or `.env.dist` \nwhich `dist` is an application stage) file. It's a good idea if all keys on the `.env`\nfile be upper case and start with the section name. For example, all ElasticSearch keys\nstarts with `ELASTICSEARCH_` prefix. \n\nOn other side, you can define application\nlevel configurations in the `Config/*.yaml` files. Finally both of this \nconfigurations are accessible from `sys()-\u003egetConfig('dot.notationed.key', 'default')`.\n\n### sys.yaml\nOn `sys.yaml` file, you could set the boot parameters of the system. As the \nmain result, you could define system module loaders under the `loader` key.\n```yaml\nsys:\n  name: Espricho\n  version: 1.0\n  max_log_files: 10\n  loader: \n    - auth\n    - db\n    - modules\n    - redis\n    - elasticsearch\n```\n\n### Database Configurations\nThe database configuration should be set on `.env` the root of the project. \nA sample for its content is similar\nto this:\n```dotenv\n# Database Configurations\nDB_DRIVER=mysql\nDB_HOST=localhost\nDB_PORT=3306\nDB_USERNAME=root\nDB_PASSWORD=root\nDB_DATABASE=db_name\n```\n\n## Modules\nFor defining module, you must put your module under the \n`Modules` folder and define your structure on it. A sample\nstructure can be something like this:\n```\nModules\n└── Shop\n    ├── Configs\n    │   └── routes.yaml\n    └── Controllers\n        └── ProductController.php\n```\nEach module has its own route definition rules and they must \nbe defined on `routes.yaml` file under `Configs` category. \nAfter definition of module, you can register it on `modules.yaml`\nin `Configs` folder of the project's root. A sample\ncontent for this configuration file is:\n```yaml\nmodules:\n  shop:\n    folder: Shop\n    route_prefix: sh\n```\nEach module can have its submodules and they must be defined on \n`modules.yaml` file in `Configs` folder of the module directory.\nDefinition of routes is similar.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysampg%2Fespricho","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeysampg%2Fespricho","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeysampg%2Fespricho/lists"}