IMS-33: Laravel 12 File structure migrate and New Engineering standard#9
Merged
Conversation
refactor(repositories): implement UserRepository interface and provider feat(media): add Media model and factory for user profile handling docs(api): update API documentation for user and role resources fix(validation): simplify role and user request validation rules
docs: create detailed documentation for all features and setup test: implement unit and feature tests for user, role, and permission management refactor: update role service to use repository pattern chore: add license file and project structure documentation
- Introduce repository interface stub and implement interface in repository class - Update MakeRepositoryCommand to generate both repository and interface files - Automatically bind repository to interface in RepositoryServiceProvider - Update GenerateCrudStarter to include repository generation
Add CACHE_DRIVER, SESSION_DRIVER, and QUEUE_CONNECTION environment variables to ensure consistent testing environment. Remove redundant cache clearing step since we're now using array driver for cache.
Add a comprehensive pull request template to standardize PR descriptions and ensure all necessary information is included for code reviews. The template includes sections for context, type of change, Laravel specifics, testing strategy, and deployment notes.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
IMS-33: Laravel 12 File Structure Migration & New Engineering Standards
Overview
This PR migrates the codebase from the legacy Laravel (< v10) structure to the Laravel 12 modern, slim architecture, while introducing new engineering standards focused on scalability, maintainability, and developer experience.
Key Changes
1. Laravel 12 Modern File Structure
2. Architecture Pattern Upgrade
3. API Documentation Enhancements
4. Engineering Standards & Improvements
Why This Change
Backward Compatibility
Testing
/docs/docs/swaggerChecklist