https://github.com/cachewerk/homebrew-tap
Homebrew formula and tap for Relay.
https://github.com/cachewerk/homebrew-tap
homebrew php-extension redis
Last synced: about 1 month 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T17:54:13.000Z (3 months ago)
- Last Synced: 2025-03-24T00:22:46.387Z (2 months 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 [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)
- [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 [email protected]
# rm $($(brew --prefix [email protected])/bin/php-config --ini-dir)/ext-relay.inirm -rf /opt/homebrew/etc/relay
```## Development
Check the formula syntax before committing.
```bash
brew style cachewerk/tap
```