Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cachewerk/homebrew-tap

Homebrew formula and tap for Relay.
https://github.com/cachewerk/homebrew-tap

homebrew php-extension redis

Last synced: 4 days ago
JSON representation

Homebrew formula and tap for Relay.

Awesome Lists containing this project

README

        

# Homebrew tap for Relay

To install the Relay extension for PHP using Homebrew, first add the tap:

```bash
brew tap cachewerk/tap
```

Next, determine your PHP version using `php -v` and install the matching extension:

```bash
brew install relay # PHP 8.3
brew install [email protected] # PHP 8.2
brew install [email protected] # PHP 7.4
```

The installation might abort and you'll be prompted to install some PHP extensions that Relay requires. You can install them using PECL:

```bash
pecl install msgpack
pecl install igbinary
```

After the installation is completed, be sure to restart your PHP-FPM and web server services:

```bash
sudo brew services restart php
sudo brew services restart nginx
```

## Links

- [Documentation](https://relay.so/docs)
- [Twitter](https://twitter.com/RelayPHP)
- [Discussions](https://github.com/cachewerk/relay/discussions)

## Uninstall

```php
brew uninstall relay
rm $(php-config --ini-dir)/ext-relay.ini

# brew uninstall [email protected]
# rm $($(brew --prefix [email protected])/bin/php-config --ini-dir)/ext-relay.ini

rm -rf /opt/homebrew/etc/relay
```

## Development

Check the formula syntax before committing.

```bash
brew style cachewerk/tap
```