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

Laravel 11 and PHP 8.3 Support #13

Merged
merged 1 commit into from
Mar 28, 2024
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .valetrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
php=php@8.2
php=php@8.3
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<p align="center">
<a href="https://packagist.org/packages/WendellAdriel/laravel-exa"><img src="https://img.shields.io/packagist/v/WendellAdriel/laravel-exa.svg?style=flat-square" alt="Packagist"></a>
<a href="https://packagist.org/packages/WendellAdriel/laravel-exa"><img src="https://img.shields.io/packagist/php-v/WendellAdriel/laravel-exa.svg?style=flat-square" alt="PHP from Packagist"></a>
<a href="https://packagist.org/packages/WendellAdriel/laravel-exa"><img src="https://img.shields.io/badge/Laravel-10.x-brightgreen.svg?style=flat-square" alt="Laravel Version"></a>
<a href="https://packagist.org/packages/WendellAdriel/laravel-exa"><img src="https://img.shields.io/badge/Laravel-11.x-brightgreen.svg?style=flat-square" alt="Laravel Version"></a>
</p>

<p align="center">
Expand All @@ -28,7 +28,6 @@
* API Documentation with Swagger
* Laravel Pint configuration (very opinionated)
* Pest v2 for Tests
* Git Hooks for linting files
* Base classes to speed up the development
* DTOs with [Laravel Validated DTO](https://github.com/WendellAdriel/laravel-validated-dto)
* Slack Client for notifications
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Middleware/RedirectIfAuthenticated.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class RedirectIfAuthenticated
/**
* Handle an incoming request.
*
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
* @param Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
*/
public function handle(Request $request, Closure $next, string ...$guards): Response
{
Expand Down
40 changes: 14 additions & 26 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,25 @@
}
],
"require": {
"php": "^8.2",
"php": "^8.3",
"ext-curl": "*",
"guzzlehttp/guzzle": "^7.7",
"laravel/framework": "^10.15",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8",
"guzzlehttp/guzzle": "^7.8",
"laravel/framework": "^11.1",
"laravel/sanctum": "^4.0",
"laravel/tinker": "^2.9",
"strictus/strictus": "^1.3",
"wendelladriel/laravel-validated-dto": "^2.11",
"zircote/swagger-php": "^4.7"
"wendelladriel/laravel-validated-dto": "^3.5",
"zircote/swagger-php": "^4.8"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "v3.0.0-alpha.1",
"fakerphp/faker": "^1.23",
"laravel/pint": "^1.10",
"laravel/sail": "^1.23",
"laravel/pint": "^1.15",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^7.7",
"pestphp/pest": "^2.9",
"pestphp/pest-plugin-laravel": "^2.1",
"phpunit/phpunit": "^10.2",
"spatie/laravel-ignition": "^2.2"
"nunomaduro/collision": "^8.1",
"pestphp/pest": "^2.34",
"pestphp/pest-plugin-laravel": "^2.3",
"phpunit/phpunit": "^10.5",
"spatie/laravel-ignition": "^2.4"
},
"autoload": {
"psr-4": {
Expand All @@ -65,16 +63,12 @@
"pint --dirty",
"@swagger"
],
"post-install-cmd": [
"cghooks add --ignore-lock"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
"cghooks update"
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
Expand All @@ -86,12 +80,6 @@
"extra": {
"laravel": {
"dont-discover": []
},
"hooks": {
"pre-commit": [
"make prepare",
"git add ."
]
}
},
"config": {
Expand Down
Loading