Skip to content

Commit

Permalink
Merge pull request #6 from dsbilling/main
Browse files Browse the repository at this point in the history
Updated Laravel support and minor clean up
  • Loading branch information
hendurhance authored May 20, 2024
2 parents f660ee8 + 95a689c commit fe7420f
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7,770 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: run-tests

on:
push:
branches: [master]
branches: [main]
pull_request:
branches: [master]
branches: [main]

jobs:
test:
Expand All @@ -13,18 +13,18 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest]
php: [7.4, 8.0]
laravel: [8.*]
stability: [prefer-lowest, prefer-stable]
php: [8.2, 8.3]
laravel: [10.*, 11.*]
stability: [prefer-stable]
include:
- laravel: 8.*
testbench: ^6.6
- laravel: 11.*
testbench: ^9.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
22 changes: 14 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
main.py
/vendor

# Byte-compiled / optimized / DLL files
.DS_Store
.idea
.php_cs
.php_cs.cache
.phpunit.result.cache
build
composer.lock
coverage
docs
phpunit.xml

# Environment variables
phpstan.neon
testbench.yaml
vendor
node_modules
.php-cs-fixer.cache
.DS_Store
.env
.phpunit.result.cache
11 changes: 6 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ All notable changes to `spammailchecker` will be documented in this file

- initial release
- [DEPRECATED] This package is deprecated and will no longer be maintained. Please use version 2.0.0 or higher.

## 2.0.0 - 2023-07-02
- [ADDED] Added Laravel 10 support.
- [IMPROVED] Improved compatibility with Laravel versions 5 and above.
Expand All @@ -18,11 +18,11 @@ All notable changes to `spammailchecker` will be documented in this file
- [x] [Verifalia](https://verifalia.com/)
- [x] [AbstractApi](https://www.abstractapi.com/api/email-verification-validation-api)
- [x] [SendGrid](https://sendgrid.com/solutions/email-validation-api/)
- [ ] [ZeroBounce](https://www.zerobounce.net/)
- [ ] [ZeroBounce](https://www.zerobounce.net/)
- [ ] [MailboxValidator](https://www.mailboxvalidator.com/)
- [ ] [EmailListVerify](https://www.emaillistverify.com/)
- [ ] [EmailChecker](https://www.emailchecker.com/)

- [ADDED] Added the config file `config/laravel-spammail-checker.php` to handle package configuration.
- [ADDED] Added Abstract Driver class `Driver.php` to handle API driver configuration and validation using the `DriverInterface.php` interface.
- [ADDED] Added Config Builder class `ConfigBuilder.php` to handle package configuration building.
Expand All @@ -35,11 +35,12 @@ All notable changes to `spammailchecker` will be documented in this file
## 2.1.0 (Upcoming)
- [ADDED] Added support for Laravel ^10x.
- [ADDED] Added support for the rest of the email validation services.
- [ ] [ZeroBounce](https://www.zerobounce.net/)
- [ ] [ZeroBounce](https://www.zerobounce.net/)
- [ ] [MailboxValidator](https://www.mailboxvalidator.com/)
- [ ] [EmailListVerify](https://www.emaillistverify.com/)
- [ ] [Emailable](https://emailable.com/)
- [IMPROVED] Enhanced error handling and exception messages for better debugging.
- [IMPROVED] Improved package documentation with more examples and usage guidelines.
- [FIXED] Addressed reported issues and bugs from previous versions.
- [IMPROVED] Optimized package code for reduced memory usage and increased speed.
- [IMPROVED] Optimized package code for reduced memory usage and increased speed.
- [REMOVED] Removed support for Laravel 8 and below. The package now supports Laravel 9 and above.
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
}
],
"require": {
"php": "^7.2|^7.4|^8.0",
"php": "^8.0|^8.1|^8.2|^8.3",
"guzzlehttp/guzzle": "^6.0|^7.0",
"illuminate/support": "^8.0|^9.0|^10.0",
"laravel/framework": "^5.0|^6.0|^7.0|^8.0|^9.0|^10.0",
"quickemailverification/quickemailverification": "*"
"illuminate/support": "^9.0|^10.0|^11.0",
"laravel/framework": "^9.0|^10.0|^11.0",
"quickemailverification/quickemailverification": "^1.0"
},
"require-dev": {
"orchestra/testbench": "^6.0",
"phpunit/phpunit": "^9.0"
"orchestra/testbench": "^8.0|^9.0",
"phpunit/phpunit": "^9.0|^10.0|^11.0"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit fe7420f

Please sign in to comment.