Skip to content

Commit 9cecbac

Browse files
committed
Setup fresh SaaS Kit installation
0 parents  commit 9cecbac

144 files changed

Lines changed: 22602 additions & 0 deletions

File tree

Some content is hidden

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

.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: 588 additions & 0 deletions
Large diffs are not rendered by default.

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
indent_size = 4
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
trim_trailing_whitespace = false
13+
14+
[*.{yml,yaml}]
15+
indent_size = 2
16+
17+
[docker-compose.yml]
18+
indent_size = 4

.env.example

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
APP_NAME="Starter Kit"
2+
APP_ENV=local
3+
APP_KEY=
4+
APP_DEBUG=true
5+
APP_URL=http://starter-kit.test
6+
7+
APP_LOCALE=en
8+
APP_FALLBACK_LOCALE=en
9+
APP_FAKER_LOCALE=en_US
10+
11+
APP_MAINTENANCE_DRIVER=file
12+
# APP_MAINTENANCE_STORE=database
13+
14+
PHP_CLI_SERVER_WORKERS=4
15+
16+
BCRYPT_ROUNDS=12
17+
18+
TELESCOPE_ENABLED=true
19+
20+
LOG_CHANNEL=stack
21+
LOG_STACK=single
22+
LOG_DEPRECATIONS_CHANNEL=null
23+
LOG_LEVEL=debug
24+
25+
DB_CONNECTION=sqlite
26+
# DB_HOST=127.0.0.1
27+
# DB_PORT=3306
28+
# DB_DATABASE=laravel
29+
# DB_USERNAME=root
30+
# DB_PASSWORD=
31+
32+
# Laravel Pulse Specific Connection
33+
# PULSE_DB_URL=
34+
# PULSE_DB_HOST=127.0.0.1
35+
# PULSE_DB_PORT=3306
36+
# PULSE_DB_DATABASE=pulse
37+
# PULSE_DB_USERNAME=root
38+
# PULSE_DB_PASSWORD=
39+
# PULSE_DB_SOCKET=
40+
# PULSE_DB_CHARSET=utf8mb4
41+
# PULSE_DB_COLLATION=utf8mb4_unicode_ci
42+
# PULSE_MYSQL_ATTR_SSL_CA=
43+
# Instruct pulse to use the specific connection
44+
# PULSE_DB_CONNECTION=pulse
45+
46+
SESSION_DRIVER=database
47+
SESSION_LIFETIME=120
48+
SESSION_ENCRYPT=false
49+
SESSION_PATH=/
50+
SESSION_DOMAIN=null
51+
52+
BROADCAST_CONNECTION=log
53+
FILESYSTEM_DISK=local
54+
QUEUE_CONNECTION=redis
55+
56+
CACHE_STORE=redis
57+
# CACHE_PREFIX=
58+
59+
MEMCACHED_HOST=127.0.0.1
60+
61+
REDIS_CLIENT=phpredis
62+
REDIS_HOST=127.0.0.1
63+
REDIS_PASSWORD=null
64+
REDIS_PORT=6379
65+
66+
MAIL_MAILER=log
67+
MAIL_SCHEME=null
68+
MAIL_HOST=127.0.0.1
69+
MAIL_PORT=2525
70+
MAIL_USERNAME=null
71+
MAIL_PASSWORD=null
72+
MAIL_FROM_ADDRESS="hello@example.com"
73+
MAIL_FROM_NAME="${APP_NAME}"
74+
75+
AWS_ACCESS_KEY_ID=
76+
AWS_SECRET_ACCESS_KEY=
77+
AWS_DEFAULT_REGION=us-east-1
78+
AWS_BUCKET=
79+
AWS_USE_PATH_STYLE_ENDPOINT=false
80+
81+
VITE_APP_NAME="${APP_NAME}"
82+
83+
GOOGLE_CLIENT_ID=
84+
GOOGLE_CLIENT_SECRET=
85+
GOOGLE_REDIRECT_URL="http://localhost:8000"
86+
87+
SCOUT_DRIVER=database
88+
SCOUT_QUEUE=true
89+
90+
TWO_FACTOR_AUTH_ENABLED=true

.github/workflows/lint.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: linter
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- main
8+
pull_request:
9+
branches:
10+
- develop
11+
- main
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
quality:
18+
runs-on: ubuntu-latest
19+
environment: Testing
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Setup PHP
24+
uses: shivammathur/setup-php@v2
25+
with:
26+
php-version: '8.4'
27+
28+
- name: Add Flux Credentials Loaded From ENV
29+
run: composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_USERNAME }}" "${{ secrets.FLUX_LICENSE_KEY }}"
30+
31+
- name: Install Dependencies
32+
run: |
33+
composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
34+
npm install
35+
36+
- name: Run Pint
37+
run: vendor/bin/pint
38+
39+
# - name: Commit Changes
40+
# uses: stefanzweifel/git-auto-commit-action@v5
41+
# with:
42+
# commit_message: fix code style
43+
# commit_options: '--no-verify'
44+
# file_pattern: |
45+
# **/*
46+
# !.github/workflows/*

.github/workflows/tests.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: tests
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- main
8+
pull_request:
9+
branches:
10+
- develop
11+
- main
12+
13+
jobs:
14+
ci:
15+
runs-on: ubuntu-latest
16+
environment: Testing
17+
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
22+
- name: Setup PHP
23+
uses: shivammathur/setup-php@v2
24+
with:
25+
php-version: 8.4
26+
tools: composer:v2
27+
coverage: xdebug
28+
29+
- name: Setup Node
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: '22'
33+
cache: 'npm'
34+
35+
- name: Install Node Dependencies
36+
run: npm i
37+
38+
- name: Add Flux Credentials Loaded From ENV
39+
run: composer config http-basic.composer.fluxui.dev "${{ secrets.FLUX_USERNAME }}" "${{ secrets.FLUX_LICENSE_KEY }}"
40+
41+
- name: Install Dependencies
42+
run: composer install --no-interaction --prefer-dist --optimize-autoloader
43+
44+
- name: Copy Environment File
45+
run: cp .env.example .env
46+
47+
- name: Generate Application Key
48+
run: php artisan key:generate
49+
50+
- name: Build Assets
51+
run: npm run build
52+
53+
- name: Run Tests
54+
run: ./vendor/bin/pest

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/.phpunit.cache
2+
/node_modules
3+
/public/build
4+
/public/hot
5+
/public/storage
6+
/storage/*.key
7+
/storage/pail
8+
/vendor
9+
.env
10+
.env.backup
11+
.env.production
12+
.phpactor.json
13+
.phpunit.result.cache
14+
Homestead.json
15+
Homestead.yaml
16+
npm-debug.log
17+
yarn-error.log
18+
/auth.json
19+
/.fleet
20+
/.idea
21+
/.nova
22+
/.vscode
23+
/.zed

.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+
}

0 commit comments

Comments
 (0)