Replace tmdb-php/api with tmdb-php/laravel package

This commit is contained in:
DariusIII
2018-12-03 14:21:56 +01:00
parent 96ec2ec0af
commit 1267a103fe
6 changed files with 125 additions and 36 deletions
+40
View File
@@ -0,0 +1,40 @@
<?php
/**
* @package php-tmdb\laravel
* @author Mark Redeman <markredeman@gmail.com>
* @copyright (c) 2014, Mark Redeman
*/
return [
/*
* Api key
*/
'api_key' => env('TMDB_APIKEY', ''),
/**
* Client options
*/
'options' => [
/**
* Use https
*/
'secure' => true,
/*
* Cache
*/
'cache' => [
'enabled' => env('TMDB_CACHE', false),
// Keep the path empty or remove it entirely to default to storage/tmdb
'path' => storage_path('tmdb')
],
/*
* Log
*/
'log' => [
'enabled' => env('TMDB_LOG', false),
// Keep the path empty or remove it entirely to default to storage/logs/tmdb.log
'path' => storage_path('logs/tmdb.log')
]
],
];