Skip to content

Gacela is a PHP class resolver. It helps you to improve the design of your application by splitting the logic into different modules.

License

Notifications You must be signed in to change notification settings

webcraftniray/gacela

 
 

Repository files navigation

Gacela logo

GitHub Build Status Scrutinizer Code Quality Scrutinizer Code Coverage Psalm Type-coverage Status MIT Software License

Gacela Framework

Gacela is a class resolver. It helps you to improve the design of your modules.

Inspired by Spryker Framework: https://github.com/spryker

Splitting your project into different modules will help the design of your project in terms of maintainability and scalability. It will certainly encourage your modules to interact with each other in a unified way by following these rules:

  • Different modules can interact only via their Facade.
  • The Facade has access to the Factory.
  • The Factory creates the objects from the module and has access to the Module's Config.
  • The Config gets the values from your defined config files.
  • The DependencyProvider uses the Locator to get the Facades from different modules.

Installation

composer require gacela-project/gacela

Documentation

You can check the full documentation in the official website.

Examples

You can see an example of a module using gacela in this repository.

Contribute

You are more than welcome to contribute reporting issues, sharing ideas, or contributing with your Pull Requests.

About

Gacela is a PHP class resolver. It helps you to improve the design of your application by splitting the logic into different modules.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.8%
  • Shell 0.2%