https://github.com/cachewerk/homebrew-tap
Homebrew formula and tap for Relay.
https://github.com/cachewerk/homebrew-tap
homebrew php-extension redis
Last synced: 9 months ago
JSON representation
Homebrew formula and tap for Relay.
- Host: GitHub
- URL: https://github.com/cachewerk/homebrew-tap
- Owner: cachewerk
- License: mit
- Created: 2021-03-16T18:52:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T17:54:13.000Z (over 1 year ago)
- Last Synced: 2025-06-13T12:50:02.635Z (about 1 year ago)
- Topics: homebrew, php-extension, redis
- Language: Ruby
- Homepage: https://relay.so
- Size: 123 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 relay@8.2 # PHP 8.2
brew install relay@7.4 # 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)
- [Discussions](https://github.com/cachewerk/relay/discussions)
- [Bluesky](https://bsky.app/profile/relay.so)
## Uninstall
```php
brew uninstall relay
rm $(php-config --ini-dir)/ext-relay.ini
# brew uninstall relay@8.1
# rm $($(brew --prefix php@8.1)/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
```