Skip to content

Commit 698c986

Browse files
committed
Initial commit 🚀
0 parents  commit 698c986

70 files changed

Lines changed: 42116 additions & 0 deletions

Some content is hidden

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

.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+
[compose.yaml]
18+
indent_size = 4

.env.example

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
APP_NAME=Laravel
2+
APP_ENV=local
3+
APP_KEY=
4+
APP_DEBUG=true
5+
APP_URL=http://localhost
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+
LOG_CHANNEL=stack
19+
LOG_STACK=single
20+
LOG_DEPRECATIONS_CHANNEL=null
21+
LOG_LEVEL=debug
22+
23+
DB_CONNECTION=sqlite
24+
# DB_HOST=127.0.0.1
25+
# DB_PORT=3306
26+
# DB_DATABASE=laravel
27+
# DB_USERNAME=root
28+
# DB_PASSWORD=
29+
30+
SESSION_DRIVER=database
31+
SESSION_LIFETIME=120
32+
SESSION_ENCRYPT=false
33+
SESSION_PATH=/
34+
SESSION_DOMAIN=null
35+
36+
BROADCAST_CONNECTION=log
37+
FILESYSTEM_DISK=local
38+
QUEUE_CONNECTION=database
39+
40+
CACHE_STORE=database
41+
# CACHE_PREFIX=
42+
43+
MEMCACHED_HOST=127.0.0.1
44+
45+
REDIS_CLIENT=phpredis
46+
REDIS_HOST=127.0.0.1
47+
REDIS_PASSWORD=null
48+
REDIS_PORT=6379
49+
50+
MAIL_MAILER=log
51+
MAIL_SCHEME=null
52+
MAIL_HOST=127.0.0.1
53+
MAIL_PORT=2525
54+
MAIL_USERNAME=null
55+
MAIL_PASSWORD=null
56+
MAIL_FROM_ADDRESS="hello@example.com"
57+
MAIL_FROM_NAME="${APP_NAME}"
58+
59+
AWS_ACCESS_KEY_ID=
60+
AWS_SECRET_ACCESS_KEY=
61+
AWS_DEFAULT_REGION=us-east-1
62+
AWS_BUCKET=
63+
AWS_USE_PATH_STYLE_ENDPOINT=false
64+
65+
VITE_APP_NAME="${APP_NAME}"

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
* text=auto eol=lf
2+
3+
*.blade.php diff=html
4+
*.css diff=css
5+
*.html diff=html
6+
*.md diff=markdown
7+
*.php diff=php
8+
9+
CHANGELOG.md export-ignore
10+
README.md export-ignore

.github/workflows/lint.yml

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

.github/workflows/tests.yml

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

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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
24+
25+
# AI Tools
26+
CLAUDE.md
27+
AGENTS.md
28+
.claude/
29+
.cursor/
30+
.idea/
31+
.junie/
32+
.vscode/
33+
.agents/
34+
.codex/
35+
.mcp.json
36+
boost.json
37+
/tmp

LICENSE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
MIT License
2+
3+
Copyright (c) 2025 Pushpak Chhajed
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# Modern Livewire Starter Kit
2+
3+
<p>
4+
<a href="https://github.com/shipfastlabs/modern-livewire-starter-kit/actions"><img src="https://github.com/shipfastlabs/modern-livewire-starter-kit/actions/workflows/tests.yml/badge.svg" alt="Build Status"></a>
5+
<a href="https://github.com/shipfastlabs/modern-livewire-starter-kit/blob/main/LICENSE.md"><img src="https://img.shields.io/github/license/shipfastlabs/modern-livewire-starter-kit" alt="License"></a>
6+
<a href="https://github.com/shipfastlabs/modern-livewire-starter-kit"><img src="https://img.shields.io/github/stars/shipfastlabs/modern-livewire-starter-kit" alt="GitHub Stars"></a>
7+
</p>
8+
9+
10+
This starter kit brings updates the base laravel starter kit with opinionated modern tooling setup.
11+
12+
**What's Included:**
13+
- **Laravel Latest**: Built with the latest Laravel version (requires PHP 8.4+ and support 8.5)
14+
- **Essential Packages**: Pre-configured with Laravel Essentials and Laravel Boost
15+
- **Code Quality**: Integrated Pint, Rector, and PHPStan
16+
- **Testing Ready**: Pest testing framework included
17+
- **IDE Support**: Laravel IDE Helper for better development experience
18+
19+
## 🚀 Quick Start
20+
21+
> **Requires [PHP 8.4+](https://php.net/releases/)**.
22+
23+
### Using Laravel Installer (Recommended)
24+
25+
```bash
26+
# Create a new project using Laravel installer
27+
laravel new larasonic --using=shipfastlabs/modern-livewire-starter-kit
28+
29+
composer run dev
30+
```
31+
32+
### Using Git Clone
33+
34+
```bash
35+
# Clone the repository via github
36+
git clone git@github.com:shipfastlabs/modern-livewire-starter-kit.git
37+
cd modern-livewire-starter-kit
38+
39+
# Install dependencies
40+
composer install
41+
npm install
42+
43+
# Set up environment
44+
cp .env.example .env
45+
php artisan key:generate
46+
47+
# Run migrations
48+
php artisan migrate
49+
50+
# Start development server
51+
composer run dev
52+
```
53+
54+
## 📦 Included Packages
55+
56+
### Production
57+
- `nunomaduro/essentials` - Essential Laravel packages
58+
59+
### Development
60+
- `larastan/larastan` - PHP static analysis
61+
- `rector/rector` - Code refactoring and upgrades
62+
- `barryvdh/laravel-ide-helper` - IDE autocompletion
63+
- `laravel/boost` - Laravel-focused MCP server
64+
65+
## 🛠️ Development Tools
66+
67+
```bash
68+
# Code formatting with Pint
69+
./vendor/bin/pint
70+
71+
# Static analysis with PHPStan/Larastan
72+
./vendor/bin/phpstan analyse --memory-limit=-1
73+
74+
# Code refactoring with Rector
75+
./vendor/bin/rector
76+
77+
# Run tests
78+
php artisan test
79+
```
80+
81+
## 📝 License
82+
83+
This project is open-sourced software licensed under the [MIT license](LICENSE.md).
84+
85+
Credits:
86+
- [Laravel Starter Kit](https://github.com/laravel/laravel-starter-kit)
87+
- [Nuno's Strict Laravel Starter Kit](https://github.com/nunomaduro/laravel-starter-kit)

0 commit comments

Comments
 (0)