Skip to content

Commit f7cfc10

Browse files
committed
Merge branch 'main' into laravel-12
* main: Add "Under maintenance" status to components and systems (#287) Filament v4 (#292) Compile Assets Fix Incident and Updates message size (#290) Bump some dependencies Updated language files (German & Dutch) (#281) Add demo server fix; Missing webhook events in WebhookListener list (#283) Improve API documentation (#284) Use app context Fix code styling Allow configuring whether to use external dependencies (#278) Don't call pint on every test run
2 parents 965f5cd + 905e726 commit f7cfc10

File tree

159 files changed

+1970
-2691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+1970
-2691
lines changed

.cursor/rules/laravel-boost.mdc

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
alwaysApply: true
3+
---
4+
<laravel-boost-guidelines>
5+
=== foundation rules ===
6+
7+
# Laravel Boost Guidelines
8+
9+
The Laravel Boost guidelines are specifically curated by Laravel maintainers for this application. These guidelines should be followed closely to enhance the user's satisfaction building Laravel applications.
10+
11+
## Foundational Context
12+
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
13+
14+
- php - 8.3.22
15+
16+
17+
## Conventions
18+
- You must follow all existing code conventions used in this application. When creating or editing a file, check sibling files for the correct structure, approach, naming.
19+
- Use descriptive names for variables and methods. For example, `isRegisteredForDiscounts`, not `discount()`.
20+
- Check for existing components to reuse before writing a new one.
21+
22+
## Verification Scripts
23+
- Do not create verification scripts or tinker when tests cover that functionality and prove it works. Unit and feature tests are more important.
24+
25+
## Application Structure & Architecture
26+
- Stick to existing directory structure - don't create new base folders without approval.
27+
- Do not change the application's dependencies without approval.
28+
29+
## Frontend Bundling
30+
- If the user doesn't see a frontend change reflected in the UI, it could mean they need to run `npm run build`, `npm run dev`, or `composer run dev`. Ask them.
31+
32+
## Replies
33+
- Be concise in your explanations - focus on what's important rather than explaining obvious details.
34+
35+
## Documentation Files
36+
- You must only create documentation files if explicitly requested by the user.
37+
38+
39+
=== boost rules ===
40+
41+
## Laravel Boost
42+
- Laravel Boost is an MCP server that comes with powerful tools designed specifically for this application. Use them.
43+
44+
## Artisan
45+
- Use the `list-artisan-commands` tool when you need to call an Artisan command to double check the available parameters.
46+
47+
## URLs
48+
- Whenever you share a project URL with the user you should use the `get-absolute-url` tool to ensure you're using the correct scheme, domain / IP, and port.
49+
50+
## Tinker / Debugging
51+
- You should use the `tinker` tool when you need to execute PHP to debug code or query Eloquent models directly.
52+
- Use the `database-query` tool when you only need to read from the database.
53+
54+
## Reading Browser Logs With the `browser-logs` Tool
55+
- You can read browser logs, errors, and exceptions using the `browser-logs` tool from Boost.
56+
- Only recent browser logs will be useful - ignore old logs.
57+
58+
## Searching Documentation (Critically Important)
59+
- Boost comes with a powerful `search-docs` tool you should use before any other approaches. This tool automatically passes a list of installed packages and their versions to the remote Boost API, so it returns only version-specific documentation specific for the user's circumstance. You should pass an array of packages to filter on if you know you need docs for particular packages.
60+
- The 'search-docs' tool is perfect for all Laravel related packages, including Laravel, Inertia, Livewire, Filament, Tailwind, Pest, Nova, Nightwatch, etc.
61+
- You must use this tool to search for Laravel-ecosystem documentation before falling back to other approaches.
62+
- Search the documentation before making code changes to ensure we are taking the correct approach.
63+
- Use multiple, broad, simple, topic based queries to start. For example: `['rate limiting', 'routing rate limiting', 'routing']`.
64+
- Do not add package names to queries, package information is already shared. Use `test resource table`, not `filament 4 test resource table`.
65+
66+
### Available Search Syntax
67+
- You can and should pass multiple queries at once. The most relevant results will be returned first.
68+
69+
1. Simple Word Searches with auto-stemming - query=authentication - finds 'authenticate' and 'auth'
70+
2. Multiple Words (AND Logic) - query=rate limit - finds knowledge containing both "rate" AND "limit"
71+
3. Quoted Phrases (Exact Position) - query="infinite scroll" - Words must be adjacent and in that order
72+
4. Mixed Queries - query=middleware "rate limit" - "middleware" AND exact phrase "rate limit"
73+
5. Multiple Queries - queries=["authentication", "middleware"] - ANY of these terms
74+
</laravel-boost-guidelines>

.github/workflows/build-api-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
run: |
3131
composer config repositories.scramble-pro '{"type": "composer", "url": "https://satis.dedoc.co"}'
3232
composer config http-basic.satis.dedoc.co ${{ secrets.SCRAMBLE_USERNAME }} ${{ secrets.SCRAMBLE_KEY }}
33-
composer require dedoc/scramble-pro:^0.7.4 --dev
33+
composer require dedoc/scramble-pro:^0.7.9 --dev
34+
35+
- name: Build the environment
36+
run: composer build
3437

3538
- name: Checkout documentation repository
3639
uses: actions/checkout@v4

.junie/guidelines.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<laravel-boost-guidelines>
2+
=== foundation rules ===
3+
4+
# Laravel Boost Guidelines
5+
6+
The Laravel Boost guidelines are specifically curated by Laravel maintainers for this application. These guidelines should be followed closely to enhance the user's satisfaction building Laravel applications.
7+
8+
## Foundational Context
9+
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
10+
11+
- php - 8.3.22
12+
13+
14+
## Conventions
15+
- You must follow all existing code conventions used in this application. When creating or editing a file, check sibling files for the correct structure, approach, naming.
16+
- Use descriptive names for variables and methods. For example, `isRegisteredForDiscounts`, not `discount()`.
17+
- Check for existing components to reuse before writing a new one.
18+
19+
## Verification Scripts
20+
- Do not create verification scripts or tinker when tests cover that functionality and prove it works. Unit and feature tests are more important.
21+
22+
## Application Structure & Architecture
23+
- Stick to existing directory structure - don't create new base folders without approval.
24+
- Do not change the application's dependencies without approval.
25+
26+
## Frontend Bundling
27+
- If the user doesn't see a frontend change reflected in the UI, it could mean they need to run `npm run build`, `npm run dev`, or `composer run dev`. Ask them.
28+
29+
## Replies
30+
- Be concise in your explanations - focus on what's important rather than explaining obvious details.
31+
32+
## Documentation Files
33+
- You must only create documentation files if explicitly requested by the user.
34+
35+
36+
=== boost rules ===
37+
38+
## Laravel Boost
39+
- Laravel Boost is an MCP server that comes with powerful tools designed specifically for this application. Use them.
40+
41+
## Artisan
42+
- Use the `list-artisan-commands` tool when you need to call an Artisan command to double check the available parameters.
43+
44+
## URLs
45+
- Whenever you share a project URL with the user you should use the `get-absolute-url` tool to ensure you're using the correct scheme, domain / IP, and port.
46+
47+
## Tinker / Debugging
48+
- You should use the `tinker` tool when you need to execute PHP to debug code or query Eloquent models directly.
49+
- Use the `database-query` tool when you only need to read from the database.
50+
51+
## Reading Browser Logs With the `browser-logs` Tool
52+
- You can read browser logs, errors, and exceptions using the `browser-logs` tool from Boost.
53+
- Only recent browser logs will be useful - ignore old logs.
54+
55+
## Searching Documentation (Critically Important)
56+
- Boost comes with a powerful `search-docs` tool you should use before any other approaches. This tool automatically passes a list of installed packages and their versions to the remote Boost API, so it returns only version-specific documentation specific for the user's circumstance. You should pass an array of packages to filter on if you know you need docs for particular packages.
57+
- The 'search-docs' tool is perfect for all Laravel related packages, including Laravel, Inertia, Livewire, Filament, Tailwind, Pest, Nova, Nightwatch, etc.
58+
- You must use this tool to search for Laravel-ecosystem documentation before falling back to other approaches.
59+
- Search the documentation before making code changes to ensure we are taking the correct approach.
60+
- Use multiple, broad, simple, topic based queries to start. For example: `['rate limiting', 'routing rate limiting', 'routing']`.
61+
- Do not add package names to queries, package information is already shared. Use `test resource table`, not `filament 4 test resource table`.
62+
63+
### Available Search Syntax
64+
- You can and should pass multiple queries at once. The most relevant results will be returned first.
65+
66+
1. Simple Word Searches with auto-stemming - query=authentication - finds 'authenticate' and 'auth'
67+
2. Multiple Words (AND Logic) - query=rate limit - finds knowledge containing both "rate" AND "limit"
68+
3. Quoted Phrases (Exact Position) - query="infinite scroll" - Words must be adjacent and in that order
69+
4. Mixed Queries - query=middleware "rate limit" - "middleware" AND exact phrase "rate limit"
70+
5. Multiple Queries - queries=["authentication", "middleware"] - ANY of these terms
71+
</laravel-boost-guidelines>

.junie/mcp/mcp.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"mcpServers": {
3+
"laravel-boost": {
4+
"command": "php",
5+
"args": [
6+
"/Users/james/Code/cachet-core/vendor/orchestra/testbench-core/laravel/artisan",
7+
"boost:mcp"
8+
]
9+
},
10+
"herd": {
11+
"command": "php",
12+
"args": [
13+
"/Applications/Herd.app/Contents/Resources/herd-mcp.phar"
14+
],
15+
"env": {
16+
"SITE_PATH": "/Users/james/Code/cachet-core/vendor/orchestra/testbench-core/laravel"
17+
}
18+
}
19+
}
20+
}
1.06 KB
Binary file not shown.
657 Bytes
Binary file not shown.

