portrino / cms-observer
Requires
- php: >=8.4
- ext-ctype: *
- ext-iconv: *
- doctrine/doctrine-bundle: ^3.4.2
- doctrine/doctrine-migrations-bundle: ^4.0
- doctrine/orm: ^3.8.0
- dragonmantank/cron-expression: ^3.6.1
- endroid/qr-code: ^6.1
- halaxa/json-machine: ^1.2.7
- league/commonmark: ^2.10.8
- phpdocumentor/reflection-docblock: ^6.0
- phpstan/phpdoc-parser: ^2.4.1
- scheb/2fa-backup-code: ^8.8.1
- scheb/2fa-bundle: ^8.8.1
- scheb/2fa-totp: ^8.8.1
- symfony/asset: ^8.1
- symfony/asset-mapper: ^8.1.11
- symfony/console: ^8.1.11
- symfony/doctrine-messenger: ^8.1.11
- symfony/dotenv: ^8.1
- symfony/expression-language: ^8.1.9
- symfony/flex: ^2.12
- symfony/form: ^8.1.11
- symfony/framework-bundle: ^8.1.11
- symfony/http-client: ^8.1.11
- symfony/intl: ^8.1.10
- symfony/mailer: ^8.1.10
- symfony/mime: ^8.1.10
- symfony/monolog-bundle: ^4.1
- symfony/notifier: ^8.1.11
- symfony/process: ^8.1.10
- symfony/property-access: ^8.1.11
- symfony/property-info: ^8.1.11
- symfony/rate-limiter: ^8.1
- symfony/runtime: ^8.1.11
- symfony/scheduler: ^8.1.10
- symfony/security-bundle: ^8.1.11
- symfony/serializer: ^8.1.11
- symfony/stimulus-bundle: ^3.8.0
- symfony/string: ^8.1.10
- symfony/translation: ^8.1.11
- symfony/twig-bundle: ^8.1.9
- symfony/ux-turbo: ^3.8.0
- symfony/validator: ^8.1.11
- symfony/web-link: ^8.1
- symfony/yaml: ^8.1.11
- symfonycasts/sass-bundle: ^0.10.0
- twig/extra-bundle: ^3.31
- twig/intl-extra: ^3.31
- twig/markdown-extra: ^3.31.1
- twig/twig: ^3.31.1
Requires (Dev)
- dama/doctrine-test-bundle: ^8.8
- ergebnis/composer-normalize: ^2.59
- friendsofphp/php-cs-fixer: ^3.95.32
- heyosseus/phpstan-sloppy: ^1.1
- heyosseus/sloppy: ^1.8.3
- phpstan/phpstan: ^2.3.7
- phpstan/phpstan-deprecation-rules: ^2.0.6
- phpstan/phpstan-doctrine: ^2.1.2
- phpstan/phpstan-strict-rules: ^2.1.2
- phpstan/phpstan-symfony: ^2.1.1
- phpunit/phpunit: ^13.4.8
- rector/rector: ^2.8.5
- roave/security-advisories: dev-latest
- seld/jsonlint: ^1.12.2
- sensiolabs/security-advisories: dev-master
- spaze/phpstan-disallowed-calls: ^4.15.1
- symfony/browser-kit: ^8.1.11
- symfony/css-selector: ^8.1.10
- symfony/debug-bundle: ^8.1
- symfony/maker-bundle: ^1.68
- symfony/stopwatch: ^8.1
- symfony/web-profiler-bundle: ^8.1.11
- tomasvotruba/cognitive-complexity: ^1.3
- tomasvotruba/type-coverage: ^2.5.1
- typo3/coding-standards: ^0.9
Suggests
None
Provides
None
Conflicts
README
Monitors the CMS installations of all your sites in one place. Each site pushes a short report with its CMS core, PHP and database versions and its installed extensions or plugins; the Observer checks them against release, end-of-life and vulnerability data and emails you when something becomes insecure.
A small client in the CMS sends the report. Clients exist for TYPO3 and WordPress so far; more CMS can follow, and you're welcome to propose one via a pull request, see supporting another CMS.
| CMS | Client | Checked against |
|---|---|---|
| TYPO3 12.4 – 14.3 | cms-observer-client-typo3 | get.typo3.org, TER, TYPO3 security advisories |
| WordPress 6.4+ | cms-observer-client-wordpress | wordpress.org, Wordfence Intelligence |
| PHP, MariaDB, MySQL, PostgreSQL | (part of every report) | endoflife.date |
✨ Features
- Security status per site: insecure or outdated core, PHP, database and packages, the matching advisory or CVE
- Email notifications: one summary mail per run for every new finding, never one mail per site
- Change history: when which core, PHP, database or package version changed, and when something became insecure
- Upgrade calculations: effort and price of a major core upgrade from the latest report, versioned, comparable and printable
- English and German: each user picks the language, mails follow it
- Staging-safe reports: reports from another domain, e.g. a staging copy with the production token, are rejected
🔥 Installation
Important
Requires PHP 8.4+, MariaDB or MySQL 8, a web server with public/ as
document root and a cron job for the scheduled syncs. How you deploy is up to
you; the repository doesn't prescribe a tool.
git clone --branch <version> https://github.com/portrino/cms-observer.git cd cms-observer bin/setup
bin/setup asks for the settings, checks them, writes .env.local, creates
the database, builds the assets and creates the first login. Updating is
git checkout of the new version and bin/setup again. Details, the cron
job and installing without interaction: installation.
🚀 Quick start
- Log in and add a project with the URL of the site.
- Copy the token shown once after saving.
- Install the client in the site and configure the Observer URL and the token, see the client's README.
The first report arrives with the client's next run; the release and vulnerability data fills in over the next hours, or right away with the sync commands.
📚 Documentation
| Topic | What's inside |
|---|---|
| Installation | Requirements, setup, environment variables, cron job, updating |
| Configuration | Email, scheduled syncs, users and two-factor authentication |
| Data sources | Where the release and vulnerability data comes from and how sites are rated |
| Upgrade calculations | Calculating major upgrades, versions, refreshing from the latest report |
| Clients | The report API, tokens, the domain check, supporting another CMS |
| Contributing | Local setup with DDEV, tests, code style, pull requests |
💎 Credits
Inspired by t3monitoring and the SYSSY monitoring.