mirror of
https://github.com/kevin-DL/scraps.git
synced 2026-01-11 18:04:31 +00:00
Create spoonacular integration
- Find recipes by ingredients
This commit is contained in:
38
config/saloon.php
Normal file
38
config/saloon.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Saloon\Http\Senders\GuzzleSender;
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Default Saloon Sender
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This value specifies the "sender" class that Saloon should use by
|
||||
| default on all connectors. You can change this sender if you
|
||||
| would like to use your own. You may also specify your own
|
||||
| sender on a per-connector basis.
|
||||
|
|
||||
*/
|
||||
|
||||
'default_sender' => GuzzleSender::class,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Integrations Path
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| By default, this package will create any classes within
|
||||
| `/app/Http/Integrations` directory. If you're using
|
||||
| a different design approach, then your classes
|
||||
| may be in a different place. You can change
|
||||
| that location so that the saloon:list
|
||||
| command will still find your files
|
||||
|
|
||||
*/
|
||||
|
||||
'integrations_path' => base_path('App/Http/Integrations'),
|
||||
];
|
||||
@@ -35,4 +35,9 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
'spoonacular' => [
|
||||
'api_url' => env('SPOONACULAR_BASE_API_URL'),
|
||||
'api_key' => env('SPOONACULAR_API_KEY'),
|
||||
]
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user