36 Commits

Author SHA1 Message Date
Taylor Otwell
4b1588713d add resend 2024-05-03 12:16:26 -05:00
Taylor Otwell
f437205a5e slim configuration 2024-02-23 14:35:25 -06:00
Taylor Otwell
96508d43ec wip 2024-02-23 11:53:06 -06:00
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
Jesper Noordsij
4ecd97bcf7
Add option to configure Mailgun transporter scheme (#5831) 2022-03-03 08:13:57 -06:00
Taylor Otwell
051dea5941 formatting 2019-08-14 09:19:31 -05:00
Dries Vints
c07809e224
Merge branch 'master' into develop
# Conflicts:
#	config/services.php
2019-08-14 13:49:52 +02:00
Taylor Otwell
bb43372548 formatting 2019-08-13 15:05:56 -05:00
Dries Vints
83d2ecc0e9
Remove Stripe config settings
These now ship with a dedicated config file for Cashier.
2019-08-13 18:19:40 +02:00
Taylor Otwell
c9bb74c7e0 formatting 2019-05-08 08:06:25 -05:00
Dries Vints
fe9f8497d9
Remove services deleted from core
See https://github.com/laravel/framework/pull/28441 and https://github.com/laravel/framework/pull/28442
2019-05-07 17:57:29 +02:00
Avtandil Kikabidze
b34328a166
Use correct env name for AWS region from env.example 2019-02-27 14:05:01 +04:00
Taylor Otwell
45742652cc add postmark token 2019-02-25 20:21:00 -06:00
Taylor Otwell
87667b25ae update env variable stubs 2018-12-18 09:09:55 -06:00
Dries Vints
568250557c
Add new Stripe webhook config values
See https://github.com/laravel/cashier/pull/565
2018-10-11 18:12:19 +02:00
Claudio Dekker
dfe5afa71b Add missing Mailgun 'endpoint' option
Counterpart to https://github.com/laravel/framework/pull/25010
2018-09-06 14:02:17 +02:00
Gareth Thompson
13990ebbd0
Formatting fix 2018-04-09 12:42:18 +01:00
Gareth Thompson
d75a0f3baf
Add SES_REGION to local environment file
The region used by SES was hardcoded into the config file, when all other values were set as environment variables. Tweaked to keep the region consistent with other config options
2018-04-09 12:35:17 +01:00
Taylor Otwell
ea52a96386 Remove mandrill as a default configuration since it's fallen out of popularity. 2016-07-21 11:49:28 -05:00
Luqman Rom
9352968734 Add missing Mandrill secret keys in config.services 2016-05-29 21:47:02 +08:00
Taylor Otwell
d998b5bd03 formatting 2016-03-06 19:56:30 -06:00
Davide Bellini
da5d3d84fe Added SparkPost config 2016-03-02 01:04:24 +01:00
Taylor Otwell
ec0e06e783 cleaning up configs 2016-03-01 08:23:00 -06:00
Taylor Otwell
8061c2132c Convert some variables to env variables in services.php. 2015-07-23 10:58:17 -05:00
Graham Campbell
7e303014b6 Sync with 5.0 2015-06-15 22:22:23 +01:00
Romain Lanz
4b3391f6f0 Use PHP 5.5 ::class property in config files
See https://github.com/laravel/laravel/pull/3402
2015-06-05 14:58:10 +02:00
Taylor Otwell
3b7e6dcdca fix a bunch of stufF 2015-04-10 22:19:42 -05:00
Taylor Otwell
39107a78c2 Key rename. 2015-04-01 09:08:53 -05:00
Laurence Ioannou
c0a78c033c Update services.php 2015-04-02 01:00:21 +11:00
Laurence Ioannou
3f63840144 Update services.php 2015-03-24 17:53:24 +11:00
Taylor Otwell
f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell
ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell
532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell
91f174821f Stub SES configuration. 2014-11-19 23:36:45 -06:00
Taylor Otwell
76c84d8652 Convert configuration PHP 5.4 arrays. 2014-08-24 14:03:58 -05:00
Taylor Otwell
9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00