60 Commits

Author SHA1 Message Date
Nuno Maduro
dd60315e9a
[11.x] Simplify PHP comments (#6316)
* Simplifies comments

* Apply fixes from StyleCI

* Removes non used line

* remove some comments

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Taylor Otwell <taylor@laravel.com>
2024-01-11 14:32:05 -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
Umar
ca7f386666
[8.x] Grammatical omission of 'of' on line 14 (#5603)
* [FIX] grammatical omission of 'of' on line 14

* Update artisan

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-04-30 07:45:35 -05:00
Taylor Otwell
11dfcf6d1a fix conflicts 2017-05-07 09:56:20 -05:00
Bappi
720e4edce2 fix typo 2017-04-26 22:24:12 +06:00
Josh Manders
dbe787e7ef add LARAVEL_START 2017-04-17 17:56:54 -05:00
Josh Manders
1b99d087ce Fix break from #4226 2017-04-17 17:54:39 -05:00
Pantelis Peslis
16e37cb370 Use the ::class notation 2015-06-08 10:29:33 +03:00
Taylor Otwell
f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Taylor Otwell
009c2fbd26 Tweak artisan file. 2015-02-03 09:02:18 -06:00
Taylor Otwell
32fd6ca3d7 Remove comment. 2014-11-21 08:17:13 -06:00
Taylor Otwell
4301348646 Large refactor of HTTP and Console stack. 2014-10-20 11:14:41 -05:00
Taylor Otwell
cb21cb8aa8 Merge pull request #2754 from GrahamCampbell/fixes
Minor CS Fixes
2014-04-11 17:17:01 -05:00
Taylor Otwell
28a95624fe Fix wording. 2014-04-11 16:32:36 -05:00
Graham Campbell
753370615e Minor cs fixes 2014-03-15 10:14:55 +00:00
Taylor Otwell
29fc9f694d Working on more Stacky setup. 2013-10-25 00:28:22 -05:00
Nils Werner
68e9fea2e6 Make artisan executable 2013-05-28 11:05:10 +02:00
Taylor Otwell
4aaf9a8f2b Exit with artisan status code. 2013-03-13 11:56:39 -05:00
Taylor Otwell
2a14998be9 fire app shutdown event. 2013-03-08 10:52:24 -06:00
Ben Corlett
8a5f18e139 Moving start.php to bootstrap/start.php to collate all bootstrapping files.
Signed-off-by: Ben Corlett <bencorlett@me.com>
2013-02-07 09:27:15 +11:00
Taylor Otwell
5ad3707ca4 boot the application on all artisan commands. 2013-01-23 23:43:28 -06:00
Taylor Otwell
9d3c3ea038 tweak how autoloaders are called. adjust phpunit bootstrap. 2013-01-23 23:33:47 -06:00
Taylor Otwell
5d99f9f1d6 moving laravel 4 into develop branch. 2013-01-11 15:14:07 -06:00
Taylor Otwell
ab2581dba5 increment version. 2013-01-10 16:19:57 -06:00
Taylor Otwell
d2fefa65aa Work on section handling. 2012-11-06 15:04:13 -06:00
Taylor Otwell
4c53b9d94d remove artisan change. 2012-10-31 08:54:35 -05:00
Taylor Otwell
3416506194 increment version. refactor eloquent eager loading matching. 2012-10-07 14:04:29 -05:00
Taylor Otwell
d1c1fe4446 fix bug in eloquent model and update version. 2012-09-27 17:45:12 -04:00
Taylor Otwell
14c6ff1692 Increment version and change log. 2012-09-26 10:13:30 -04:00
Taylor Otwell
8afab342c6 Incrementing version and updating change log. 2012-09-01 22:09:47 -05:00
Taylor Otwell
c785067e95 Increment version and change log. 2012-08-29 14:45:22 -05:00
Taylor Otwell
9b902427fd Updating version. 2012-08-28 23:55:04 -05:00
Taylor Otwell
e8119f8109 increment version. 2012-08-17 09:04:17 -05:00
Taylor Otwell
750365c740 increment version 2012-06-28 15:28:26 -05:00
Taylor Otwell
681f80eafb update change log 2012-06-16 15:08:03 -05:00
Taylor Otwell
b27b132128 update change log 2012-06-13 10:26:42 -05:00
Taylor Otwell
ba088022bb updated version. 2012-06-03 19:54:02 -05:00
Taylor Otwell
8a1011c159 add bin path to artisan. 2012-06-03 19:49:43 -05:00
Taylor Otwell
d21713f35f increment version. 2012-05-29 17:08:30 -05:00
Taylor Otwell
a59cdd937a updated version. 2012-05-04 09:00:47 -05:00
Taylor Otwell
af42dec07b update change log and version. 2012-04-19 08:21:42 -05:00
Taylor Otwell
728a320cbc increment version and update change log. 2012-04-13 08:24:42 -05:00
Taylor Otwell
cb9050844a incremented version. 2012-04-10 10:09:34 -05:00
Taylor Otwell
b7ac1b75af updated change log and incremented version. 2012-04-05 09:30:16 -05:00
Taylor Otwell
3e00ce2efb fix bug regarding SSL cookies. 2012-04-04 09:50:01 -05:00
Taylor Otwell
bf886f3271 incrementing version. 2012-04-01 13:49:56 -05:00
Taylor Otwell
6aaf015cff incremented version and change log. 2012-03-30 08:43:10 -05:00
Taylor Otwell
67758b6932 update change log. 2012-03-29 22:06:20 -05:00
Taylor Otwell
6bf68aad38 update for 3.1.1 2012-03-28 11:43:32 -05:00
Taylor Otwell
158bc32c89 Incrementing version. 2012-03-26 12:57:29 -05:00