Skip to content

Commit 205e170

Browse files
committed
wip
1 parent 12f123c commit 205e170

File tree

162 files changed

+28588
-0
lines changed

Some content is hidden

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

162 files changed

+28588
-0
lines changed

.editorconfig

+18
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

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
APP_NAME=Laravel
2+
APP_ENV=local
3+
APP_KEY=
4+
APP_DEBUG=true
5+
APP_TIMEZONE=UTC
6+
APP_URL=http://inertia.ts.test
7+
8+
APP_LOCALE=en
9+
APP_FALLBACK_LOCALE=en
10+
APP_FAKER_LOCALE=en_US
11+
12+
APP_MAINTENANCE_DRIVER=file
13+
# APP_MAINTENANCE_STORE=database
14+
15+
BCRYPT_ROUNDS=12
16+
17+
LOG_CHANNEL=stack
18+
LOG_STACK=single
19+
LOG_DEPRECATIONS_CHANNEL=null
20+
LOG_LEVEL=debug
21+
22+
DB_CONNECTION=sqlite
23+
# DB_HOST=127.0.0.1
24+
# DB_PORT=3306
25+
# DB_DATABASE=laravel
26+
# DB_USERNAME=root
27+
# DB_PASSWORD=
28+
29+
SESSION_DRIVER=database
30+
SESSION_LIFETIME=120
31+
SESSION_ENCRYPT=false
32+
SESSION_PATH=/
33+
SESSION_DOMAIN=null
34+
35+
BROADCAST_CONNECTION=log
36+
FILESYSTEM_DISK=local
37+
QUEUE_CONNECTION=database
38+
39+
CACHE_STORE=database
40+
CACHE_PREFIX=
41+
42+
MEMCACHED_HOST=127.0.0.1
43+
44+
REDIS_CLIENT=phpredis
45+
REDIS_HOST=127.0.0.1
46+
REDIS_PASSWORD=null
47+
REDIS_PORT=6379
48+
49+
MAIL_MAILER=log
50+
MAIL_HOST=127.0.0.1
51+
MAIL_PORT=2525
52+
MAIL_USERNAME=null
53+
MAIL_PASSWORD=null
54+
MAIL_ENCRYPTION=null
55+
MAIL_FROM_ADDRESS="[email protected]"
56+
MAIL_FROM_NAME="${APP_NAME}"
57+
58+
AWS_ACCESS_KEY_ID=
59+
AWS_SECRET_ACCESS_KEY=
60+
AWS_DEFAULT_REGION=us-east-1
61+
AWS_BUCKET=
62+
AWS_USE_PATH_STYLE_ENDPOINT=false
63+
64+
VITE_APP_NAME="${APP_NAME}"

.gitattributes

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
/.github export-ignore
10+
CHANGELOG.md export-ignore
11+
.styleci.yml export-ignore

.github/FUNDING.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: irsyadadl
4+
custom: [https://saweria.co/irsyadadl, https://paypal.me/irsyaddotco]

.github/workflows/laravel.yml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Laravel
2+
3+
on:
4+
push:
5+
branches: ['master']
6+
pull_request:
7+
branches: ['master']
8+
9+
jobs:
10+
laravel-tests:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
15+
with:
16+
php-version: '8.2'
17+
- uses: actions/checkout@v4
18+
- name: Copy .env
19+
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
20+
- name: Install Dependencies
21+
run: composer update -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
22+
- name: Install Bun
23+
run: |
24+
curl -fsSL https://bun.sh/install | bash
25+
echo "$HOME/.bun/bin" >> $GITHUB_PATH
26+
- name: Install Node Dependencies
27+
run: bun i && bun run build
28+
- name: Generate key
29+
run: php artisan key:generate
30+
- name: Directory Permissions
31+
run: chmod -R 777 storage bootstrap/cache
32+
- name: Create Database
33+
run: |
34+
mkdir -p database
35+
touch database/database.sqlite
36+
- name: Execute tests (Unit and Feature tests) via PHPUnit
37+
env:
38+
DB_CONNECTION: sqlite
39+
DB_DATABASE: database/database.sqlite
40+
run: php artisan test

.gitignore

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

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npx commitlint --edit

.prettierignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
**/vendor
2+
**/public
3+
**/bootstrap
4+
**/.git
5+
**/.svn
6+
**/.hg

.prettierrc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"tailwindFunctions": ["clsx", "tw", "tv", "cn", "twMerge", "tm", "cx"],
3+
"plugins": ["prettier-plugin-tailwindcss", "prettier-plugin-organize-imports"],
4+
"printWidth": 120,
5+
"singleQuote": true,
6+
"trailingComma": "none",
7+
"tabWidth": 2,
8+
"semi": true,
9+
"useTabs": false,
10+
"bracketSpacing": true,
11+
"bracketSameLine": false
12+
}

.rnd

1 KB
Binary file not shown.

0 commit comments

Comments
 (0)