Skip to content

Commit

Permalink
Merge pull request #1 from xiCO2k/feat/laravel-11-upgrade
Browse files Browse the repository at this point in the history
feat: Laravel 11 🔥
  • Loading branch information
xiCO2k authored Feb 19, 2024
2 parents 82751e5 + 103a239 commit 762710c
Show file tree
Hide file tree
Showing 58 changed files with 730 additions and 2,487 deletions.
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
Expand Down
36 changes: 21 additions & 15 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,51 @@ APP_NAME=Laravel
APP_ENV=local
APP_KEY=
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

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=new
DB_DATABASE=franciscomadeira.com
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
BROADCAST_CONNECTION=log
CACHE_STORE=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

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

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

AWS_ACCESS_KEY_ID=
Expand All @@ -43,10 +55,4 @@ 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}"
VITE_APP_NAME="${APP_NAME}"
14 changes: 10 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
* text=auto eol=lf

*.blade.php diff=html
*.css diff=css
*.html diff=html
*.md diff=markdown
*.php diff=php

/.github export-ignore
CHANGELOG.md export-ignore
.styleci.yml export-ignore
10 changes: 6 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
/.phpunit.cache
/node_modules
/public/build
/public/hot
/public/storage
/public/build
/storage/*.key
/bootstrap/ssr
/storage/*.key
/vendor
.env
.env.backup
.env.production
.phpunit.result.cache
.php-cs-fixer.cache
docker-compose.override.yml
Homestead.json
Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
/.fleet
/.idea
/.vscode
20 changes: 0 additions & 20 deletions app/Console/Kernel.php

This file was deleted.

15 changes: 0 additions & 15 deletions app/Http/Controllers/Controller.php

This file was deleted.

2 changes: 1 addition & 1 deletion app/Http/Controllers/FeedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use App\Models\Post;
use Aschmelyun\BasicFeeds\Feed;

class FeedController extends Controller
class FeedController
{
public function __invoke()
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/GivenTalksController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Spatie\SchemaOrg\Schema;
use Spatie\SchemaOrg\WebSite;

class GivenTalksController extends Controller
class GivenTalksController
{
public function __invoke(): Response
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/HomeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Spatie\SchemaOrg\Schema;
use Spatie\SchemaOrg\WebSite;

class HomeController extends Controller
class HomeController
{
public function __invoke(): Response
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Spatie\SchemaOrg\Article;
use Spatie\SchemaOrg\Schema;

class PostController extends Controller
class PostController
{
public function __invoke(Post $post): Response
{
Expand Down
66 changes: 0 additions & 66 deletions app/Http/Kernel.php

This file was deleted.

23 changes: 0 additions & 23 deletions app/Http/Middleware/Authenticate.php

This file was deleted.

16 changes: 0 additions & 16 deletions app/Http/Middleware/EncryptCookies.php

This file was deleted.

16 changes: 0 additions & 16 deletions app/Http/Middleware/PreventRequestsDuringMaintenance.php

This file was deleted.

32 changes: 0 additions & 32 deletions app/Http/Middleware/RedirectIfAuthenticated.php

This file was deleted.

19 changes: 0 additions & 19 deletions app/Http/Middleware/TrimStrings.php

This file was deleted.

Loading

0 comments on commit 762710c

Please sign in to comment.