.phpintel/index

346 Bytes
Binary file not shown.

composer.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
"php": "^8.2",
2323
"ext-simplexml": "*",
2424
"doctrine/dbal": "^3.6",
25-
"filament/filament": "^3.2.57",
26-
"filament/spatie-laravel-settings-plugin": "^3.2",
25+
"filament/filament": "^4.0",
26+
"filament/spatie-laravel-settings-plugin": "^4.0",
2727
"guzzlehttp/guzzle": "^7.8",
2828
"illuminate/cache": "^11.35.0|^12.0",
2929
"illuminate/console": "^11.35.0|^12.0",
@@ -41,10 +41,10 @@
4141
"twig/twig": "^3.0"
4242
},
4343
"require-dev": {
44-
"dedoc/scramble": "^0.12.11",
44+
"dedoc/scramble": "^0.12",
4545
"larastan/larastan": "^3.4",
4646
"laravel/pail": "^1.1",
47-
"laravel/pint": "^1.21",
47+
"laravel/pint": "^1.24",
4848
"orchestra/testbench": "^9.5.1|^10.0",
4949
"pestphp/pest": "^3.8",
5050
"pestphp/pest-plugin-laravel": "^3.7",
@@ -109,7 +109,6 @@
109109
],
110110
"test:unit": "pest --parallel --processes=10 --ci --coverage --compact",
111111
"test": [
112-
"@test:lint",
113112
"@test:unit"
114113
]
115114
}

database/factories/ComponentFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Database\Eloquent\Factories\Factory;
88

99
/**
10-
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\Cachet\Models\Component>
10+
* @extends Factory<Component>
1111
*/
1212
class ComponentFactory extends Factory
1313
{

database/factories/ComponentGroupFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Database\Eloquent\Factories\Factory;
88

99
/**
10-
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\Cachet\Models\ComponentGroup>
10+
* @extends Factory<ComponentGroup>
1111
*/
1212
class ComponentGroupFactory extends Factory
1313
{

0 commit comments

Comments
 (0)