PHPackages                             gdelacc/embargoed-composer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. gdelacc/embargoed-composer

ActiveLibrary[Security](/categories/security)

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

63HTML

Since Feb 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/gdelacc/embargoed-composer)[ Packagist](https://packagist.org/packages/gdelacc/embargoed-composer)[ RSS](/packages/gdelacc-embargoed-composer/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Embargoed Composer
==================

[](#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](https://github.com/rameerez/embargoed-list).

Here's the message that replaces all pages of your app:

 [![Embargoed message displayed to Russian visitors](https://github.com/rameerez/embargoed/raw/main/public/embargoed-message.jpg?raw=true)](https://github.com/rameerez/embargoed/blob/main/public/embargoed-message.jpg?raw=true)

Installation
------------

[](#installation)

This project using composer.

```
$ composer require gdelacc/embargoed-composer

```

Usage
-----

[](#usage)

Block all visits to your website from Rusian IPS

```
