Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livewire refactor #193

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
113 changes: 0 additions & 113 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .env.ci
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_NAME="London Volleyball Association"
APP_NAME="LVA - Livewire (CI)"
APP_ENV=ci
APP_DEBUG=true
APP_KEY=base64:VYABbLef4IXK0LrV6XNRTCDKuJBhG5osr10YDFKTcCg=
Expand Down
2 changes: 1 addition & 1 deletion .env.dusk.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
APP_NAME="London Volleyball Association"
APP_NAME="LVA - Livewire (Dusk)"
APP_ENV=testing
APP_KEY=base64:coU7gleLTqakisz6nGFVnXyrWjNxYr/5HE2zYsn/GPU=
APP_DEBUG=true
Expand Down
80 changes: 49 additions & 31 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,46 +1,64 @@
APP_NAME="London Volleyball Association"
APP_NAME=Laravel
APP_ENV=local
APP_DEBUG=true
APP_DEBUG_LEVEL=debug
APP_KEY=
APP_URL=http://localhost:8081
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=http://localhost

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database

DB_HOST=lva-mysql
DB_PORT=3306
DB_DATABASE=lva
DB_USERNAME=root
DB_PASSWORD=123
BCRYPT_ROUNDS=12

CACHE_DRIVER=file
SESSION_DRIVER=file
LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=

SESSION_DRIVER=database
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

MAIL_MAILER=smtp
MAIL_HOST=lva-mailhog
MAIL_PORT=1025
CACHE_STORE=database
CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=false
MAIL_FROM_ADDRESS=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

FAKER_LOCALE=en_GB

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

SWEET_ALERT_CONFIRM_BUTTON=false
SWEET_ALERT_MIDDLEWARE_TOAST_CLOSE_BUTTON=false
SWEET_ALERT_TIMER=3000
SWEET_ALERT_MIDDLEWARE_TOAST_POSITION=top
VITE_APP_NAME="${APP_NAME}"
16 changes: 16 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Matrix

on:
push

jobs:
master-matrix:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest']
php: ['8.3']
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
php: ${{ matrix.php }}
secrets: inherit
24 changes: 24 additions & 0 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Code Style

on: [ push ]

jobs:
pint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: json, dom, curl, libxml, mbstring
coverage: none

- name: Install Pint
run: composer global require laravel/pint

- name: Run Pint
run: pint --test
Loading
Loading