73 Commits

Author SHA1 Message Date
Taylor Otwell
b378ce946a
Add Tailwind, "composer run dev" (#6463)
This PR does two things...

First, it adds a basic Tailwind configuration out of the box. This lets you start using Tailwind immediately without installing any starter kit. Useful if you just want to mess around or build things from scratch.

Second, it adds a composer run dev script, which starts php artisan serve, php artisan queue:listen --tries=1, php artisan pail (now a dev dependency by default), and npm run dev all in one command, with color coded output in the terminal using concurrently.
2024-10-10 14:21:56 -05:00
Tim MacDonald
69917ece2c
[11.x] Comment maintenance store (#6429) 2024-07-03 16:03:03 -05:00
Taylor Otwell
27907e0181 update env example file 2024-02-22 20:53:41 -06:00
Taylor Otwell
8172528d3d use empty cache prefix in env example 2024-02-22 17:04:31 -06:00
Joe Dixon
bf1c2b7a17
[11.x] Adds Reverb config (#6341)
* update example env for reverb

* remove broadcasting environment variables
2024-02-14 11:32:51 -06:00
Taylor Otwell
dc4e89b652 add bcrypt rounds to env example file 2024-01-30 15:45:11 -06:00
Nuno Maduro
cde09e632c
[11.x] Adjusts default mail environment variables (#6325)
* Adjusts default mail environment variables

* Update .env.example

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2024-01-24 09:01:05 -06:00
Taylor Otwell
a186ebf4a9 wip 2024-01-22 16:28:47 -06:00
Taylor Otwell
e23c0c1bfd
SQLite for local dev (#6322)
* update values for a sqlite default world

* migrate on post create project

* touch database

* fix typo
2024-01-20 16:02:54 -06:00
Taylor Otwell
0071cc80c7 update drivers 2023-12-18 10:14:03 -06:00
Taylor Otwell
db67662ca4 update maintenance defaults 2023-12-16 14:39:31 -06:00
Taylor Otwell
feded74d9e wip 2023-12-16 14:35:04 -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
Domantas Petrauskas
3ac233abb2
Allow accessing APP_NAME in Vite (#6204) 2023-06-21 19:07:13 -04:00
Taylor Otwell
6092ff46b3 update example 2023-01-31 09:05:09 -06: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
Taylor Otwell
20b7e19a65 add default address 2022-02-14 12:25:37 -06:00
Reza Amini
409992eed0
[9.x] Make .env.example sync with new changes (#5757)
In this PR #5568  the key has been changed!
2022-01-02 12:19:56 -06:00
Nuno Maduro
1980ca13ea
[8.x] Logs deprecations instead of treating them as exceptions (#5711)
* Logs deprecations instead of treating them as exceptions

* formatting

Co-authored-by: Taylor Otwell <taylorotwell@gmail.com>
2021-10-19 08:42:24 -05:00
Taylor Otwell
c5d38d469a update skeleton for filesystem tweaks to make sail usage easier 2021-05-18 17:01:26 -05:00
Taylor Otwell
3b2ed46e65 update variables 2020-12-12 08:47:22 -06:00
Taylor Otwell
34368a4fab revert change 2020-12-08 09:45:05 -06:00
Taylor Otwell
a895748980 update env file for sail 2020-12-08 09:04:09 -06:00
Ali Shaikh
6bfe68365d
[8.x] Added 'LOG_LEVEL' env variable in .env.example (#5445)
* Added 'LOG_LEVEL' env variable in .env.example

Added 'LOG_LEVEL' env variable in .env.example to be consistant with the change in [#5442](https://github.com/laravel/laravel/pull/5442)

* Update .env.example

Co-authored-by: Dries Vints <dries@vints.io>
2020-10-09 07:40:20 -05:00
Dries Vints
b1f35786eb
Merge branch 'master' into develop 2020-01-14 17:52:04 +01:00
Taylor Otwell
61ec16fe39 work on mail configuration file 2020-01-08 17:10:37 -06:00
Taylor Otwell
76d822768d update mail configuration file 2020-01-08 17:01:42 -06:00
Aimeos
eca7bc7d66
Use file session driver again 2020-01-08 12:44:22 +01:00
Anton Komarev
b2734a9c31 Add MAIL_FROM_ADDRESS & MAIL_FROM_NAME to .env file (#5180) 2019-12-18 11:17:32 -06:00
Taylor Otwell
f48e2d500c change some default settings 2019-12-13 22:42:46 -06:00
Taylor Otwell
6f3d68f67f use generic default db config 2019-06-04 08:10:26 -05:00
Taylor Otwell
f84a69ee85 add bucket to env example 2019-02-26 16:37:18 -06:00
Taylor Otwell
ff4f40fbab set default region 2019-02-26 14:47:40 -06:00
Taylor Otwell
87667b25ae update env variable stubs 2018-12-18 09:09:55 -06:00
Taylor Otwell
c30adc88c1 adjust variable name 2018-03-13 13:38:47 -05:00
Taylor Otwell
b78f5bd6e9 change env example 2018-01-26 14:42:08 -06:00
Taylor Otwell
2db1e0c5e8 add mix keys to example 2018-01-26 09:51:03 -06:00
Taylor Otwell
acabdff2e3 update log configuration file 2018-01-04 15:28:26 -06:00
Taylor Otwell
a32af97ede
Update .env.example 2017-12-24 08:11:41 -06:00
Mohamed Said
84b126d90d include cluster in pusher config 2017-12-24 13:22:35 +02:00
Caleb Porzio
084f100045 Load config.session.lifetime from env file 2017-10-04 09:52:03 -04:00
Matthew Davis
323e553f33 Make app name configurable in environment file 2017-04-03 20:07:41 +01:00
Ben Sampson
01fa7e37db Mailtrap now reference smtp. for their host value. 2017-03-17 16:18:18 +00:00
Theo Kouzelis
1a5f5c6159 [5.4] Change PUSHER enviroment variable names 2017-01-18 20:56:57 +00:00
Taylor Otwell
7b3e884757 Revert "[5.4] Change PUSHER enviroment variable names" 2017-01-04 15:39:53 -06:00
Theo Kouzelis
de750d9ffb Change PUSHER enviroment variable names
pusher.com's copy and paste .env snippet uses enviroment variables that
all start with "PUSHER_APP". This commit brings the config files in line
with pusher.com
2017-01-04 00:29:19 +00:00
Роман Сохарев
9c7fad23e7 Change .env PUSHER_* params order
jsut same order ![](http://dl2.joxi.net/drive/2016/08/25/0005/0117/381045/45/81e6171678.jpg)
2016-08-25 05:57:45 +07:00
Taylor Otwell
268953862f fix order 2016-08-19 16:24:19 -05:00
Frank Sepulveda
8998cf5533 Add BROADCAST_DRIVER on .env
Having pusher keys, the file should contain the key for the broadcast also.
2016-08-19 10:42:01 -07:00