PHP code example of avoutic / web-framework-postmark
1. Go to this page and download the library: Download avoutic/web-framework-postmark library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
avoutic / web-framework-postmark example snippets
return [
'definition_files' => [
'../vendor/avoutic/web-framework/definitions/definitions.php',
'../vendor/avoutic/web-framework-postmark/definitions/definitions.php',
'app_definitions.php',
],
];
return [
MailService::class => DI\autowire(PostmarkMailService::class),
MailBackend::class => DI\autowire(PostmarkMailService::class),
];
return 'your-api-key-here';