Skip to content

Commit aa57f6f

Browse files
update imap service classes
1 parent 5e88328 commit aa57f6f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+20987
-86
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
indent_style = space
8+
indent_size = 4
9+
end_of_line = crlf
10+
charset = utf-8
11+
trim_trailing_whitespace = false
12+
insert_final_newline = false

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
pull_request:
7+
branches: [ main, master ]
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
php: [8.2, 8.3, 8.4]
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Setup PHP
18+
uses: shivammathur/setup-php@v4
19+
with:
20+
php-version: ${{ matrix.php }}
21+
extensions: mbstring, xml, intl
22+
- name: Install dependencies
23+
run: composer install --no-progress --no-suggest --prefer-dist
24+
- name: Run static analysis (phpstan)
25+
run: composer run stan || true
26+
- name: Run tests
27+
run: composer test

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/vendor/
2+
/.idea
3+
/vscode
4+
composer.lock
5+
/tests/attachments/
6+
.phpunit.result.cache

README.md

Whitespace-only changes.

composer.json

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "effectra/laravel-email",
3-
"description": "laravel package for handling internal/external emails",
3+
"description": "Laravel package for handling internal/external emails",
44
"type": "library",
55
"license": "mit",
66
"authors": [
7-
{
7+
{
88
"name": "Effectra",
99
"email": "[email protected]"
1010
},
@@ -16,19 +16,51 @@
1616
"autoload": {
1717
"psr-4": {
1818
"Effectra\\LaravelEmail\\": "src/",
19+
"Effectra\\LaravelEmail\\Database\\": "database/",
1920
"Effectra\\LaravelEmail\\Tests\\": "tests/"
2021
},
2122
"files": [
2223
"src/Helpers/functions.php"
2324
]
2425
},
25-
"minimum-stability": "stable",
26-
"require": {},
26+
"require": {
27+
"effectra/email-address-formatter": "^1.0",
28+
"fakerphp/faker": "^1.24",
29+
"fruitcake/php-cors": "^1.3",
30+
"guzzlehttp/uri-template": "^1.0",
31+
"illuminate/cache": "^12.32",
32+
"illuminate/database": "^12.32",
33+
"illuminate/http": "^12.32",
34+
"illuminate/session": "^12.32",
35+
"illuminate/validation": "^12.32",
36+
"illuminate/translation": "^12.32",
37+
"illuminate/container": "^12.32",
38+
"illuminate/filesystem": "^12.32",
39+
"illuminate/support": "^12.32",
40+
"effectra/laravel-status": "^1.0"
41+
},
2742
"extra": {
2843
"laravel": {
2944
"providers": [
3045
"Effectra\\LaravelEmail\\Provider\\LaravelEmailServiceProvider"
3146
]
3247
}
48+
},
49+
"require-dev": {
50+
"symfony/var-dumper": "^7.3",
51+
"pestphp/pest": "^3.8"
52+
},
53+
"config": {
54+
"allow-plugins": {
55+
"pestphp/pest-plugin": true
56+
}
57+
},
58+
"scripts": {
59+
"test": "pest",
60+
"stan": "phpstan analyse src tests --level 5",
61+
"csfix": "php-cs-fixer fix"
62+
},
63+
"autoload-dev": {
64+
"Effectra\\LaravelEmail\\Tests\\": "tests/"
3365
}
34-
}
66+
}

0 commit comments

Comments
 (0)