309 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
Ayman Atmeh
d14bdeeb6d
Update welcome.blade.php (#6163)
"Set z-index to 10 for Login/Register container to ensure it appears on top of other elements"
2023-04-26 08:39:12 -05:00
Nuno Maduro
4e957b2908
Tweaks Laravel description (#6099) 2023-02-13 12:07:51 -06:00
emargareten
6f4cea4114
remove lodash (#6095) 2023-02-13 10:41:14 -06:00
Taylor Otwell
61a14cdcc4 remove shop for now while store being redone 2023-02-10 09:28:06 -06:00
Jess Archer
d73651553b
[10.x] A fresh welcome page (#6093)
* wip

* minor tweaks

* Use cool gray for dark mode

* Use the same grays for light and dark

* Improve dots bg

* Add some red back into dark mode

* Replace Tailwind CDN with compiled CSS

* Remove unnecessary class

* Restore font-display: swap

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2023-02-10 09:26:37 -06:00
Vytautas M
ca01443b96
[9.x] Support pusher-js v8.0 (#6059)
* Specify cluster for Pusher

* Update bootstrap.js

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-12-27 10:39:26 -06:00
Dries Vints
1fd1e03fcc
Update to Heroicons v2 (#6051) 2022-12-22 08:40:18 -06:00
Corné Veldman
d938bfd0d0
Changing .env to make Pusher work without editing the commented out part in the bootstrap.js (#6021)
* edit file

* This works for null, undefined and '', because it's JavaScript
2022-10-28 08:38:26 -05:00
Tim MacDonald
5138bc36db
update colours (#6002) 2022-10-04 21:26:47 -05:00
Abenet Tamiru
52863d9e4a
Update font delivery (#5952)
Seeing the non compliance of Google Fonts to GDPR I thought to update the CDN.
My non-designer eyes could see no difference on the site.
2022-07-23 19:02:13 -05:00
Irsyad A. Panjaitan
fa4c8c17e0
Update bootstrap.js (#5929)
Before it was use `VITE_PUSHER_CLUSTER`, it should be `VITE_PUSHER_APP_CLUSTER`.
2022-07-01 13:37:51 -07:00
rennokki
d694bc06cc
[9.x] Added support for easy development configuration in bootstrap.js (#5900)
* Added support for easy development configuration in bootstrap.js

* Added extra variables for existing configuration in broadcasting

* Update bootstrap.js

* Setting default for empty variable

* Update .env.example

* Update .env.example

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2022-06-24 13:35:29 -05:00
Jess Archer
86b4b1b656
[9.x] Vite (#5904)
* Use Vite

* Gitignore Vite build directory

* Use CSS entry points

* Update plugin

* Linting

* Update plugin
2022-06-22 13:07:47 -05:00
Jess Archer
2e3563d9aa
Switch to ESM imports (#5895)
This improves the transition for Vite users.
2022-05-27 17:36:33 -07:00
Dries Vints
d54907c27d
Merge branch '8.x'
# Conflicts:
#	CHANGELOG.md
#	composer.json
2021-10-26 17:22:00 +02:00
Mohamed ELIDRISSI
196a27593b
Remove additional } from welcome view inline css (#5702) 2021-10-11 08:58:39 -05:00
Taylor Otwell
7156a27cdb move lang directory 2021-10-02 11:19:50 -05:00
Alex Elkins
78e1d56c42
Update validation.php (#5699)
modify the grammar for lte and gte validation to have a parallel structure
2021-09-29 15:29:27 -05:00
Samuel Levy
0bc525860c
[8.x] Added prohibits validation message (#5681)
* Added `prohibits` validation

* Update validation.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-08-31 16:08:19 -05:00
Roy van Veldhuizen
a36f02c4f2
Dark mode auth links contrast (#5678)
* Improved contrast ratio of auth links in dark mode.

* Restored home link.
2021-08-25 13:07:32 -05:00
Cristiano Fromagio
e5962266d7
[8.x] Add accepted_if validation rule (#5658)
* Add accepted_if validation rule

* Update validation.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-08-05 08:45:48 -05:00
Josh Salway
8665891284
Update validation.php (#5636) 2021-07-01 08:38:06 -05:00
Josh Salway
c5f6f6187c
Update validation.php (#5637) 2021-07-01 08:37:19 -05:00
netpok
c1587b52c9
Add translation for current_password rule (#5628) 2021-06-13 10:46:57 -05:00
Philo Hermans
e464182760
Add prohibited validation rule (#5569) 2021-03-19 09:53:34 -05:00
Dries Vints
471195d743
Fix footer on mobile (#5561) 2021-03-12 07:55:27 -06:00
Jess Archer
3a62cfb4fe
Add language for prohibited_if and prohibited_unless validation rules (#5557) 2021-03-10 08:12:57 -06:00
Tim MacDonald
c988335502
Standarise "must" and "may" language in validation (#5552)
Majority of the messages are in the format ":attribute must
{conditions_to_be_met}", however a few inconsistently use "may" instead
of "must".

This PR fixes that and has them all use "must" instead.

To highlight the inconsistency:

```php
// "may"
'max' => [
    'numeric' => 'The :attribute may not be greater than :max.',
    'file' => 'The :attribute may not be greater than :max kilobytes.',
    'string' => 'The :attribute may not be greater than :max characters.',
    'array' => 'The :attribute may not have more than :max items.',
],
// "must"
'min' => [
    'numeric' => 'The :attribute must be at least :min.',
    'file' => 'The :attribute must be at least :min kilobytes.',
    'string' => 'The :attribute must be at least :min characters.',
    'array' => 'The :attribute must have at least :min items.',
],
```
2021-03-09 07:23:56 -06:00
Martin Eiber
16f531e646
[8.x] Added sans-serif as Fallback Font (#5543)
* Added sans-serif as Fallback Font

Added sans-serif as Fallback Font to the Welcome Page

* Update welcome.blade.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-02-26 07:19:45 -06:00
Taylor Otwell
9a56a60cc9 update wording 2021-02-16 08:02:06 -06:00
Kacper Ziubryniewicz
21c0aed802
Add a missing dot in translations (#5520) 2021-01-14 16:27:55 -06:00
A-Maged
9957559dc5
closed @auth correctly (#5471) 2020-11-17 08:57:20 -06:00
Taylor Otwell
b54ef297b3 add auth line 2020-11-09 14:36:40 -06:00
Taylor Otwell
5396be6ef2 update welcome view 2020-10-27 15:15:00 -05:00
Tim MacDonald
8d3ca07c4c
add 'multiple_of' translation (#5449) 2020-10-16 08:25:48 -05:00
Youri Wijnands
c64061629e
Use the new Google Fonts API (#5398)
https://developers.google.com/fonts/docs/css2
2020-09-08 07:50:22 -05:00
Taylor Otwell
6f1f40bc94 update link 2020-07-14 14:39:13 -05:00
Taylor Otwell
641d104610 add css file 2020-06-19 15:40:52 -05:00
Taylor Otwell
588247b790 use postCss default instead of sass 2020-06-18 15:26:58 -05:00
Taylor Otwell
b522e3b301 shop 2020-06-03 17:06:06 -05:00
Taylor Otwell
6aa12f1b06 use route service provider 2020-06-03 14:51:22 -05:00
Taylor Otwell
c15a1006d1 respect dark mode on splash 2020-05-15 14:04:40 -05:00
Taylor Otwell
0e01834bed add sponsor link 2020-04-17 10:36:46 -05:00
Taylor Otwell
0f0b78ec8c tweak welcome page 2020-04-07 15:58:25 -05:00
Taylor Otwell
bf2d370ec4 new welcome page 2020-04-07 14:38:49 -05:00
Taylor Otwell
db596ba02a Merge branch 'develop' of github.com:laravel/laravel into develop 2020-01-17 16:15:48 -06:00
Taylor Otwell
ffc74ba143 remove hyphen on email 2020-01-17 16:15:38 -06:00
Robert Korulczyk
f121af8985 Add missing full stop for some validation messages (#5205) 2020-01-12 09:06:29 -06:00
byjml
9b6643226d Consistent order (#5167)
Keep the alphabetical order of the validation messages.
2019-12-04 12:57:13 -06:00