xplore / composerupdates
Send email notifications when updates are available to Composer packages
Installs: 717
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 2
Open Issues: 5
Type:silverstripe-module
Requires
- knplabs/packagist-api: ~1.1
- silverstripe/cms: ~3.0
- silverstripe/framework: ~3.0
This package is not auto-updated.
Last update: 2018-01-30 10:27:12 UTC
README
Send email notifications when updates are available to Composer packages
Installation
Add to your composer.json
configuration
"require": {
"xplore/composerupdates": "~0.1"
}
Configuration
Configure _ss_environment.php
so that command line requests don't fail when sending emails http://doc.silverstripe.com/framework/en/topics/commandline#configuration
<?php
global $_FILE_TO_URL_MAPPING;
$_FILE_TO_URL_MAPPING['/path/to/site'] = 'http://my.site.com';
Set the from address in mysite/_config/config.yml
http://doc.silverstripe.com/framework/en/topics/email#administrator-emails
Email:
admin_email: 'admin@my.site.com'
Define who will receive the notification emails in mysite/_config/config.yml
ComposerUpdates:
notify:
- 'user1@domain.com'
- 'user2@domain.com'
Define a cron task as often as you require which executes
/path/to/site/framework/sake CheckComposerUpdates