-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<a name="1.0.0"></a> | ||
# [1.0.0](https://github.com/flextype-plugins/phpmailer) (2020-06-13) | ||
* Initial Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @link https://flextype.org | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Flextype; | ||
|
||
use function is_file; | ||
|
||
/** | ||
* Ensure vendor libraries exist | ||
*/ | ||
! is_file($phpmailer_autoload = __DIR__ . '/vendor/autoload.php') and exit('Please run: <i>composer install</i> for phpmailer plugin'); | ||
|
||
/** | ||
* Register The Auto Loader | ||
* | ||
* Composer provides a convenient, automatically generated class loader for | ||
* our application. We just need to utilize it! We'll simply require it | ||
* into the script here so that we don't have to worry about manual | ||
* loading any of our classes later on. It feels nice to relax. | ||
* Register The Auto Loader | ||
*/ | ||
$phpmailer_loader = require_once $phpmailer_autoload; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"name": "flextype-plugins/phpmailer", | ||
"type": "project", | ||
"description": "PHP Mailer for Flextype.", | ||
"keywords": ["phpmailer", "plugin", "flextype", "php"], | ||
"homepage": "https://github.com/flextype-plugins/phpmailer", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Sergey Romanenko", | ||
"email": "[email protected]", | ||
"homepage": "https://flextype.org" | ||
} | ||
], | ||
"support": { | ||
"issues": "https://github.com/flextype-plugins/phpmailer/issues" | ||
}, | ||
"require": { | ||
"php": ">=7.2.0", | ||
"ext-json": "*", | ||
"phpmailer/phpmailer": "~6.1" | ||
}, | ||
"config": { | ||
"apcu-autoloader": true, | ||
"optimize-autoloader": true, | ||
"platform": { | ||
"php": "7.2.0" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: PHP Mailer | ||
version: 1.0.0 | ||
description: PHP Mailer plugins for Flextype. | ||
icon: fas fa-envelope | ||
author: | ||
name: Sergey Romanenko | ||
email: [email protected] | ||
url: https://flextype.org | ||
homepage: https://github.com/flextype-plugins/phpmailer | ||
bugs: https://github.com/flextype-plugins/phpmailer/issues | ||
license: MIT | ||
|
||
dependencies: | ||
flextype: 0.9.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# enabled: true or false to disable the plugin | ||
enabled: true | ||
|
||
# PHP Mailer plugin priority | ||
priority: 80 |