Created
July 30, 2021 07:12
-
-
Save kobus1998/85b172e667ab952db1faf01b24c12aef to your computer and use it in GitHub Desktop.
example advanced project structure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Rms\Domains\User\Commands\{ CreateUserCommand, CreateReservationHandler } | |
use Rms\App\Controllers\{ UserController, ReservationController} | |
src | |
- Domains | |
- User | |
- UserRepository.php | |
- UserEntity.php | |
- Commands | |
- CreateUserCommand.php | |
- CreateUserCommandHandler.php | |
- Reservation | |
- ReservationRepository.php | |
- ReservationEntity.php | |
- Commands | |
- CreateReservation.php | |
- CreateReservationHandler.php | |
Reservation.php | |
User.php | |
- App | |
- Controllers | |
- UserController.php | |
- ReservationController.php | |
- Middlewares | |
- BasicAuthenticationMiddleware.php | |
- Framework | |
- CommandInterface.php | |
- Util | |
- Helper.php | |
config | |
- doctrine-mapping.php | |
- router.php | |
- container.php | |
- commandbus.php | |
- bootstrap.php | |
public | |
index.php | |
vendor | |
- autoload.php | |
tests | |
- Unit | |
- Domain | |
- UserRepositoryTest.php | |
composer.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment