Skip to content

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

License

Notifications You must be signed in to change notification settings

gdelacc/embargoed-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Embargoed Composer

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:

Embargoed message displayed to Russian visitors

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published