1. Go to this page and download the library: Download goldnead/statamic-marketing 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/ */
goldnead / statamic-marketing example snippets
$brand->update(['settings' => ['mail' => [
'from_address' => '[email protected]',
'from_name' => 'chorgesucht.de', // defaults to the brand name
'mailer' => 'scaleway_chorgesucht', // a mailer from config/mail.php
'locale' => 'de', // the language its mail is written in
]]]);
bash
php artisan marketing:consent-integrity # report only, changes nothing
php artisan marketing:consent-integrity --repair # rebuild the index, if nothing is in the way
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.