Advertisement
Guest User

Untitled

a guest
Jan 15th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.07 KB | None | 0 0
  1. <?php
  2.  
  3. return [
  4.  
  5. /*
  6. |--------------------------------------------------------------------------
  7. | Default Cache Store
  8. |--------------------------------------------------------------------------
  9. |
  10. | This option controls the default cache connection that gets used while
  11. | using this caching library. This connection is used when another is
  12. | not explicitly specified when executing a given caching function.
  13. |
  14. */
  15.  
  16. 'default' => env('CACHE_DRIVER', 'file'),
  17.  
  18. /*
  19. |--------------------------------------------------------------------------
  20. | Cache Stores
  21. |--------------------------------------------------------------------------
  22. |
  23. | Here you may define all of the cache "stores" for your application as
  24. | well as their drivers. You may even define multiple stores for the
  25. | same cache driver to group types of items stored in your caches.
  26. |
  27. */
  28.  
  29. 'stores' => [
  30.  
  31. 'apc' => [
  32. 'driver' => 'apc',
  33. ],
  34.  
  35. 'array' => [
  36. 'driver' => 'array',
  37. ],
  38.  
  39. 'database' => [
  40. 'driver' => 'database',
  41. 'table' => 'cache',
  42. 'connection' => null,
  43. ],
  44.  
  45. 'file' => [
  46. 'driver' => 'file',
  47. 'path' => storage_path('framework/cache'),
  48. ],
  49.  
  50. 'memcached' => [
  51. 'driver' => 'memcached',
  52. 'servers' => [
  53. [
  54. 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
  55. 'port' => env('MEMCACHED_PORT', 11211),
  56. 'weight' => 100,
  57. ],
  58. ],
  59. ],
  60.  
  61. 'redis' => [
  62. 'driver' => 'redis',
  63. 'connection' => 'default',
  64. ],
  65.  
  66. ],
  67.  
  68. /*
  69. |--------------------------------------------------------------------------
  70. | Cache Key Prefix
  71. |--------------------------------------------------------------------------
  72. |
  73. | When utilizing a RAM based store such as APC or Memcached, there might
  74. | be other applications utilizing the same cache. So, we'll specify a
  75. | value to get prefixed to all our keys so we can avoid collisions.
  76. |
  77. */
  78.  
  79. 'prefix' => 'laravel',
  80.  
  81. ];
  82.  
  83. <?php
  84.  
  85. return [
  86.  
  87. /*
  88. |--------------------------------------------------------------------------
  89. | Default Session Driver
  90. |--------------------------------------------------------------------------
  91. |
  92. | This option controls the default session "driver" that will be used on
  93. | requests. By default, we will use the lightweight native driver but
  94. | you may specify any of the other wonderful drivers provided here.
  95. |
  96. | Supported: "file", "cookie", "database", "apc",
  97. | "memcached", "redis", "array"
  98. |
  99. */
  100.  
  101. 'driver' => env('SESSION_DRIVER', 'file'),
  102.  
  103. /*
  104. |--------------------------------------------------------------------------
  105. | Session Lifetime
  106. |--------------------------------------------------------------------------
  107. |
  108. | Here you may specify the number of minutes that you wish the session
  109. | to be allowed to remain idle before it expires. If you want them
  110. | to immediately expire on the browser closing, set that option.
  111. |
  112. */
  113.  
  114. 'lifetime' => 120,
  115.  
  116. 'expire_on_close' => false,
  117.  
  118. /*
  119. |--------------------------------------------------------------------------
  120. | Session Encryption
  121. |--------------------------------------------------------------------------
  122. |
  123. | This option allows you to easily specify that all of your session data
  124. | should be encrypted before it is stored. All encryption will be run
  125. | automatically by Laravel and you can use the Session like normal.
  126. |
  127. */
  128.  
  129. 'encrypt' => false,
  130.  
  131. /*
  132. |--------------------------------------------------------------------------
  133. | Session File Location
  134. |--------------------------------------------------------------------------
  135. |
  136. | When using the native session driver, we need a location where session
  137. | files may be stored. A default has been set for you but a different
  138. | location may be specified. This is only needed for file sessions.
  139. |
  140. */
  141.  
  142. 'files' => storage_path('framework/sessions'),
  143.  
  144. /*
  145. |--------------------------------------------------------------------------
  146. | Session Database Connection
  147. |--------------------------------------------------------------------------
  148. |
  149. | When using the "database" or "redis" session drivers, you may specify a
  150. | connection that should be used to manage these sessions. This should
  151. | correspond to a connection in your database configuration options.
  152. |
  153. */
  154.  
  155. 'connection' => null,
  156.  
  157. /*
  158. |--------------------------------------------------------------------------
  159. | Session Database Table
  160. |--------------------------------------------------------------------------
  161. |
  162. | When using the "database" session driver, you may specify the table we
  163. | should use to manage the sessions. Of course, a sensible default is
  164. | provided for you; however, you are free to change this as needed.
  165. |
  166. */
  167.  
  168. 'table' => 'sessions',
  169.  
  170. /*
  171. |--------------------------------------------------------------------------
  172. | Session Sweeping Lottery
  173. |--------------------------------------------------------------------------
  174. |
  175. | Some session drivers must manually sweep their storage location to get
  176. | rid of old sessions from storage. Here are the chances that it will
  177. | happen on a given request. By default, the odds are 2 out of 100.
  178. |
  179. */
  180.  
  181. 'lottery' => [2, 100],
  182.  
  183. /*
  184. |--------------------------------------------------------------------------
  185. | Session Cookie Name
  186. |--------------------------------------------------------------------------
  187. |
  188. | Here you may change the name of the cookie used to identify a session
  189. | instance by ID. The name specified here will get used every time a
  190. | new session cookie is created by the framework for every driver.
  191. |
  192. */
  193.  
  194. 'cookie' => 'laravel_session',
  195.  
  196. /*
  197. |--------------------------------------------------------------------------
  198. | Session Cookie Path
  199. |--------------------------------------------------------------------------
  200. |
  201. | The session cookie path determines the path for which the cookie will
  202. | be regarded as available. Typically, this will be the root path of
  203. | your application but you are free to change this when necessary.
  204. |
  205. */
  206.  
  207. 'path' => '/',
  208.  
  209. /*
  210. |--------------------------------------------------------------------------
  211. | Session Cookie Domain
  212. |--------------------------------------------------------------------------
  213. |
  214. | Here you may change the domain of the cookie used to identify a session
  215. | in your application. This will determine which domains the cookie is
  216. | available to in your application. A sensible default has been set.
  217. |
  218. */
  219.  
  220. 'domain' => null,
  221.  
  222. /*
  223. |--------------------------------------------------------------------------
  224. | HTTPS Only Cookies
  225. |--------------------------------------------------------------------------
  226. |
  227. | By setting this option to true, session cookies will only be sent back
  228. | to the server if the browser has a HTTPS connection. This will keep
  229. | the cookie from being sent to you if it can not be done securely.
  230. |
  231. */
  232.  
  233. 'secure' => false,
  234.  
  235. /*
  236. |--------------------------------------------------------------------------
  237. | HTTP Access Only
  238. |--------------------------------------------------------------------------
  239. |
  240. | Setting this value to true will prevent JavaScript from accessing the
  241. | value of the cookie and the cookie will only be accessible through
  242. | the HTTP protocol. You are free to modify this option if needed.
  243. |
  244. */
  245.  
  246. 'http_only' => true,
  247.  
  248. ];
  249.  
  250. <?php
  251.  
  252. return [
  253.  
  254. /*
  255. |--------------------------------------------------------------------------
  256. | PDO Fetch Style
  257. |--------------------------------------------------------------------------
  258. |
  259. | By default, database results will be returned as instances of the PHP
  260. | stdClass object; however, you may desire to retrieve records in an
  261. | array format for simplicity. Here you can tweak the fetch style.
  262. |
  263. */
  264.  
  265. 'fetch' => PDO::FETCH_CLASS,
  266.  
  267. /*
  268. |--------------------------------------------------------------------------
  269. | Default Database Connection Name
  270. |--------------------------------------------------------------------------
  271. |
  272. | Here you may specify which of the database connections below you wish
  273. | to use as your default connection for all database work. Of course
  274. | you may use many connections at once using the Database library.
  275. |
  276. */
  277.  
  278. 'default' => env('DB_CONNECTION', 'mysql'),
  279.  
  280. /*
  281. |--------------------------------------------------------------------------
  282. | Database Connections
  283. |--------------------------------------------------------------------------
  284. |
  285. | Here are each of the database connections setup for your application.
  286. | Of course, examples of configuring each database platform that is
  287. | supported by Laravel is shown below to make development simple.
  288. |
  289. |
  290. | All database work in Laravel is done through the PHP PDO facilities
  291. | so make sure you have the driver for your particular database of
  292. | choice installed on your machine before you begin development.
  293. |
  294. */
  295.  
  296. 'connections' => [
  297.  
  298. 'sqlite' => [
  299. 'driver' => 'sqlite',
  300. 'database' => env('DB_DATABASE', database_path('database.sqlite')),
  301. 'prefix' => '',
  302. ],
  303.  
  304. 'mysql' => [
  305. 'driver' => 'mysql',
  306. 'host' => env('DB_HOST', '//removede'),
  307. 'port' => env('DB_PORT', '//removed'),
  308. 'database' => env('DB_DATABASE', 'gopagoda'),
  309. 'username' => env('DB_USERNAME', '//removed'),
  310. 'password' => env('DB_PASSWORD', '//removed'),
  311. 'charset' => 'utf8',
  312. 'collation' => 'utf8_unicode_ci',
  313. 'prefix' => '',
  314. 'strict' => false,
  315. 'engine' => null,
  316. ],
  317.  
  318. 'pgsql' => [
  319. 'driver' => 'pgsql',
  320. 'host' => env('DB_HOST', 'localhost'),
  321. 'port' => env('DB_PORT', '5432'),
  322. 'database' => env('DB_DATABASE', 'forge'),
  323. 'username' => env('DB_USERNAME', 'forge'),
  324. 'password' => env('DB_PASSWORD', ''),
  325. 'charset' => 'utf8',
  326. 'prefix' => '',
  327. 'schema' => 'public',
  328. ],
  329.  
  330.  
  331.  
  332.  
  333.  
  334. ],
  335.  
  336. /*
  337. |--------------------------------------------------------------------------
  338. | Migration Repository Table
  339. |--------------------------------------------------------------------------
  340. |
  341. | This table keeps track of all the migrations that have already run for
  342. | your application. Using this information, we can determine which of
  343. | the migrations on disk haven't actually been run in the database.
  344. |
  345. */
  346.  
  347. 'migrations' => 'migrations',
  348.  
  349. /*
  350. |--------------------------------------------------------------------------
  351. | Redis Databases
  352. |--------------------------------------------------------------------------
  353. |
  354. | Redis is an open source, fast, and advanced key-value store that also
  355. | provides a richer set of commands than a typical key-value systems
  356. | such as APC or Memcached. Laravel makes it easy to dig right in.
  357. |
  358. */
  359.  
  360. 'redis' => [
  361.  
  362.  
  363. 'cluster' => false,
  364.  
  365. 'default' => [
  366. 'host' => env('REDIS_HOST', '192.168.0.3'),
  367. 'password' => env('REDIS_PASSWORD', null),
  368. 'port' => env('REDIS_PORT', 6379),
  369. 'database' => 0,
  370. ],
  371.  
  372. ],
  373.  
  374. ];
  375.  
  376. DB_CONNECTION=mysql
  377. DB_HOST=
  378. DB_PORT=3306
  379. DB_DATABASE=gopagoda
  380. DB_USERNAME={removed}
  381. DB_PASSWORD={removed}
  382.  
  383. BROADCAST_DRIVER=log
  384. CACHE_DRIVER=file
  385. SESSION_DRIVER=file
  386. QUEUE_DRIVER=sync
  387.  
  388. REDIS_HOST=192.168.0.3
  389. REDIS_PASSWORD=null
  390. REDIS_PORT=6379
  391.  
  392. MAIL_DRIVER=smtp
  393. MAIL_HOST=mailtrap.io
  394. MAIL_PORT=2525
  395. MAIL_USERNAME=null
  396. MAIL_PASSWORD=null
  397. MAIL_ENCRYPTION=null
  398.  
  399. PUSHER_APP_ID=
  400. PUSHER_KEY=
  401. PUSHER_SECRET=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement