gdelacc / embargoed-composer
Embargoed Composer is a simple PHP Composer library to blocks all requests from Russia and displays a pro-Ukraine message instead. Based on https://github.com/rameerez/embargoed
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 0
Language:HTML
Requires
- maxmind-db/reader: ~1.0
This package is not auto-updated.
Last update: 2025-03-10 06:28:31 UTC
README
Embargoed is middleware for PHP Composer with a engine that blocks all requests from Russia and displays a pro-Ukraine message instead.
People are already working on making for all other platforms. If you port it to other platform, please let me know and I'll add your port to the list of ports.
Here's the message that replaces all pages of your app:
Installation
This project using composer.
$ composer require gdelacc/embargoed-composer
Usage
Block all visits to your website from Rusian IPS
<?php use embargoedComposer\EmbargoedComposer; new EmbargoedComposer();
Collaborate
Please feel free to contact to @rameerez or fork this to port it to other platforms, or make PRs to this repo to collaborate.