-
-
Notifications
You must be signed in to change notification settings - Fork 15
Migrate Laravel View #304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Migrate Laravel View #304
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR migrates Laravel View functionality to Hypervel, including comprehensive test coverage for Blade compilation, view components, and the view engine system. The migration includes test fixtures, unit tests for various Blade directives and features, and core source files for the view service provider, view name normalization, and engine implementations.
Key Changes:
- Added comprehensive test suite covering Blade compilation features (150+ test files)
- Implemented ViewServiceProvider for dependency injection and service registration
- Added ViewName class for view name normalization
- Created ViewFinderInterface defining the view finder contract
- Implemented ViewException for view-specific error handling
- Added ShareErrorsFromSession middleware for error handling
- Implemented FileEngine for raw file rendering
Reviewed changes
Copilot reviewed 150 out of 151 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/View/fixtures/* | Test fixture files for view rendering tests |
| tests/View/ViewTest.php | Unit tests for View class functionality |
| tests/View/ViewPhpEngineTest.php | Tests for PHP engine |
| tests/View/ViewFileViewFinderTest.php | Tests for file view finder |
| tests/View/ViewFactoryTest.php | Comprehensive tests for view factory |
| tests/View/ViewEngineResolverTest.php | Tests for engine resolver |
| tests/View/ViewComponentTest.php | Tests for view components |
| tests/View/ViewComponentAttributeBagTest.php | Tests for component attributes |
| tests/View/ViewCompilerEngineTest.php | Tests for compiler engine |
| tests/View/ViewBladeCompilerTest.php | Tests for Blade compiler |
| tests/View/ComponentTest.php | Component integration tests |
| tests/View/Blade/* | Extensive Blade directive compilation tests |
| src/view/src/ViewServiceProvider.php | Service provider for view system |
| src/view/src/ViewName.php | View name normalization utility |
| src/view/src/ViewFinderInterface.php | Interface for view finding |
| src/view/src/ViewException.php | Custom exception for views |
| src/view/src/Middleware/ShareErrorsFromSession.php | Middleware for error sharing |
| src/view/src/Engines/FileEngine.php | File-based rendering engine |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.