# GNU grep as a PHP extension

> Uses upstream GNU grep to build a native php extension.

Page: https://nowfound.app/launch/gnu-grep-as-a-php-extension

- Launched: 2026-04-10
- Launch-day votes: 32, 5 comments; #944 of 21,310 launches that month (top 4%)
- Website: [github.com](https://github.com/hparadiz/ext-gnu-grep), online when checked 2026-11-21
- Category: [Life & fun](https://nowfound.app/c/life-and-consumer.md)
- Pricing: Free. Free and open source (checked 2026-11-21 on its site)
- Forecast: 94% chance its website is still online in November 2031 (97% in November 2027, 95% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2026: 79%. [Method](https://nowfound.app/forecast.md)
- Originality: 86/100 (original). More original than 86% of products launched in 2026. On its launch day the archive already held 3 similar products; 1 product like it has launched since.

## In plain words

GNU grep as a PHP extension brings the Unix grep command's pattern-matching functionality directly into PHP applications. It's designed for developers who need powerful text search and filtering capabilities within their PHP code without relying on external system calls. The extension exposes grep's command-line features through PHP functions, allowing developers to perform complex regular expression matching and text processing more efficiently than using PHP's native string functions alone.

_Written by AI from its launch page and website, 2026-09-05._

## What it does, from its own words

Uses upstream GNU grep to build a native php extension. - hparadiz/ext-gnu-grep

## Does a similar job

- [Search code in GitHub repos using regular](https://nowfound.app/launch/search-code-in-github-repos-using-regular-expressions): Code search made fast (2020-02-23, 614 votes, forecast: 90% online in 2031, grep.app)
- [Transductive regular expressions for text](https://nowfound.app/launch/transductive-regular-expressions-for-text-editing): Transductive regular expressions for text editing is a command-line tool that extends standard regular expressions to simplify group logic for text editing tasks. (2025-02-07, 263 votes, free, forecast: 96% online in 2031, github.com)
- [ast-grep](https://nowfound.app/launch/ast-grep): It is heavily inspired by semgrep, but intends to be an AST-base searcher/linter/rewriter. https://github.com/ast-grep/ast-grep (2023-05-11, 63 votes, forecast: 87% online in 2031, ast-grep.github.io)
- [Semantic grep with local embeddings](https://nowfound.app/launch/semantic-grep-with-local-embeddings): Local first semantic and hybrid BM25 grep / search tool for use by AI and humans! - GitHub - BeaconBay/ck: Local first semantic and hybrid BM25 grep / search tool for use by AI and humans! (2025-09-07, 179 votes, free, forecast: 96% online in 2031, github.com)
- [Semantic Grep](https://nowfound.app/launch/semantic-grep-a-word2vec-powered-search-tool): Much improved new version. Search for words similar to the query. For example, "death" will find "death", "dying", "dead", "killing"... Incredibly useful for exploring large text datasets where exact… (2024-07-27, 356 votes, free, forecast: 91% online in 2031, github.com)
- [Grep with colours written in Go](https://nowfound.app/launch/grep-with-colours-written-in-go): Grep with colours. (2018-06-05, 127 votes, free, forecast: 94% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/gnu-grep-as-a-php-extension.md

## For the maker of GNU grep as a PHP extension

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/gnu-grep-as-a-php-extension
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/gnu-grep-as-a-php-extension"><img src="https://nowfound.app/badge/gnu-grep-as-a-php-extension.svg" alt="GNU grep as a PHP extension on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=47714142)
