Commit Graph

49 Commits

Author SHA1 Message Date
Taylor Otwell 91b4096490 update filesystem config 2025-01-21 09:03:57 -06:00
Taylor Otwell bab16982dd
private files (#6450) 2024-09-11 15:12:40 -05:00
maru0914 ad38e564ac
Format the first letter of `drivers` to lowercase (#6413) 2024-06-04 08:28:32 -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
Ankur Kumar 93395a3468
[9.x] add throw to filesystems config (#5835) 2022-03-06 10:30:51 -06:00
Roy Shay 969ff64e02
Small typo fix in filesystems.php (#5827)
* Update filesystems.php

* Update filesystems.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-02-22 15:05:53 -06:00
Dries Vints 92cd828c64
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
2021-06-01 17:49:55 +02:00
Taylor Otwell c5d38d469a update skeleton for filesystem tweaks to make sail usage easier 2021-05-18 17:01:26 -05:00
Reza Amini 2b4d7c8799
[9.x] Change default disk env key (#5568) 2021-03-19 09:03:08 -05:00
Taylor Otwell 82213fbf40 remove cloud option 2020-11-25 10:24:16 -06:00
Dries Vints e2c9261c2d
Merge branch '6.x' 2020-04-09 16:56:58 +02:00
Dries Vints 73f723a2f4
Add both endpoint and url env variables (#5276) 2020-04-09 09:54:25 -05:00
Graham Campbell 6628b7a1b4 Merge branch '6.x' 2020-03-24 13:55:12 +00:00
Jacob Honoré b7b6e35bf8
Fix s3 endpoint url reference (#5267) 2020-03-24 08:11:36 -05:00
Taylor Otwell 2c4fa1ab28 formatting 2020-02-05 16:46:09 -06:00
Andrew Brown d7f67f631d
styling 2020-02-05 10:48:51 -06:00
Andrew Brown 153746c2c1
add `links` option to filesystems config
https://github.com/laravel/framework/pull/31355
2020-02-05 10:33:45 -06: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
Taylor Otwell a58ceaf6fb
Update filesystems.php 2018-02-27 14:32:22 -06:00
Taylor Otwell c56e3865db
Update filesystems.php 2018-02-27 14:32:00 -06:00
Michal 2572ce1e36 add sftp to supported storage drivers 2018-02-27 19:03:03 +01:00
Graham Campbell 0da4d7db6f Merge branch 'master' into develop 2017-12-18 11:31:05 +00:00
Taylor Otwell 411ff5978c
Update filesystems.php 2017-11-10 08:19:10 -06:00
Johann Pardanaud dfd494f051 Support custom URLs for AWS storage 2017-11-09 20:46:09 +01:00
Michael Dyrynda f1253690c5 Update AWS environment variable defaults
Aids those users that are using the AWS CLI tools, by matching the `filesystems.disks.s3`
configuration values with those that would be set in a user's native environment already.

AWS Documentation [reference](http://docs.aws.amazon.com/cli/latest/userguide/cli-environment.html)

Resolves laravel/internals#778
2017-10-26 10:44:00 +10:30
Caique Castro 312a79f673
Allow filesystem to be changed on config
Allow to change the filesystem storage on the fly.
For example, you can swap the storage disk with a fake one with
Storage::fake for tests.
2017-04-23 14:44:18 -03:00
Taylor Otwell 7cf27b2146 make env variables for aws 2017-01-17 07:41:12 -06:00
Taylor Otwell 251140ef8b use env var 2017-01-04 12:09:43 -06:00
Taylor Otwell 65d551002e remove url 2017-01-04 10:16:05 -06:00
Taylor Otwell da62be60e8 Put URL config option on the disk to make it obvious how to customize. 2017-01-04 08:51:49 -06:00
Taylor Otwell 6a2bf44765 clear up comment 2016-10-26 08:16:28 -05:00
Taylor Otwell 85e6774d2e simplify filesystem default config 2016-02-11 10:19:57 -06:00
Graham Campbell bf3785d0bc Additional cs fixes
Signed-off-by: Graham Campbell <graham@cachethq.io>
2015-06-01 15:46:45 +01:00
Jimmy Puckett 4ee6523dfa Using the path parameter in the path method. 2015-05-28 15:31:26 -04:00
Taylor Otwell dff91c9f44 update filesystem config. 2015-05-26 16:15:28 -05:00
Gary 9534ded883 Add FTP adapter to filesystem config 2015-03-26 17:13:56 +00:00
Taylor Otwell f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Edward DeMaio 2c2488e4bd fixed spacing issue 2015-02-12 21:31:22 -05:00
Edward DeMaio 13efed3ca4 added url_type option to cloud files config
added default url type to Rackspace Cloud Files config to match the pr #7409 in laravel/framework
2015-02-12 21:29:54 -05:00
Taylor Otwell 33e19b852e Merge pull request #3026 from paulofreitas/develop
Add support for configuring AWS S3 region.
2015-01-26 10:20:58 -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 800cdac1a0 Work on paths. 2014-10-02 19:39:47 -05:00
Paulo Freitas 5da4d51f0b Add support for configuring AWS S3 region. 2014-09-18 23:49:15 -03:00
Taylor Otwell aa9015cac0 Use working directory. 2014-08-29 15:53:01 +02:00
Taylor Otwell a204045b28 Typo. 2014-08-24 13:55:57 -05:00
Taylor Otwell 3ade971b23 Add filesystem configuration. 2014-08-24 13:55:10 -05:00