Go to file
Phil Bates bcf3935071 Wrap .env.example variable values in quotes
When the developer copies .env.example to .env they are unlikely to
add quotes to the values in .env. When the developer needs to
set the value of an environment variable to a value containing a
space, as none of the existing values in .env are quoted, the
developer is unlikely to wrap this new value with spaces in quotes.
This will result in an error, as The vlucas/phpdotenv library throws
an error when setting an environment variable to a value with a space.

Quote all default environment variables by default, reducing the
likelihood of the developer ever receiving the error relating to
environment variables needing to be quoted when they contain spaces.

This excludes true, null etc. even though wrapping them in quotes
would still result in the desired behaviour, as it is more intuitive
to see these special types not wrapped in quotes.

The current default values in .env.example don't contain any spaces,
so this commit will make no difference out of the box; its only
purpose is to help out the developer further down the line on the day
when they need to set an environment variable to a value containing
spaces.

Also, the vlucas/phpdotenv library docs currently uses quoted
variables in every example, so quoting .env.example's values will lead
to more consistency with those docs. This will likely stop any
confusion for the developer when reading the vlucas/phpdotenv docs.

See laravel/framework#14586, laravel/docs#2223
2016-08-02 13:55:08 +01:00
app fix length 2016-08-01 08:51:52 -05:00
bootstrap Use the ::class notation 2015-06-08 10:29:33 +03:00
config Name this option "retry_after" for clarity. 2016-07-22 14:53:03 -05:00
database Stop aliasing a bunch of classes by default. 2016-07-14 11:27:16 -05:00
public compile assets 2016-07-26 15:39:57 -04:00
resources working on landing page 2016-08-01 10:54:47 -05:00
routes Tweak marketing text. 2016-07-24 22:22:23 -05:00
storage Ignore schedule files 2016-03-17 09:59:23 -04:00
tests Fix test. 2016-07-24 15:02:01 -05:00
.env.example Wrap .env.example variable values in quotes 2016-08-02 13:55:08 +01:00
.gitattributes Switch to `.scss` 2016-04-22 19:39:28 -07:00
.gitignore add to gitignore 2016-02-12 09:05:19 -06:00
artisan Use the ::class notation 2015-06-08 10:29:33 +03:00
composer.json Merge branch 'master' into develop 2016-07-28 15:13:28 -04:00
gulpfile.js sample js component 2016-07-23 13:40:49 -05:00
package.json Make use of Bootstrap 3.3.7 with jQuery 3 support 2016-07-26 17:11:10 +02:00
phpunit.xml Remove removed routes file 2016-07-30 12:02:46 +05:00
readme.md clearing redundancy 2016-02-29 08:42:43 -07:00
server.php Sync with 5.0 2015-06-15 22:22:23 +01:00

readme.md

Laravel PHP Framework

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.

Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.

Official Documentation

Documentation for the framework can be found on the Laravel website.

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.