Skip to content

Commit d22a66b

Browse files
authored
Merge pull request #1 from coderflexx/setup-resources
Setup Resources
2 parents 6493534 + e09bc66 commit d22a66b

16 files changed

+151
-65
lines changed

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
"require": {
1919
"php": "^8.4",
2020
"spatie/laravel-package-tools": "^1.16",
21-
"illuminate/contracts": "^10.0||^11.0||^12.0"
21+
"illuminate/contracts": "^10.0||^11.0||^12.0",
22+
"ext-curl": "*",
23+
"ext-json": "*",
24+
"league/oauth2-client": "^2",
25+
"guzzlehttp/guzzle": "7.x"
2226
},
2327
"require-dev": {
2428
"laravel/pint": "^1.14",
@@ -71,4 +75,4 @@
7175
},
7276
"minimum-stability": "dev",
7377
"prefer-stable": true
74-
}
78+
}

config/sendy.php

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
<?php
22

3-
// config for Coderflex/LaravelSendy
43
return [
4+
/*
5+
|--------------------------------------------------------------------------
6+
| Sendy Installation URL
7+
|--------------------------------------------------------------------------
8+
|
9+
| This URL is used to connect to your Sendy installation. It should
10+
| point to the root of your Sendy installation. For example:
11+
| https://your-sendy-installation.com
12+
*/
13+
'sendy_installation_url' => env('SENDY_INSTALLATION_URL', 'https://your-sendy-installation.com'),
514

15+
/*
16+
|--------------------------------------------------------------------------
17+
| Sendy API Key
18+
|--------------------------------------------------------------------------
19+
|
20+
| This key is used to authenticate your application with the Sendy
21+
| installation. You can find your API key in the Sendy settings.
22+
| Make sure to keep this key secure and do not share it with anyone.
23+
| It is recommended to use environment variables to store sensitive
24+
| information like API keys. You can set the SENDY_API_KEY
25+
*/
26+
'sendy_api_key' => env('SENDY_API_KEY', 'your-sendy-api-key'),
627
];

database/factories/ModelFactory.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

database/migrations/create_sendy_table.php.stub

Lines changed: 0 additions & 19 deletions
This file was deleted.

resources/views/.gitkeep

Whitespace-only changes.

src/Commands/LaravelSendyCommand.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/DTOs/CompaignDTO.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Coderflex\LaravelSendy\DTOs;
4+
5+
class CompaignDTO
6+
{
7+
public function __construct(
8+
//
9+
) {}
10+
}

src/DTOs/SubscribersDTO.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
namespace Coderflex\LaravelSendy\DTOs;
4+
5+
class SubscribersDTO
6+
{
7+
public function __construct(
8+
//
9+
) {}
10+
}

src/Exceptions/CompaingException.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace Coderflex\LaravelSendy\DTOs;
4+
5+
class CompaingException extends \Exception
6+
{
7+
//
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace Coderflex\LaravelSendy\DTOs;
4+
5+
class SubscribersException extends \Exception
6+
{
7+
//
8+
}

0 commit comments

Comments
 (0)