Skip to content

Comments

Laravel boost v2#104

Merged
CodeWithDennis merged 10 commits into5.xfrom
laravel-boost-v2
Feb 3, 2026
Merged

Laravel boost v2#104
CodeWithDennis merged 10 commits into5.xfrom
laravel-boost-v2

Conversation

@CodeWithDennis
Copy link
Owner

@CodeWithDennis CodeWithDennis commented Feb 3, 2026

This pull request introduces several new configuration and documentation files aimed at standardizing development workflows, enforcing code quality, and establishing project-specific conventions. The main themes are the introduction of automated quality checks, documentation of project rules, and configuration for project-specific tooling.

Automated Quality Checks and Tooling:

  • Added a .cursor/hooks.json file to run a custom hook that executes a PHPStan analysis (run-phpstan-on-stop.ts) automatically when a stop event occurs, ensuring static analysis is performed on staged changes.
  • Implemented .cursor/hooks/run-phpstan-on-stop.ts, a Node.js script that checks for Git changes and runs PHPStan with a memory limit, reporting errors in a standardized format.
  • Added .cursor/mcp.json to configure the "laravel-boost" MCP server, specifying the command to run Laravel Boost via Artisan.

Project and Code Quality Guidelines:

  • Introduced .cursor/rules/laravel-boost.mdc, a comprehensive markdown document detailing Laravel Boost-specific guidelines, PHP and Laravel conventions, testing requirements, and best practices for working with the project's stack and tools.
  • Added .cursor/rules/conventional-commits.mdc to enforce the use of Conventional Commits for all commit messages, including format, types, examples, and rules.
  • Created .cursor/rules/code-formatters.mdc to document the required usage of code formatters and refactoring tools like Rector, ensuring code consistency.

These changes collectively enforce higher code quality, clearer documentation, and consistent development practices across the project.

@CodeWithDennis CodeWithDennis merged commit fd01603 into 5.x Feb 3, 2026
6 checks passed
@CodeWithDennis CodeWithDennis deleted the laravel-boost-v2 branch February 3, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant