Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Platform
Commits
8d799eca
Unverified
Commit
8d799eca
authored
Sep 02, 2017
by
Nicolas Widart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating configurations
parent
cc5d446d
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
97 additions
and
91 deletions
+97
-91
database.php
config/database.php
+19
-37
filesystems.php
config/filesystems.php
+13
-17
mail.php
config/mail.php
+24
-13
queue.php
config/queue.php
+5
-19
services.php
config/services.php
+1
-1
session.php
config/session.php
+34
-3
view.php
config/view.php
+1
-1
No files found.
config/database.php
View file @
8d799eca
<?php
<?php
return
[
return
[
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP
| stdClass object; however, you may desire to retrieve records in an
| array format for simplicity. Here you can tweak the fetch style.
|
*/
'fetch'
=>
PDO
::
FETCH_CLASS
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Default Database Connection Name
| Default Database Connection Name
...
@@ -25,9 +10,7 @@ return [
...
@@ -25,9 +10,7 @@ return [
| you may use many connections at once using the Database library.
| you may use many connections at once using the Database library.
|
|
*/
*/
'default'
=>
env
(
'DB_CONNECTION'
,
'mysql'
),
'default'
=>
env
(
'DB_CONNECTION'
,
'mysql'
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Database Connections
| Database Connections
...
@@ -43,32 +26,29 @@ return [
...
@@ -43,32 +26,29 @@ return [
| choice installed on your machine before you begin development.
| choice installed on your machine before you begin development.
|
|
*/
*/
'connections'
=>
[
'connections'
=>
[
'sqlite'
=>
[
'sqlite'
=>
[
'driver'
=>
'sqlite'
,
'driver'
=>
'sqlite'
,
'database'
=>
env
(
'DB_DATABASE'
,
database_path
(
'database.sqlite'
)),
'database'
=>
env
(
'DB_DATABASE'
,
database_path
(
'database.sqlite'
)),
'prefix'
=>
''
,
'prefix'
=>
''
,
],
],
'mysql'
=>
[
'mysql'
=>
[
'driver'
=>
'mysql'
,
'driver'
=>
'mysql'
,
'host'
=>
env
(
'DB_HOST'
,
'
localhost
'
),
'host'
=>
env
(
'DB_HOST'
,
'
127.0.0.1
'
),
'port'
=>
env
(
'DB_PORT'
,
'3306'
),
'port'
=>
env
(
'DB_PORT'
,
'3306'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
'username'
=>
env
(
'DB_USERNAME'
,
'forge'
),
'username'
=>
env
(
'DB_USERNAME'
,
'forge'
),
'password'
=>
env
(
'DB_PASSWORD'
,
''
),
'password'
=>
env
(
'DB_PASSWORD'
,
''
),
'charset'
=>
'utf8'
,
'unix_socket'
=>
env
(
'DB_SOCKET'
,
''
),
'collation'
=>
'utf8_unicode_ci'
,
'charset'
=>
'utf8mb4'
,
'collation'
=>
'utf8mb4_unicode_ci'
,
'prefix'
=>
''
,
'prefix'
=>
''
,
'strict'
=>
fals
e
,
'strict'
=>
tru
e
,
'engine'
=>
null
,
'engine'
=>
null
,
],
],
'pgsql'
=>
[
'pgsql'
=>
[
'driver'
=>
'pgsql'
,
'driver'
=>
'pgsql'
,
'host'
=>
env
(
'DB_HOST'
,
'
localhost
'
),
'host'
=>
env
(
'DB_HOST'
,
'
127.0.0.1
'
),
'port'
=>
env
(
'DB_PORT'
,
'5432'
),
'port'
=>
env
(
'DB_PORT'
,
'5432'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
'username'
=>
env
(
'DB_USERNAME'
,
'forge'
),
'username'
=>
env
(
'DB_USERNAME'
,
'forge'
),
...
@@ -76,10 +56,19 @@ return [
...
@@ -76,10 +56,19 @@ return [
'charset'
=>
'utf8'
,
'charset'
=>
'utf8'
,
'prefix'
=>
''
,
'prefix'
=>
''
,
'schema'
=>
'public'
,
'schema'
=>
'public'
,
'sslmode'
=>
'prefer'
,
],
'sqlsrv'
=>
[
'driver'
=>
'sqlsrv'
,
'host'
=>
env
(
'DB_HOST'
,
'localhost'
),
'port'
=>
env
(
'DB_PORT'
,
'1433'
),
'database'
=>
env
(
'DB_DATABASE'
,
'forge'
),
'username'
=>
env
(
'DB_USERNAME'
,
'forge'
),
'password'
=>
env
(
'DB_PASSWORD'
,
''
),
'charset'
=>
'utf8'
,
'prefix'
=>
''
,
],
],
],
],
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Migration Repository Table
| Migration Repository Table
...
@@ -90,9 +79,7 @@ return [
...
@@ -90,9 +79,7 @@ return [
| the migrations on disk haven't actually been run in the database.
| the migrations on disk haven't actually been run in the database.
|
|
*/
*/
'migrations'
=>
'migrations'
,
'migrations'
=>
'migrations'
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Redis Databases
| Redis Databases
...
@@ -103,18 +90,13 @@ return [
...
@@ -103,18 +90,13 @@ return [
| such as APC or Memcached. Laravel makes it easy to dig right in.
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
|
*/
*/
'redis'
=>
[
'redis'
=>
[
'client'
=>
'predis'
,
'cluster'
=>
false
,
'default'
=>
[
'default'
=>
[
'host'
=>
env
(
'REDIS_HOST'
,
'
localhost
'
),
'host'
=>
env
(
'REDIS_HOST'
,
'
127.0.0.1
'
),
'password'
=>
env
(
'REDIS_PASSWORD'
,
null
),
'password'
=>
env
(
'REDIS_PASSWORD'
,
null
),
'port'
=>
env
(
'REDIS_PORT'
,
6379
),
'port'
=>
env
(
'REDIS_PORT'
,
6379
),
'database'
=>
0
,
'database'
=>
0
,
],
],
],
],
];
];
config/filesystems.php
View file @
8d799eca
<?php
<?php
return
[
return
[
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Default Filesystem Disk
| Default Filesystem Disk
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| Here you may specify the default filesystem disk that should be used
| Here you may specify the default filesystem disk that should be used
| by the framework. A "local" driver, as well as a variety of cloud
| by the framework. The "local" disk, as well as a variety of cloud
| based drivers are available for your choosing. Just store away!
| based disks are available to your application. Just store away!
|
| Supported: "local", "ftp", "s3", "rackspace"
|
|
*/
*/
'default'
=>
env
(
'FILESYSTEM_DRIVER'
,
'local'
),
'default'
=>
'local'
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Default Cloud Filesystem Disk
| Default Cloud Filesystem Disk
...
@@ -27,9 +22,7 @@ return [
...
@@ -27,9 +22,7 @@ return [
| will be bound as the Cloud disk implementation in the container.
| will be bound as the Cloud disk implementation in the container.
|
|
*/
*/
'cloud'
=>
env
(
'FILESYSTEM_CLOUD'
,
's3'
),
'cloud'
=>
's3'
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Filesystem Disks
| Filesystem Disks
...
@@ -39,10 +32,10 @@ return [
...
@@ -39,10 +32,10 @@ return [
| may even configure multiple disks of the same driver. Defaults have
| may even configure multiple disks of the same driver. Defaults have
| been setup for each driver as an example of the required options.
| been setup for each driver as an example of the required options.
|
|
| Supported Drivers: "local", "ftp", "s3", "rackspace"
|
*/
*/
'disks'
=>
[
'disks'
=>
[
'local'
=>
[
'local'
=>
[
'driver'
=>
'local'
,
'driver'
=>
'local'
,
'root'
=>
base_path
(),
'root'
=>
base_path
(),
...
@@ -59,13 +52,18 @@ return [
...
@@ -59,13 +52,18 @@ return [
'url'
=>
env
(
'APP_URL'
),
'url'
=>
env
(
'APP_URL'
),
'visibility'
=>
'public'
,
'visibility'
=>
'public'
,
],
],
'public'
=>
[
'public'
=>
[
'driver'
=>
'local'
,
'driver'
=>
'local'
,
'root'
=>
storage_path
(
'app/public'
),
'root'
=>
storage_path
(
'app/public'
),
'url'
=>
env
(
'APP_URL'
)
.
'/storage'
,
'visibility'
=>
'public'
,
'visibility'
=>
'public'
,
],
],
'content'
=>
[
'driver'
=>
'local'
,
'root'
=>
resource_path
(
'views'
),
],
's3'
=>
[
's3'
=>
[
'driver'
=>
's3'
,
'driver'
=>
's3'
,
'key'
=>
env
(
'AWS_KEY'
),
'key'
=>
env
(
'AWS_KEY'
),
...
@@ -73,7 +71,5 @@ return [
...
@@ -73,7 +71,5 @@ return [
'region'
=>
env
(
'AWS_REGION'
),
'region'
=>
env
(
'AWS_REGION'
),
'bucket'
=>
env
(
'AWS_BUCKET'
),
'bucket'
=>
env
(
'AWS_BUCKET'
),
],
],
],
],
];
];
config/mail.php
View file @
8d799eca
...
@@ -11,8 +11,8 @@ return [
...
@@ -11,8 +11,8 @@ return [
| sending of e-mail. You may specify which one you're using throughout
| sending of e-mail. You may specify which one you're using throughout
| your application here. By default, Laravel is setup for SMTP mail.
| your application here. By default, Laravel is setup for SMTP mail.
|
|
| Supported: "smtp", "
mail", "sendmail", "mailgun", "mandrill
",
| Supported: "smtp", "
sendmail", "mailgun", "mandrill", "ses
",
| "s
es", "sparkpost", "log
"
| "s
parkpost", "log", "array
"
|
|
*/
*/
...
@@ -55,7 +55,10 @@ return [
...
@@ -55,7 +55,10 @@ return [
|
|
*/
*/
'from'
=>
[
'address'
=>
env
(
'MAIL_FROM_ADDRESS'
),
'name'
=>
env
(
'MAIL_FROM_NAME'
)],
'from'
=>
[
'address'
=>
env
(
'MAIL_FROM_ADDRESS'
,
'hello@example.com'
),
'name'
=>
env
(
'MAIL_FROM_NAME'
,
'Example'
),
],
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
...
@@ -83,30 +86,38 @@ return [
...
@@ -83,30 +86,38 @@ return [
'username'
=>
env
(
'MAIL_USERNAME'
),
'username'
=>
env
(
'MAIL_USERNAME'
),
'password'
=>
env
(
'MAIL_PASSWORD'
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| S
MTP Server Password
| S
endmail System Path
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
|
Here you may set the password required by your SMTP server to send out
|
When using the "sendmail" driver to send e-mails, we will need to know
|
messages from your application. This will be given to the server on
|
the path to where Sendmail lives on this server. A default path has
|
connection so that the application will be able to send message
s.
|
been provided here, which will work well on most of your system
s.
|
|
*/
*/
'
password'
=>
env
(
'MAIL_PASSWORD'
)
,
'
sendmail'
=>
'/usr/sbin/sendmail -bs'
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
Sendmail System Path
|
Markdown Mail Settings
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
|
When using the "sendmail" driver to send e-mails, we will need to know
|
If you are using Markdown based email rendering, you may configure your
| the
path to where Sendmail lives on this server. A default path has
| the
me and component paths here, allowing you to customize the design
|
been provided here, which will work well on most of your systems.
|
of the emails. Or, you may simply stick with the Laravel defaults!
|
|
*/
*/
'sendmail'
=>
'/usr/sbin/sendmail -bs'
,
'markdown'
=>
[
'theme'
=>
'default'
,
'paths'
=>
[
resource_path
(
'views/vendor/mail'
),
],
],
];
];
config/queue.php
View file @
8d799eca
<?php
<?php
return
[
return
[
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Default Queue Driver
| Default Queue Driver
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
|
The Laravel queue API supports a variety of back-ends via an unified
|
Laravel's queue API supports an assortment of back-ends via a single
| API, giving you convenient access to each back-end using the same
| API, giving you convenient access to each back-end using the same
| syntax for each one. Here you may set the default queue driver.
| syntax for each one. Here you may set the default queue driver.
|
|
| Supported: "
null", "sync", "database", "beanstalkd", "sqs", "redis
"
| Supported: "
sync", "database", "beanstalkd", "sqs", "redis", "null
"
|
|
*/
*/
'default'
=>
env
(
'QUEUE_DRIVER'
,
'sync'
),
'default'
=>
env
(
'QUEUE_DRIVER'
,
'sync'
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Queue Connections
| Queue Connections
...
@@ -27,27 +23,22 @@ return [
...
@@ -27,27 +23,22 @@ return [
| for each back-end shipped with Laravel. You are free to add more.
| for each back-end shipped with Laravel. You are free to add more.
|
|
*/
*/
'connections'
=>
[
'connections'
=>
[
'sync'
=>
[
'sync'
=>
[
'driver'
=>
'sync'
,
'driver'
=>
'sync'
,
],
],
'database'
=>
[
'database'
=>
[
'driver'
=>
'database'
,
'driver'
=>
'database'
,
'table'
=>
'jobs'
,
'table'
=>
'jobs'
,
'queue'
=>
'default'
,
'queue'
=>
'default'
,
'
expire'
=>
6
0
,
'
retry_after'
=>
9
0
,
],
],
'beanstalkd'
=>
[
'beanstalkd'
=>
[
'driver'
=>
'beanstalkd'
,
'driver'
=>
'beanstalkd'
,
'host'
=>
'localhost'
,
'host'
=>
'localhost'
,
'queue'
=>
'default'
,
'queue'
=>
'default'
,
'
ttr'
=>
6
0
,
'
retry_after'
=>
9
0
,
],
],
'sqs'
=>
[
'sqs'
=>
[
'driver'
=>
'sqs'
,
'driver'
=>
'sqs'
,
'key'
=>
'your-public-key'
,
'key'
=>
'your-public-key'
,
...
@@ -56,16 +47,13 @@ return [
...
@@ -56,16 +47,13 @@ return [
'queue'
=>
'your-queue-name'
,
'queue'
=>
'your-queue-name'
,
'region'
=>
'us-east-1'
,
'region'
=>
'us-east-1'
,
],
],
'redis'
=>
[
'redis'
=>
[
'driver'
=>
'redis'
,
'driver'
=>
'redis'
,
'connection'
=>
'default'
,
'connection'
=>
'default'
,
'queue'
=>
'default'
,
'queue'
=>
'default'
,
'
expire'
=>
6
0
,
'
retry_after'
=>
9
0
,
],
],
],
],
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Failed Queue Jobs
| Failed Queue Jobs
...
@@ -76,10 +64,8 @@ return [
...
@@ -76,10 +64,8 @@ return [
| have failed. You may change them to any database / table you wish.
| have failed. You may change them to any database / table you wish.
|
|
*/
*/
'failed'
=>
[
'failed'
=>
[
'database'
=>
env
(
'DB_CONNECTION'
,
'mysql'
),
'database'
=>
env
(
'DB_CONNECTION'
,
'mysql'
),
'table'
=>
'failed_jobs'
,
'table'
=>
'failed_jobs'
,
],
],
];
];
config/services.php
View file @
8d799eca
...
@@ -8,7 +8,7 @@ return [
...
@@ -8,7 +8,7 @@ return [
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
|
|
| This file is for storing the credentials for third party services such
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun,
Mandrill,
and others. This file provides a sane
| as Stripe, Mailgun,
SparkPost
and others. This file provides a sane
| default location for this type of information, allowing packages
| default location for this type of information, allowing packages
| to have a conventional place to find your various credentials.
| to have a conventional place to find your various credentials.
|
|
...
...
config/session.php
View file @
8d799eca
...
@@ -85,6 +85,19 @@ return [
...
@@ -85,6 +85,19 @@ return [
'table'
=>
'sessions'
,
'table'
=>
'sessions'
,
/*
|--------------------------------------------------------------------------
| Session Cache Store
|--------------------------------------------------------------------------
|
| When using the "apc" or "memcached" session drivers, you may specify a
| cache store that should be used for these sessions. This value must
| correspond with one of the application's configured cache stores.
|
*/
'store'
=>
null
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
| Session Sweeping Lottery
| Session Sweeping Lottery
...
@@ -109,7 +122,10 @@ return [
...
@@ -109,7 +122,10 @@ return [
|
|
*/
*/
'cookie'
=>
'laravel_session'
,
'cookie'
=>
env
(
'SESSION_COOKIE'
,
str_slug
(
env
(
'APP_NAME'
,
'laravel'
),
'_'
)
.
'_session'
),
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
...
@@ -135,7 +151,7 @@ return [
...
@@ -135,7 +151,7 @@ return [
|
|
*/
*/
'domain'
=>
null
,
'domain'
=>
env
(
'SESSION_DOMAIN'
,
null
)
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
...
@@ -148,7 +164,7 @@ return [
...
@@ -148,7 +164,7 @@ return [
|
|
*/
*/
'secure'
=>
false
,
'secure'
=>
env
(
'SESSION_SECURE_COOKIE'
,
false
)
,
/*
/*
|--------------------------------------------------------------------------
|--------------------------------------------------------------------------
...
@@ -163,4 +179,19 @@ return [
...
@@ -163,4 +179,19 @@ return [
'http_only'
=>
true
,
'http_only'
=>
true
,
/*
|--------------------------------------------------------------------------
| Same-Site Cookies
|--------------------------------------------------------------------------
|
| This option determines how your cookies behave when cross-site requests
| take place, and can be used to mitigate CSRF attacks. By default, we
| do not enable this as other CSRF protection services are in place.
|
| Supported: "lax", "strict"
|
*/
'same_site'
=>
null
,
];
];
config/view.php
View file @
8d799eca
...
@@ -14,7 +14,7 @@ return [
...
@@ -14,7 +14,7 @@ return [
*/
*/
'paths'
=>
[
'paths'
=>
[
re
alpath
(
base_path
(
'resources/views'
)
),
re
source_path
(
'views'
),
],
],
/*
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment