Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ai/guidelines/actions.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Laravel Action Pattern

- This application uses the Action pattern and prefers for much logic to live in reusable and composable Action classes.
- This application uses the Action pattern and business logic should be encapsulated in reusable and composable Action classes.
- Actions live in `app/Actions/`, they are named based on what they do, with no suffix.
- Actions will be called from many different places: jobs, commands, HTTP requests, API requests, MCP requests, and more.
- Create dedicated Action classes for business logic with a single `handle()` method.
Expand Down
234 changes: 135 additions & 99 deletions .cursor/rules/all.mdc → .cursor/rules/laravel-boost.mdc

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: composer:v2

- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
restore-keys: composer-

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'

- name: Install Dependencies
run: |
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ jobs:
node-version: '22'
cache: 'npm'

- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
restore-keys: composer-

- name: Install Node Dependencies
run: npm ci

Expand All @@ -47,4 +54,4 @@ jobs:
run: php artisan key:generate

- name: Tests
run: ./vendor/bin/pest
run: ./vendor/bin/pest --parallel
11 changes: 11 additions & 0 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"mcpServers": {
"laravel-boost": {
"command": "php",
"args": [
"artisan",
"boost:mcp"
]
}
}
}
Loading