Skip to content

Commit 240f5e0

Browse files
authored
Merge branch 'main' into feat-preventNewWindows
2 parents 361a8af + c009b30 commit 240f5e0

File tree

147 files changed

+8215
-3109
lines changed

Some content is hidden

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

147 files changed

+8215
-3109
lines changed

.cursor/mcp.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"laravel-boost": {
4+
"command": "php",
5+
"args": [
6+
"./artisan",
7+
"boost:mcp"
8+
]
9+
}
10+
}
11+
}

.cursor/rules/laravel-boost.mdc

Lines changed: 430 additions & 0 deletions
Large diffs are not rendered by default.

.github/copilot-instructions.md

Lines changed: 427 additions & 0 deletions
Large diffs are not rendered by default.

.junie/guidelines.md

Lines changed: 427 additions & 0 deletions
Large diffs are not rendered by default.

.junie/mcp/mcp.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"laravel-boost": {
4+
"command": "/usr/bin/php8.4",
5+
"args": [
6+
"/home/hassan/code/nativephp.com/artisan",
7+
"boost:mcp"
8+
]
9+
}
10+
}
11+
}

.mcp.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"laravel-boost": {
4+
"command": "php",
5+
"args": [
6+
"./artisan",
7+
"boost:mcp"
8+
]
9+
}
10+
}
11+
}

.prettierrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99
}
1010
],
11-
"tailwindConfig": "./tailwind.config.js",
11+
"tailwindStylesheet": "./resources/css/app.css",
1212
"singleQuote": true,
1313
"semi": false,
1414
"trailingComma": "all",

CLAUDE.md

Lines changed: 427 additions & 0 deletions
Large diffs are not rendered by default.

app/Http/Controllers/ShowDocumentationController.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@ public function __invoke(Request $request, string $platform, string $version, ?s
5252
return view('docs.index')->with($pageProperties);
5353
}
5454

55+
public function serveRawMarkdown(Request $request, string $platform, string $version, string $page)
56+
{
57+
abort_unless(is_dir(resource_path('views/docs/'.$platform.'/'.$version)), 404);
58+
59+
$filePath = resource_path("views/docs/{$platform}/{$version}/{$page}.md");
60+
61+
if (! file_exists($filePath)) {
62+
abort(404);
63+
}
64+
65+
$content = file_get_contents($filePath);
66+
67+
return response($content, 200, [
68+
'Content-Type' => 'text/plain; charset=utf-8',
69+
'Content-Disposition' => 'inline; filename="'.basename($filePath).'"',
70+
]);
71+
}
72+
5573
protected function getPageProperties($platform, $version, $page = null): array
5674
{
5775
$markdownFileName = $platform.'.'.$version.'.'.($page ?? 'index');

app/Livewire/MobilePricing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function createCheckoutSession(?string $plan, ?User $user = null)
6161
->allowPromotionCodes()
6262
->checkout([
6363
'success_url' => $this->successUrl(),
64-
'cancel_url' => route('early-adopter'),
64+
'cancel_url' => route('pricing'),
6565
'consent_collection' => [
6666
'terms_of_service' => 'required',
6767
],

0 commit comments

Comments
 (0)