Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Nov 7, 2022
1 parent 0ebf703 commit 3956de4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,24 @@ An example of an application structure using gacela modules:

```bash
application-name
├── gacela.php # You can customize some behaviours of gacela.
├── gacela.php # You can customize some behaviours of gacela
├── config
│ ├── default.php
│ └── local.php
├── public
│ └── index.php # An example of your application entry point.
│ └── index.php # An example of your application entry point
├── src
│ ├── ExampleModuleWithoutPrefix
│ │ ├── Domain # The directory structure/naming here is up to you.
│ │ ├── Domain # The directory structure & naming is up to you
│ │ │ └── YourLogicClass.php
│ │ ├── Facade.php # These are the 4 "gacela classes":
│ │ └── Factory.php # - You can prefix them with its module name.
│ │ ├── Config.php # - Autowiring customizable in `gacela.php`.
│ │ └── DependencyProvider.php # - Suffix naming customizable in `gacela.php`.
│ │ ├── Factory.php # - Facade, Factory, Config, DependencyProvider
│ │ ├── Config.php # - Prefix with its module name optional
│ │ └── DependencyProvider.php # - Autowiring customizable, and more!
│ │ # - Customizations in `gacela.php`
│ │
│ └── ExampleModuleWithPrefix
│ ├── Domain
Expand Down

0 comments on commit 3956de4

Please sign in to comment.