Skip to content

Commit

Permalink
feat: upgrade from Laravel 9 to Laravel 10, requiring PHP >= 8.1, wit…
Browse files Browse the repository at this point in the history
…h initial documentation

BREAKING CHANGE: This major release introduces breaking changes due to the upgrade from Laravel 9 to Laravel 10, including the addition of initial documentation. The minimum PHP version requirement is now 8.1 or newer. This update is now deployed in production.
  • Loading branch information
Dioscorides committed Mar 7, 2024
1 parent 10a2828 commit fd07541
Show file tree
Hide file tree
Showing 334 changed files with 26,045 additions and 10,285 deletions.
52 changes: 52 additions & 0 deletions .env.cypress
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
APP_NAME=DMMapp
APP_ENV=local
APP_KEY=base64:wk7u3SCjvZI0PvqnqKyipeXt73cdxZVrZ5hXQiOUM7Q=
APP_DEBUG=true
APP_URL=http://localhost
DEBUGBAR_ENABLED=false

LOG_CHANNEL=stack
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=dmmapp
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=database
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

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}"
2 changes: 2 additions & 0 deletions .env.cypress.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
USERNAME=
PASSWORD=
30 changes: 21 additions & 9 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,29 +1,40 @@
APP_NAME="Edit the APP_NAME variable in your .env file!"
APP_NAME=DMMapp
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

GOOGLE_MAPS_API=YourGoogleMapsAPIGoesHere

LOG_CHANNEL=stack
LOG_LEVEL=debug

ADMIN_STAGING_PASSWORD=password

DB_CONNECTION=sqlite
DB_DATABASE=absolute/path/to/database.sqlite
GOOGLE_ANALYTICS_TRACKING_ID=
GOOGLE_MAPS_API_KEY=

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=dmmapp
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
QUEUE_CONNECTION=sync
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=database
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
Expand All @@ -34,6 +45,7 @@ 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=
Expand Down
35 changes: 14 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
/vendor/
node_modules/
npm-debug.log
yarn-error.log

# Laravel 4 specific
bootstrap/compiled.php
app/storage/

# Laravel 5 & Lumen specific
public/storage
public/hot

# Laravel 5 & Lumen specific with changed public path
public_html/storage
public_html/hot

storage/*.key
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
Homestead.yaml
Homestead.json
/.vagrant
.env.backup
.phpunit.result.cache
docker-compose.override.yml
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
/.idea
/.vscode
public/sitemap.xml
3 changes: 2 additions & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
php:
preset: laravel
version: 8
disabled:
- unused_use
- no_unused_imports
finder:
not-name:
- index.php
Expand Down
Loading

0 comments on commit fd07541

Please sign in to comment.