head to head · open source
go-redis vs predis
go-redis has 22,242 GitHub stars, 2,591 forks, 66 open issues and last shipped 3 days ago. predis has 7,778 stars, 997 forks, 25 open issues and last shipped 3 days ago. go-redis leads on adoption by 186% (22,242 vs 7,778 stars). go-redis is written in Go under BSD-2-Clause; predis is written in PHP under MIT. go-redis has attracted 12% as many forks as stars, predis 13%. predis was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (redis, redis-cluster), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| go-redis | predis | |
|---|---|---|
| GitHub stars | ★ 22K | ★ 7.8K |
| License | BSD-2-Clause | MIT |
| Written in | Go | PHP |
| Last push | 2026-09-17 | 2026-09-17 |
| Forks | ⑂ 2.6K | ⑂ 997 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick go-redis if
- You weight community size — 22K stars and counting
- You want the BSD-2-Clause license terms
- Your stack matches Go
- You value the larger contributor base for long-term maintenance
pick predis if
- You want the predis feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches PHP
- You evaluated both and predis fits your workflow better
About go-redis
go redis is the official Redis client library for the Go programming language, published as github.com/redis/go redis/v9 under the BSD 2 Clause licence, and it is aimed at Go developers whose applications need to talk to Redis servers.
read the full go-redis overview →
About predis
Predis is a flexible, feature complete Redis and Valkey client for PHP 7.2 and newer, distributed as the Composer package predis/predis under the MIT licence.
read the full predis overview →
More in Infrastructure & Operations
Related comparisons
More Databases projects
Compare either of these against the rest of the Databases field.
Frequently asked questions
Is go-redis or predis more popular?
go-redis has 22,242 GitHub stars and predis has 7,778. go-redis has the larger community by that measure.
Are go-redis and predis free?
Both are open source. go-redis is licensed under BSD-2-Clause and predis under MIT. Neither carries a licence fee.
What is the difference between go-redis and predis?
go-redis is written in Go and predis in PHP. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, go-redis or predis?
Choose go-redis if you want the larger community (22,242 stars) or its BSD-2-Clause licence terms. Choose predis if its feature set, stack or MIT licence fits better. Both are self-hostable.