293 Commits

Author SHA1 Message Date
Taylor Otwell
428a190050
[11.x] Slim skeleton (#6188)
See: https://github.com/laravel/framework/pull/47309

# Laravel 11 Skeleton Overview

### General Notes

More environment variables have been added to the `.env.example` file. 

The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`.

The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively.

The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware.

The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file.

The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception.

The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually.

All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes).

The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default.

All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file.

New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling.

Sanctum is no longer installed by default (see `install:api`).

Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files.

Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table.

Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command.

API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
Taylor Otwell
de6d4f58cc fixing conflicts 2023-11-06 17:31:18 -06:00
Mior Muhammad Zaki
b0b29e1296
[10.x] Update minimum laravel/sanctum (#6261)
PR #6234 updated the configuration but it depends on Sanctum 3.3. This PR avoids installing Sanctum 3.2 with the new config.
2023-10-25 09:29:35 -05:00
Julius Kiekbusch
424c99c5b9
Set new Sail constraint (#6260) 2023-10-24 12:03:22 -05:00
Nuno Maduro
96fb350fb5
Re-adds tinker (#6254) 2023-10-13 14:51:55 -05:00
Nuno Maduro
645ab9030f
Fixes build of dev-master (#6252) 2023-10-12 09:39:09 -05:00
Dries Vints
b1011d1687 Laravel v11 compatible versions 2023-06-01 13:50:54 -05:00
Dries Vints
64173fbedf dev stability 2023-06-01 13:49:58 -05:00
Dries Vints
64f3d149cb Prepare v11 2023-06-01 13:49:58 -05:00
Taylor Otwell
85203d687e update description 2023-06-01 11:12:28 -05:00
Eliezer Margareten
7e0a2db2e0
Add hashed cast to user password (#6171)
* Add `hashed` cast to user password

* Update composer.json
2023-05-10 13:51:00 -05:00
Julius Kiekbusch
ec38e3bf76
Fix laravel/framework constraints for Default Service Providers (#6160) 2023-04-18 18:21:20 +02:00
Nuno Maduro
64685e6f20
Adds phpunit/phpunit@10.1 support (#6155) 2023-04-14 09:03:05 -05:00
Nicolas Grekas
ad279a61d1
Allow php-http/discovery as a composer plugin (#6106) 2023-02-15 10:11:56 -06:00
Stephen Damian - PHP / Laravel 10 / Vue.js / React
e4abd484e5
Remove branch-alias from composer.json (#6103)
Co-authored-by: s-damian <contact@damian-freelance.fr>
2023-02-14 16:57:14 +01:00
Taylor Otwell
acd0f29ac7 update min stability 2023-02-14 09:31:57 -06:00
Nuno Maduro
99b1d97321
[10.x] Adds PHPUnit 10 support (#6052)
* Adds PHPUnit 10 support

* Reverts `noNamespaceSchemaLocation`

* Improves PHPUnit configuration file
2023-02-07 09:26:27 -06:00
Nuno Maduro
a55085b856
Uses Laravel Ignition v2.x (#6079) 2023-01-23 18:25:20 +00:00
Dries Vints
1d0dad9386
Use dev stability for master 2023-01-13 15:01:10 +01:00
Dries Vints
875e6f17e3
Merge branch '9.x' 2023-01-13 14:58:30 +01:00
Nuno Maduro
5c7cc8eee4
Keeps "prefer-stable": true 2023-01-11 15:50:07 +00:00
Nuno Maduro
75d22431af
Removes redundant composer setting 2023-01-11 15:21:12 +00:00
Taylor Otwell
c1092ec084 use min stability stable 2023-01-11 08:11:39 -06:00
Dries Vints
af241e1572
Update composer.json 2023-01-10 19:06:40 +01:00
Dries Vints
28894568fd
Update composer.json 2023-01-06 14:35:53 +01:00
Dries Vints
53e2ce5ba5
Merge branch '9.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2022-10-25 12:26:31 +02:00
Dries Vints
3ea3861e4b
Update composer.json (#5959) 2022-08-01 08:54:38 -05:00
suyar
6e1103180b
Update laravel/sanctum version (#5957) 2022-07-29 08:01:11 -05:00
Dries Vints
2bbb0ef6a0
Merge branch '9.x'
# Conflicts:
#	composer.json
2022-07-25 11:04:49 +02:00
Nuno Maduro
fa5e54a2ab
[9.x] Uses laravel/pint for styling (#5945)
* Uses `laravel/pint` for styling

* Makes `.styleci.yml` ignored on export

* Update composer.json

Co-authored-by: Dries Vints <dries@vints.io>
2022-07-15 08:38:49 -05:00
Dries Vints
f46db07ef5
Update composer.json 2022-06-28 16:36:21 +02:00
Graham Campbell
ea6e4097f5
Merge branch '9.x' 2022-05-15 21:11:17 +01:00
Dries Vints
5840c98d8f
Bump minimum Laravel version 2022-05-03 17:51:16 +02:00
Jesper Noordsij
d0603437cb
Bump laravel/framework version to latest (#5870)
Required for password rule translations to work properly (see https://github.com/laravel/framework/pull/42060)
2022-04-27 17:11:10 +02:00
Taylor Otwell
19272e0bd3 revert change - unnecessary :) 2022-04-07 09:15:43 -05:00
Taylor Otwell
9986d516f0 remove packages file for a better experience 2022-04-06 11:12:17 -05:00
Graham Campbell
004b1319f4
Drop PHP 8.0 (#5854) 2022-03-26 10:06:24 -05:00
Graham Campbell
23bf290143
Merge branch '9.x' 2022-03-26 11:56:15 +00:00
Dries Vints
ecf7b06c4b
Replace Laravel CORS package (#5825) 2022-02-22 09:42:30 -06:00
suyar
871ff9e65f
[9.x] Update sanctum config file (#5820)
* Update sanctum config file

* Update composer.json

Co-authored-by: suyaqi <suyaqi@wy.net>
Co-authored-by: Dries Vints <dries@vints.io>
2022-02-17 09:16:40 -06:00
Dries Vints
5a374ae636
[10.x] Prep Laravel 10 (#5805)
* Prep Laravel 10

* Update composer.json

* Update Kernel.php

* Update composer.json

* Update composer.json
2022-02-11 08:33:57 -06:00
Jonathan Goode
8097a3da49
Align min PHP version with docs 2022-02-10 01:08:38 +00:00
Dries Vints
13035e08c4
revert 10 for now 2022-02-08 18:07:52 +01:00
Dries Vints
9301304460
Laravel 10 2022-02-08 18:06:07 +01:00
Nuno Maduro
54a249cd3c
Bumps nunomaduro/collision dependency (#5782) 2022-01-30 10:16:02 -06:00
Graham Campbell
929571decd
Bumped minimum guzzle version to match that of the framework suggest list (#5766) 2022-01-14 07:04:13 -06:00
Dries Vints
9b4e424d98
Add Ignition (#5764) 2022-01-13 08:48:35 -06:00
Dries Vints
3701593e66
Revert "[9.x] Add Ignition" 2022-01-13 10:34:51 +01:00
Freek Van der Herten
70a8b4a108
Update composer.json 2022-01-12 23:47:13 +01:00
Dries Vints
b58d346ba9
Update composer.json (#5761) 2022-01-12 09:51:03 -06:00