allysonsilva / laravel-ddd

πŸ—πŸ‘·β€β™‚οΈ Study and concepts of DDD architecture applied in Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gerenciamento de Empresas com Fornecedores

  • php artisan migrate
  • php artisan db:seed --domain=Users
  • php artisan db:seed --domain=Companies
  • php artisan db:seed --domain=Suppliers

Estrutura da Aplicação - app

app
β”œβ”€β”€ Core
β”‚   β”œβ”€β”€ Console
β”‚   β”‚   β”œβ”€β”€ Kernel.php
β”‚   β”‚   └── Traits
β”‚   β”‚       └── ExposeBehaviors.php
β”‚   β”œβ”€β”€ Exceptions
β”‚   β”‚   └── Handler.php
β”‚   β”œβ”€β”€ Http
β”‚   β”‚   β”œβ”€β”€ Kernel.php
β”‚   β”‚   └── Middleware
β”‚   β”‚       β”œβ”€β”€ Authenticate.php
β”‚   β”‚       β”œβ”€β”€ CheckForMaintenanceMode.php
β”‚   β”‚       β”œβ”€β”€ EncryptCookies.php
β”‚   β”‚       β”œβ”€β”€ RedirectIfAuthenticated.php
β”‚   β”‚       β”œβ”€β”€ TrimStrings.php
β”‚   β”‚       β”œβ”€β”€ TrustProxies.php
β”‚   β”‚       └── VerifyCsrfToken.php
β”‚   └── Providers
β”‚       β”œβ”€β”€ AppServiceProvider.php
β”‚       └── RouteServiceProvider.php
β”œβ”€β”€ Domains
β”‚   β”œβ”€β”€ Companies
β”‚   β”‚   β”œβ”€β”€ Console
β”‚   β”‚   β”‚   └── Closures
β”‚   β”‚   β”‚       └── ClosureCommands.php
β”‚   β”‚   β”œβ”€β”€ Database
β”‚   β”‚   β”‚   β”œβ”€β”€ Factories
β”‚   β”‚   β”‚   β”‚   └── CompanyFactory.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Migrations
β”‚   β”‚   β”‚   β”‚   └── 2019_07_01_203524_create_companies_table.php
β”‚   β”‚   β”‚   └── Seeders
β”‚   β”‚   β”‚       └── DatabaseSeeder.php
β”‚   β”‚   β”œβ”€β”€ Http
β”‚   β”‚   β”‚   β”œβ”€β”€ Controllers
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Api
β”‚   β”‚   β”‚   β”‚   β”‚   └── CompanyController.php
β”‚   β”‚   β”‚   β”‚   └── CompanyController.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Requests
β”‚   β”‚   β”‚   β”‚   └── CompanyFormRequest.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Resources
β”‚   β”‚   β”‚   β”‚   └── CompanyResource.php
β”‚   β”‚   β”‚   └── Routes
β”‚   β”‚   β”‚       β”œβ”€β”€ Api.php
β”‚   β”‚   β”‚       └── Web.php
β”‚   β”‚   β”œβ”€β”€ Models
β”‚   β”‚   β”‚   β”œβ”€β”€ Company.php
β”‚   β”‚   β”‚   └── Traits
β”‚   β”‚   β”‚       β”œβ”€β”€ CompanyBoot.php
β”‚   β”‚   β”‚       └── CompanyRelationship.php
β”‚   β”‚   β”œβ”€β”€ Policies
β”‚   β”‚   β”‚   └── CompanyPolicy.php
β”‚   β”‚   β”œβ”€β”€ Providers
β”‚   β”‚   β”‚   β”œβ”€β”€ AuthServiceProvider.php
β”‚   β”‚   β”‚   β”œβ”€β”€ CompanyServiceProvider.php
β”‚   β”‚   β”‚   └── RouteServiceProvider.php
β”‚   β”‚   β”œβ”€β”€ Repositories
β”‚   β”‚   β”‚   β”œβ”€β”€ CompanyRepository.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Criteria
β”‚   β”‚   β”‚   β”‚   └── JoinUserCriteria.php
β”‚   β”‚   β”‚   └── Filterable
β”‚   β”‚   β”‚       └── CompanyBuilderFilter.php
β”‚   β”‚   β”œβ”€β”€ Resources
β”‚   β”‚   β”‚   └── Views
β”‚   β”‚   β”‚       β”œβ”€β”€ _filter.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ _form.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ _header.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ create.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ edit.blade.php
β”‚   β”‚   β”‚       └── index.blade.php
β”‚   β”‚   └── Services
β”‚   β”‚       └── CompanyService.php
β”‚   β”œβ”€β”€ DomainServiceProvider.php
β”‚   β”œβ”€β”€ Suppliers
β”‚   β”‚   β”œβ”€β”€ Console
β”‚   β”‚   β”‚   └── Closures
β”‚   β”‚   β”‚       └── ClosureCommands.php
β”‚   β”‚   β”œβ”€β”€ Database
β”‚   β”‚   β”‚   β”œβ”€β”€ Factories
β”‚   β”‚   β”‚   β”‚   └── SupplierFactory.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Migrations
β”‚   β”‚   β”‚   β”‚   └── 2019_07_01_240880_create_suppliers_table.php
β”‚   β”‚   β”‚   └── Seeders
β”‚   β”‚   β”‚       β”œβ”€β”€ DatabaseSeeder.php
β”‚   β”‚   β”‚       └── SuppliersTableSeeder.php
β”‚   β”‚   β”œβ”€β”€ Http
β”‚   β”‚   β”‚   β”œβ”€β”€ Controllers
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Api
β”‚   β”‚   β”‚   β”‚   β”‚   └── SupplierController.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ SupplierController.php
β”‚   β”‚   β”‚   β”‚   └── SupplierGuestController.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Requests
β”‚   β”‚   β”‚   β”‚   └── SupplierFormRequest.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Resources
β”‚   β”‚   β”‚   β”‚   └── SupplierResource.php
β”‚   β”‚   β”‚   └── Routes
β”‚   β”‚   β”‚       β”œβ”€β”€ Api.php
β”‚   β”‚   β”‚       β”œβ”€β”€ Web.php
β”‚   β”‚   β”‚       └── WebGuest.php
β”‚   β”‚   β”œβ”€β”€ Models
β”‚   β”‚   β”‚   β”œβ”€β”€ Supplier.php
β”‚   β”‚   β”‚   └── Traits
β”‚   β”‚   β”‚       β”œβ”€β”€ Boots
β”‚   β”‚   β”‚       β”‚   └── QueryFilterSuppliersByUsers.php
β”‚   β”‚   β”‚       β”œβ”€β”€ Scopes
β”‚   β”‚   β”‚       β”‚   └── SuppliersOnlyCompanyScope.php
β”‚   β”‚   β”‚       β”œβ”€β”€ SupplierFunction.php
β”‚   β”‚   β”‚       └── SupplierRelationship.php
β”‚   β”‚   β”œβ”€β”€ Notifications
β”‚   β”‚   β”‚   └── LinkToSupplierActivation.php
β”‚   β”‚   β”œβ”€β”€ Pipelines
β”‚   β”‚   β”‚   └── SanitizeMonthlyPayment.php
β”‚   β”‚   β”œβ”€β”€ Policies
β”‚   β”‚   β”‚   └── SupplierPolicy.php
β”‚   β”‚   β”œβ”€β”€ Providers
β”‚   β”‚   β”‚   β”œβ”€β”€ AuthServiceProvider.php
β”‚   β”‚   β”‚   β”œβ”€β”€ RouteServiceProvider.php
β”‚   β”‚   β”‚   └── SupplierServiceProvider.php
β”‚   β”‚   β”œβ”€β”€ Repositories
β”‚   β”‚   β”‚   β”œβ”€β”€ Filterable
β”‚   β”‚   β”‚   β”‚   └── SupplierBuilderFilter.php
β”‚   β”‚   β”‚   └── SupplierRepository.php
β”‚   β”‚   β”œβ”€β”€ Resources
β”‚   β”‚   β”‚   └── Views
β”‚   β”‚   β”‚       β”œβ”€β”€ _filter.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ _form.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ _header.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ create.blade.php
β”‚   β”‚   β”‚       β”œβ”€β”€ edit.blade.php
β”‚   β”‚   β”‚       └── index.blade.php
β”‚   β”‚   └── Services
β”‚   β”‚       └── SupplierService.php
β”‚   └── Users
β”‚       β”œβ”€β”€ Console
β”‚       β”‚   β”œβ”€β”€ Closures
β”‚       β”‚   β”‚   └── ClosureCommands.php
β”‚       β”‚   └── Commands
β”‚       β”‚       └── UserCommand.php
β”‚       β”œβ”€β”€ Database
β”‚       β”‚   β”œβ”€β”€ Factories
β”‚       β”‚   β”‚   β”œβ”€β”€ UserAdminRoleFactory.php
β”‚       β”‚   β”‚   β”œβ”€β”€ UserCompanyRoleFactory.php
β”‚       β”‚   β”‚   β”œβ”€β”€ UserFactory.php
β”‚       β”‚   β”‚   └── UserSuperAdminRoleFactory.php
β”‚       β”‚   β”œβ”€β”€ Migrations
β”‚       β”‚   β”‚   β”œβ”€β”€ 2019_07_01_049635_create_roles_table.php
β”‚       β”‚   β”‚   β”œβ”€β”€ 2019_07_01_113233_create_logins_table.php
β”‚       β”‚   β”‚   β”œβ”€β”€ 2019_07_01_117085_create_users_table.php
β”‚       β”‚   β”‚   └── 2019_08_23_101100_add_session_id_to_users_table.php
β”‚       β”‚   └── Seeders
β”‚       β”‚       β”œβ”€β”€ AdminsUsersTableSeeder.php
β”‚       β”‚       β”œβ”€β”€ CompaniesUsersTableSeeder.php
β”‚       β”‚       β”œβ”€β”€ DatabaseSeeder.php
β”‚       β”‚       β”œβ”€β”€ RolesTableSeeder.php
β”‚       β”‚       β”œβ”€β”€ SQL
β”‚       β”‚       β”‚   └── roles.sql
β”‚       β”‚       └── SuperAdminsUsersTableSeeder.php
β”‚       β”œβ”€β”€ Http
β”‚       β”‚   β”œβ”€β”€ Controllers
β”‚       β”‚   β”‚   β”œβ”€β”€ Api
β”‚       β”‚   β”‚   β”‚   └── UserController.php
β”‚       β”‚   β”‚   └── UserController.php
β”‚       β”‚   β”œβ”€β”€ Requests
β”‚       β”‚   β”‚   └── UserFormRequest.php
β”‚       β”‚   └── Routes
β”‚       β”‚       β”œβ”€β”€ Api.php
β”‚       β”‚       └── Web.php
β”‚       β”œβ”€β”€ Models
β”‚       β”‚   β”œβ”€β”€ Admin.php
β”‚       β”‚   β”œβ”€β”€ Company.php
β”‚       β”‚   β”œβ”€β”€ Role.php
β”‚       β”‚   β”œβ”€β”€ SuperAdmin.php
β”‚       β”‚   β”œβ”€β”€ Traits
β”‚       β”‚   β”‚   β”œβ”€β”€ RoleRelationship.php
β”‚       β”‚   β”‚   β”œβ”€β”€ UserAccessor.php
β”‚       β”‚   β”‚   β”œβ”€β”€ UserBoot.php
β”‚       β”‚   β”‚   β”œβ”€β”€ UserFunction.php
β”‚       β”‚   β”‚   β”œβ”€β”€ UserRelationship.php
β”‚       β”‚   β”‚   └── UserScope.php
β”‚       β”‚   └── User.php
β”‚       β”œβ”€β”€ Observers
β”‚       β”‚   └── UserObserver.php
β”‚       β”œβ”€β”€ Policies
β”‚       β”‚   └── UserPolicy.php
β”‚       β”œβ”€β”€ Providers
β”‚       β”‚   β”œβ”€β”€ AuthServiceProvider.php
β”‚       β”‚   β”œβ”€β”€ BindServiceProvider.php
β”‚       β”‚   β”œβ”€β”€ EventServiceProvider.php
β”‚       β”‚   β”œβ”€β”€ RouteServiceProvider.php
β”‚       β”‚   └── UserServiceProvider.php
β”‚       β”œβ”€β”€ Repositories
β”‚       β”‚   β”œβ”€β”€ Criteria
β”‚       β”‚   β”‚   β”œβ”€β”€ JoinRoleCriteria.php
β”‚       β”‚   β”‚   └── UserPermissionCriteria.php
β”‚       β”‚   β”œβ”€β”€ Filterable
β”‚       β”‚   β”‚   └── UserBuilderFilter.php
β”‚       β”‚   β”œβ”€β”€ Filters
β”‚       β”‚   β”‚   └── NameOrEmail.php
β”‚       β”‚   β”œβ”€β”€ RoleRepository.php
β”‚       β”‚   └── UserRepository.php
β”‚       β”œβ”€β”€ Resources
β”‚       β”‚   β”œβ”€β”€ Lang
β”‚       β”‚   β”‚   β”œβ”€β”€ en
β”‚       β”‚   β”‚   β”‚   └── messages.php
β”‚       β”‚   β”‚   └── pt_BR
β”‚       β”‚   β”‚       └── messages.php
β”‚       β”‚   └── Views
β”‚       β”‚       β”œβ”€β”€ _filter.blade.php
β”‚       β”‚       β”œβ”€β”€ _form.blade.php
β”‚       β”‚       β”œβ”€β”€ _header.blade.php
β”‚       β”‚       β”œβ”€β”€ create.blade.php
β”‚       β”‚       β”œβ”€β”€ edit.blade.php
β”‚       β”‚       └── index.blade.php
β”‚       └── Services
β”‚           └── UserService.php
β”œβ”€β”€ Support
β”‚   β”œβ”€β”€ Console
β”‚   β”‚   └── Routing
β”‚   β”‚       └── RouteFile.php
β”‚   β”œβ”€β”€ Database
β”‚   β”‚   β”œβ”€β”€ Console
β”‚   β”‚   β”‚   β”œβ”€β”€ ArtisanServiceProvider.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Factories
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ FactoryMakeCommand.php
β”‚   β”‚   β”‚   β”‚   └── stubs
β”‚   β”‚   β”‚   β”‚       └── factory.stub
β”‚   β”‚   β”‚   β”œβ”€β”€ Migrations
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Contracts
β”‚   β”‚   β”‚   β”‚   β”‚   └── MigrationConstants.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ MigrateCommand.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ MigrateMakeCommand.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ResetCommand.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ RollbackCommand.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ StatusCommand.php
β”‚   β”‚   β”‚   β”‚   └── Traits
β”‚   β”‚   β”‚   β”‚       └── MigrationPathsTrait.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Seeds
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ SeedCommand.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ SeederMakeCommand.php
β”‚   β”‚   β”‚   β”‚   └── stubs
β”‚   β”‚   β”‚   β”‚       └── seeder.stub
β”‚   β”‚   β”‚   └── Traits
β”‚   β”‚   β”‚       β”œβ”€β”€ DefaultToGeneratorCommand.php
β”‚   β”‚   β”‚       β”œβ”€β”€ DomainArgument.php
β”‚   β”‚   β”‚       └── DomainComponentNamespace.php
β”‚   β”‚   β”œβ”€β”€ ConsoleSupportServiceProvider.php
β”‚   β”‚   └── Eloquent
β”‚   β”‚       └── ModelFactory.php
β”‚   β”œβ”€β”€ Domain
β”‚   β”‚   └── ServiceProvider.php
β”‚   β”œβ”€β”€ Exceptions
β”‚   β”‚   β”œβ”€β”€ BaseException.php
β”‚   β”‚   └── HttpException
β”‚   β”‚       β”œβ”€β”€ BadRequestException.php
β”‚   β”‚       β”œβ”€β”€ ConflictException.php
β”‚   β”‚       β”œβ”€β”€ ForbiddenException.php
β”‚   β”‚       β”œβ”€β”€ InternalServerErrorException.php
β”‚   β”‚       β”œβ”€β”€ NotFoundException.php
β”‚   β”‚       β”œβ”€β”€ RequestTimeoutException.php
β”‚   β”‚       β”œβ”€β”€ RequestUriTooLongException.php
β”‚   β”‚       β”œβ”€β”€ UnauthorizedException.php
β”‚   β”‚       └── UnprocessableEntityException.php
β”‚   β”œβ”€β”€ Helpers
β”‚   β”‚   └── ApplicationHelper.php
β”‚   β”œβ”€β”€ Http
β”‚   β”‚   └── Controller.php
β”‚   β”œβ”€β”€ Localization
β”‚   β”‚   └── LocalizationServiceProvider.php
β”‚   β”œβ”€β”€ Models
β”‚   β”‚   β”œβ”€β”€ BaseCollection.php
β”‚   β”‚   β”œβ”€β”€ BaseEloquentBuilder.php
β”‚   β”‚   └── BaseModel.php
β”‚   β”œβ”€β”€ Queue
β”‚   β”‚   β”œβ”€β”€ HorizonApplicationServiceProvider.php
β”‚   β”‚   └── HorizonServiceProvider.php
β”‚   β”œβ”€β”€ Repository
β”‚   β”‚   β”œβ”€β”€ Eloquent
β”‚   β”‚   β”‚   β”œβ”€β”€ BaseRepository.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Contracts
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ CriterionInterface.php
β”‚   β”‚   β”‚   β”‚   └── RepositoryInterface.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Criteria
β”‚   β”‚   β”‚   β”‚   └── FindWhere.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Filterable
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Clauses
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ OrWhereClause.php
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ OrWhereLikeClause.php
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ WhereClause.php
β”‚   β”‚   β”‚   β”‚   β”‚   └── WhereLikeClause.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Constants
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ GroupBy.php
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Limit.php
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ OrderBy.php
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Page.php
β”‚   β”‚   β”‚   β”‚   β”‚   └── SortBy.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Contracts
β”‚   β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ClausesInterface.php
β”‚   β”‚   β”‚   β”‚   β”‚   └── FiltersInterface.php
β”‚   β”‚   β”‚   β”‚   └── QueryBuilderFilter.php
β”‚   β”‚   β”‚   β”œβ”€β”€ Operations
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ RepositoryCreate.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ RepositoryDelete.php
β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ RepositoryRead.php
β”‚   β”‚   β”‚   β”‚   └── RepositoryUpdate.php
β”‚   β”‚   β”‚   └── Traits
β”‚   β”‚   β”‚       β”œβ”€β”€ CacheableRepository.php
β”‚   β”‚   β”‚       └── HandleCriteria.php
β”‚   β”‚   └── Exceptions
β”‚   β”‚       └── RepositoryException.php
β”‚   β”œβ”€β”€ Service
β”‚   β”‚   β”œβ”€β”€ BaseService.php
β”‚   β”‚   └── Operations
β”‚   β”‚       β”œβ”€β”€ ServiceCreate.php
β”‚   β”‚       β”œβ”€β”€ ServiceDelete.php
β”‚   β”‚       β”œβ”€β”€ ServiceRead.php
β”‚   β”‚       └── ServiceUpdate.php
β”‚   β”œβ”€β”€ Specifications
β”‚   β”‚   β”œβ”€β”€ AbstractPermissionSpecification.php
β”‚   β”‚   β”œβ”€β”€ AbstractRoleSpecification.php
β”‚   β”‚   β”œβ”€β”€ AndSpecification.php
β”‚   β”‚   β”œβ”€β”€ Contracts
β”‚   β”‚   β”‚   └── Specification.php
β”‚   β”‚   β”œβ”€β”€ NotSpecification.php
β”‚   β”‚   └── OrSpecification.php
β”‚   β”œβ”€β”€ SupportServiceProvider.php
β”‚   β”œβ”€β”€ Validator
β”‚   β”‚   └── FormRequestValidator.php
β”‚   └── View
β”‚       β”œβ”€β”€ Building
β”‚       β”‚   β”œβ”€β”€ BladeExtensionsServiceProvider.php
β”‚       β”‚   β”œβ”€β”€ FormServiceProvider.php
β”‚       β”‚   └── LayoutServiceProvider.php
β”‚       β”œβ”€β”€ Composers
β”‚       β”‚   └── FormValidationClassComposer.php
β”‚       └── ViewServiceProvider.php
└── Units
    β”œβ”€β”€ Auth
    β”‚   β”œβ”€β”€ Http
    β”‚   β”‚   β”œβ”€β”€ Controllers
    β”‚   β”‚   β”‚   β”œβ”€β”€ Api
    β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ AuthController.php
    β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ Controller.php
    β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ForgotPasswordController.php
    β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ MeController.php
    β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ RegisterController.php
    β”‚   β”‚   β”‚   β”‚   β”œβ”€β”€ ResetPasswordController.php
    β”‚   β”‚   β”‚   β”‚   └── Traits
    β”‚   β”‚   β”‚   β”‚       β”œβ”€β”€ Respond.php
    β”‚   β”‚   β”‚   β”‚       └── Token.php
    β”‚   β”‚   β”‚   └── Web
    β”‚   β”‚   β”‚       β”œβ”€β”€ Controller.php
    β”‚   β”‚   β”‚       β”œβ”€β”€ ForgotPasswordController.php
    β”‚   β”‚   β”‚       β”œβ”€β”€ LoginController.php
    β”‚   β”‚   β”‚       β”œβ”€β”€ RegisterController.php
    β”‚   β”‚   β”‚       β”œβ”€β”€ ResetPasswordController.php
    β”‚   β”‚   β”‚       └── VerificationController.php
    β”‚   β”‚   β”œβ”€β”€ Middleware
    β”‚   β”‚   β”‚   β”œβ”€β”€ ApiAuthenticate.php
    β”‚   β”‚   β”‚   └── CheckRole.php
    β”‚   β”‚   β”œβ”€β”€ Resources
    β”‚   β”‚   β”‚   └── UserResource.php
    β”‚   β”‚   └── Routes
    β”‚   β”‚       β”œβ”€β”€ Api.php
    β”‚   β”‚       └── Web.php
    β”‚   β”œβ”€β”€ Listeners
    β”‚   β”‚   β”œβ”€β”€ SendEmailSuccessfullyVerifiedNotification.php
    β”‚   β”‚   β”œβ”€β”€ SendPasswordSuccessfullyResetNotification.php
    β”‚   β”‚   └── SendVerifyEmailNotification.php
    β”‚   β”œβ”€β”€ Login.php
    β”‚   β”œβ”€β”€ Notifications
    β”‚   β”‚   β”œβ”€β”€ EmailSuccessfullyVerified.php
    β”‚   β”‚   β”œβ”€β”€ LinkToResetPassword.php
    β”‚   β”‚   β”œβ”€β”€ LinkToVerifyEmail.php
    β”‚   β”‚   β”œβ”€β”€ PasswordSuccessfullyReset.php
    β”‚   β”‚   β”œβ”€β”€ ResetPasswordNotificationToMail.php
    β”‚   β”‚   └── VerifyEmailNotificationToMail.php
    β”‚   β”œβ”€β”€ Providers
    β”‚   β”‚   β”œβ”€β”€ AuthServiceProvider.php
    β”‚   β”‚   β”œβ”€β”€ EventServiceProvider.php
    β”‚   β”‚   β”œβ”€β”€ RouteServiceProvider.php
    β”‚   β”‚   └── UnitServiceProvider.php
    β”‚   β”œβ”€β”€ Resources
    β”‚   β”‚   └── Views
    β”‚   β”‚       β”œβ”€β”€ login.blade.php
    β”‚   β”‚       β”œβ”€β”€ passwords
    β”‚   β”‚       β”‚   β”œβ”€β”€ email.blade.php
    β”‚   β”‚       β”‚   └── reset.blade.php
    β”‚   β”‚       β”œβ”€β”€ register.blade.php
    β”‚   β”‚       └── verify.blade.php
    β”‚   β”œβ”€β”€ Services
    β”‚   β”‚   β”œβ”€β”€ OneSessionPerUser.php
    β”‚   β”‚   β”œβ”€β”€ StoreUserAndCompany.php
    β”‚   β”‚   └── UpdateUserLastLogin.php
    β”‚   └── User.php
    └── Dashboard
        β”œβ”€β”€ Http
        β”‚   β”œβ”€β”€ Controllers
        β”‚   β”‚   └── Web
        β”‚   β”‚       └── DashboardController.php
        β”‚   └── Routes
        β”‚       └── Web.php
        β”œβ”€β”€ Providers
        β”‚   β”œβ”€β”€ RouteServiceProvider.php
        β”‚   └── UnitServiceProvider.php
        └── Resources
            └── Views
                └── index.blade.php

About

πŸ—πŸ‘·β€β™‚οΈ Study and concepts of DDD architecture applied in Laravel


Languages

Language:PHP 79.7%Language:HTML 20.3%