UPDATE: Laravel 11 => 12
This commit is contained in:
parent
a964e19f9c
commit
9111fbb47c
@ -95,6 +95,15 @@ public function __invoke()
|
|||||||
'changes' => [
|
'changes' => [
|
||||||
'ADD: Obtener cualquier recurso mediante la URL /resources/get (requiere autenticación).',
|
'ADD: Obtener cualquier recurso mediante la URL /resources/get (requiere autenticación).',
|
||||||
]
|
]
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'version' => '0.9.9',
|
||||||
|
'date' => '2025-03-04',
|
||||||
|
'changes' => [
|
||||||
|
'UPGRADE: Actualización de Laravel a 12.x.',
|
||||||
|
'UPGRADE: Versión minima de PHP a 8.3.',
|
||||||
|
'UPGRADE: Actualización general de dependencias.',
|
||||||
|
]
|
||||||
]
|
]
|
||||||
]));
|
]));
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,6 +4,7 @@
|
|||||||
use Illuminate\Foundation\Configuration\Exceptions;
|
use Illuminate\Foundation\Configuration\Exceptions;
|
||||||
use Illuminate\Foundation\Configuration\Middleware;
|
use Illuminate\Foundation\Configuration\Middleware;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
use Illuminate\Routing\Middleware\SubstituteBindings;
|
||||||
use Illuminate\Session\Middleware\StartSession;
|
use Illuminate\Session\Middleware\StartSession;
|
||||||
use Notsoweb\ApiResponse\Enums\ApiResponse;
|
use Notsoweb\ApiResponse\Enums\ApiResponse;
|
||||||
use Notsoweb\LaravelCore\Http\APIException;
|
use Notsoweb\LaravelCore\Http\APIException;
|
||||||
@ -23,12 +24,14 @@
|
|||||||
->withMiddleware(function (Middleware $middleware) {
|
->withMiddleware(function (Middleware $middleware) {
|
||||||
$middleware->group('api', [
|
$middleware->group('api', [
|
||||||
StartSession::class,
|
StartSession::class,
|
||||||
|
SubstituteBindings::class,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$middleware->validateCsrfTokens(except: [
|
$middleware->validateCsrfTokens(except: [
|
||||||
'sanctum/csrf-cookie',
|
'sanctum/csrf-cookie',
|
||||||
'user/*'
|
'user/*'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$middleware->alias([
|
$middleware->alias([
|
||||||
'role' => \Spatie\Permission\Middleware\RoleMiddleware::class,
|
'role' => \Spatie\Permission\Middleware\RoleMiddleware::class,
|
||||||
'permission' => \Spatie\Permission\Middleware\PermissionMiddleware::class,
|
'permission' => \Spatie\Permission\Middleware\PermissionMiddleware::class,
|
||||||
|
|||||||
@ -6,25 +6,25 @@
|
|||||||
"keywords": ["laravel", "framework"],
|
"keywords": ["laravel", "framework"],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.3",
|
||||||
"laravel/framework": "^11.31",
|
"laravel/framework": "^12.0",
|
||||||
"laravel/passport": "^12.0",
|
"laravel/passport": "^12.4",
|
||||||
"laravel/pulse": "^1.2",
|
"laravel/pulse": "^1.4",
|
||||||
"laravel/reverb": "^1.0",
|
"laravel/reverb": "^1.4",
|
||||||
"laravel/tinker": "^2.9",
|
"laravel/tinker": "^2.10",
|
||||||
"notsoweb/laravel-core": "dev-main",
|
"notsoweb/laravel-core": "dev-main",
|
||||||
"spatie/laravel-permission": "^6.10",
|
"spatie/laravel-permission": "^6.16",
|
||||||
"tightenco/ziggy": "^2.4"
|
"tightenco/ziggy": "^2.5"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"fakerphp/faker": "^1.23",
|
"fakerphp/faker": "^1.24",
|
||||||
"laravel/pail": "^1.1",
|
"laravel/pail": "^1.2",
|
||||||
"laravel/pint": "^1.13",
|
"laravel/pint": "^1.21",
|
||||||
"laravel/sail": "^1.26",
|
"laravel/sail": "^1.41",
|
||||||
"laravel/telescope": "^5.2",
|
"laravel/telescope": "^5.5",
|
||||||
"mockery/mockery": "^1.6",
|
"mockery/mockery": "^1.6",
|
||||||
"nunomaduro/collision": "^8.1",
|
"nunomaduro/collision": "^8.6",
|
||||||
"phpunit/phpunit": "^11.0.1"
|
"phpunit/phpunit": "^11.5"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
743
composer.lock
generated
743
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -12,7 +12,7 @@
|
|||||||
| other UI elements where an application name needs to be displayed.
|
| other UI elements where an application name needs to be displayed.
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
'version' => '0.9.8',
|
'version' => '0.9.9',
|
||||||
|
|
||||||
'name' => env('APP_NAME', 'Laravel'),
|
'name' => env('APP_NAME', 'Laravel'),
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user