PHPackages                             nzo/grabber-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Search &amp; Filtering](/categories/search)
4. /
5. nzo/grabber-bundle

ActiveSymfony-bundle[Search &amp; Filtering](/categories/search)

nzo/grabber-bundle
==================

The NzoGrabberBundle is a Symfony Bundle used to Crawl and to Grab all types of links and Tags for (img, js, css) from any website

v3.0.0(7y ago)8572MITPHPPHP ^5.5.9|&gt;=7.0.8

Since Jan 30Pushed 7y ago2 watchersCompare

[ Source](https://github.com/NAYZO/NzoGrabberBundle)[ Packagist](https://packagist.org/packages/nzo/grabber-bundle)[ RSS](/packages/nzo-grabber-bundle/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

NzoGrabberBundle
================

[](#nzograbberbundle)

[![Build Status](https://camo.githubusercontent.com/2edbe8888d52a42fd82167e66436d6e37b05f1a8cc81459f54789a0223e1e368/68747470733a2f2f7472617669732d63692e6f72672f6e61797a6f2f4e7a6f4772616262657242756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/nayzo/NzoGrabberBundle)[![Latest Stable Version](https://camo.githubusercontent.com/bb1954a214365e77dad0fc2e556416d9dbf85af758496370c21576b2cbec86d1/68747470733a2f2f706f7365722e707567782e6f72672f6e7a6f2f677261626265722d62756e646c652f762f737461626c65)](https://packagist.org/packages/nzo/grabber-bundle)

The **NzoGrabberBundle** is a Symfony Bundle used to `Crawl` and to `Grab` all types of `links`, `URLs` and `Tags` for (img, js, css) from any website.

Features include:

- Compatible Symfony version 3 &amp; 4
- Url Grabber/Crawler for `HTTP/HTTPS`
- Url Grabber/Crawler for `HREF / SRC / IMG` types
- Exclude any type of file by extension
- Prevent specified URLs from Grabbing
- Compatible php version 5 &amp; 7

Installation
------------

[](#installation)

### Through Composer:

[](#through-composer)

Install the bundle:

```
$ composer require nzo/grabber-bundle

```

### Register the bundle in app/AppKernel.php (Symfony V3):

[](#register-the-bundle-in-appappkernelphp-symfony-v3)

```
// app/AppKernel.php

public function registerBundles()
{
    return array(
        // ...
        new Nzo\GrabberBundle\NzoGrabberBundle(),
    );
}
```

Usage
-----

[](#usage)

In the controller use the Grabber service and specify the options needed:

Get all URLs:

```
     public function indexAction($url)
    {
        $tableOfUrls = $this->get('nzo_grabber.grabber')->grabUrls($url);

        //....
    }
```

OR .. get all URLs not recursively:

Get all URLs no recursive:

```
     public function indexAction($url)
    {
        $tableOfUrls = $this->get('nzo_grabber.grabber')->grabUrlsNoRecursive($url);

        //....
    }
```

OR .. get all URLs that does not figure in the `exclude array`:

```
     public function indexAction($url)
    {
        $notScannedUrlsTab = ['http://www.exemple.com/about']
        $tableOfUrls = $this->get('nzo_grabber.grabber')->grabUrls($url, $notScannedUrlsTab);

        //....
    }
```

OR .. you can exclude URLs that contains a specified `text` and also you can select by `file extension`:

```
     public function indexAction($url)
    {
        $exclude = 'someText_to_exclude';
        $tableOfUrls = $this->get('nzo_grabber.grabber')->grabUrls($url, null, $exclude, array('png', 'pdf'));

        //....
    }
```

OR .. get all URLs selected by `file extension`:

```
     public function indexAction($url)
    {
        $tableOfUrls = $this->get('nzo_grabber.grabber')->grabUrls($url, null, null, array('png', 'pdf'));

        //....
    }
```

OR .. get all `Img Files` from the specified URL:

```
     public function indexAction($url)
    {
        $img = $this->get('nzo_grabber.grabber')->grabImg($url);

        //....
    }
```

OR .. get all `Js Files` from the specified URL:

```
     public function indexAction($url)
    {
        $js = $this->get('nzo_grabber.grabber')->grabJs($url);

        //....
    }
```

OR .. get all `Css Files` from the specified URL:

```
     public function indexAction($url)
    {
        $css = $this->get('nzo_grabber.grabber')->grabCss($url);

        //....
    }
```

OR .. get all `Css`, `Img` and `Js` Files from the specified URL:

```
     public function indexAction($url)
    {
        $extrat = $this->get('nzo_grabber.grabber')->grabExtrat($url);

        //....
    }
```

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

See [Resources/doc/LICENSE](https://github.com/nayzo/NzoGrabberBundle/blob/master/Resources/doc/LICENSE)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~385 days

Total

5

Last Release

2579d ago

Major Versions

1.2 → 2.0.02017-08-17

2.0.0 → v3.0.02019-04-23

PHP version history (3 changes)1.0PHP &gt;=5.3.3

2.0.0PHP &gt;=5.5.0

v3.0.0PHP ^5.5.9|&gt;=7.0.8

### Community

Maintainers

![](https://www.gravatar.com/avatar/43973d4c7b23026540ed9f2670200cbd664d7ae7c55126feb465e62ba7a2a86f?d=identicon)[nayzo](/maintainers/nayzo)

---

Top Contributors

[![nayzo](https://avatars.githubusercontent.com/u/1272883?v=4)](https://github.com/nayzo "nayzo (34 commits)")

---

Tags

urlsearchlinkcrawlscandomcrawlergrab

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nzo-grabber-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/nzo-grabber-bundle/health.svg)](https://phpackages.com/packages/nzo-grabber-bundle)
```

###  Alternatives

[spatie/laravel-site-search

A site search engine

300129.1k](/packages/spatie-laravel-site-search)[zrashwani/arachnid

A crawler to find all unique internal pages on a given website

25420.2k](/packages/zrashwani-arachnid)[nelmio/solarium-bundle

Integration with solarium solr client.

1493.0M12](/packages/nelmio-solarium-bundle)[terminal42/escargot

A web crawler or spider library based on Symfony components

581.4M3](/packages/terminal42-escargot)[kunstmaan/search-bundle

The KunstmaanSearchBundle works with ElasticSearch and supports different search providers. The bundle currently supports Elastica as a provider. Add your own objects to index using a tagged service which implements the SearchConfigurationInterface

1884.8k1](/packages/kunstmaan-search-bundle)[mediamonks/crawler

Crawl your own website with various clients for SEO and indexing purposes.

211.1k1](/packages/mediamonks-crawler)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
