Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cachewerk/homebrew-tap
- Owner: cachewerk
- License: mit
- Created: 2021-03-16T18:52:06.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T01:23:21.000Z (28 days ago)
- Last Synced: 2024-12-21T12:36:39.450Z (18 days ago)
- Topics: homebrew, php-extension, redis
- Language: Ruby
- Homepage: https://relay.so
- Size: 116 KB
- Stars: 3
- Watchers: 5
- 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)
- [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.inirm -rf /opt/homebrew/etc/relay
```## Development
Check the formula syntax before committing.
```bash
brew style cachewerk/tap
```