PHPackages                             jeankassio/sioner-metadata-extractor - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jeankassio/sioner-metadata-extractor

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeankassio/sioner-metadata-extractor
====================================

Sioner Metadata Extractor uses Chromedriver to extract metadata from websites with javascript using Symfony.

1.0.1(3y ago)114MITPHPPHP &gt;=8.0

Since Apr 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jeankassio/Sioner-Metadata-Extractor)[ Packagist](https://packagist.org/packages/jeankassio/sioner-metadata-extractor)[ Docs](https://jeankassio.dev)[ RSS](/packages/jeankassio-sioner-metadata-extractor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (11)Used By (0)

Sioner Metadata Extractor
=========================

[](#sioner-metadata-extractor)

Sioner Metadata Extractor uses Chromedriver to extract metadata from websites with javascript using Symfony/Panther.

[![Total Downloads](https://camo.githubusercontent.com/a72a101b9e75a5505c2f6a98ebe61317ab8ffeaa90aad592cacc632311d65efa/68747470733a2f2f706f7365722e707567782e6f72672f6a65616e6b617373696f2f53696f6e65722d4d657461646174612d457874726163746f722f646f776e6c6f616473)](https://packagist.org/packages/jeankassio/sioner-metadata-extractor)[![License: MIT](https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

### Installing Sioner

[](#installing-sioner)

Use [Composer](https://getcomposer.org/) to install Sioner in your project:

```
composer require jeankassio/sioner-metadata-extractor
```

Dependencies:
-------------

[](#dependencies)

### Installing ChromeDriver

[](#installing-chromedriver)

```
sudo apt update

```

```
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

```

```
sudo apt install wget

```

```
sudo dpkg -i google-chrome-stable_current_amd64.deb

```

```
sudo apt-get install -f

```

```
google-chrome --version

```

### See the version of the Chrome

[](#see-the-version-of-the-chrome)

Go to:

[![image](https://user-images.githubusercontent.com/26697873/235277165-6bdbb597-221a-4b0e-99a7-d4faa7bcc3a9.png)](https://user-images.githubusercontent.com/26697873/235277165-6bdbb597-221a-4b0e-99a7-d4faa7bcc3a9.png)

Click in your version.

[![image](https://user-images.githubusercontent.com/26697873/235277185-94a3df57-2da1-4d1f-8585-8b1cf6d05f7e.png)](https://user-images.githubusercontent.com/26697873/235277185-94a3df57-2da1-4d1f-8585-8b1cf6d05f7e.png)

Download to your system

Unzip and upload to your server

```
sudo mv chromedriver /usr/bin/chromedriver

```

```
sudo chown root:root /usr/bin/chromedriver

```

```
sudo chmod +x /usr/bin/chromedriver

```

Finished

Usage
=====

[](#usage)

### Here is some available metadata that was returned by Sioner Metadata Extractor:

[](#here-is-some-available-metadata-that-was-returned-by-sioner-metadata-extractor)

```
{
   "domain":"github.com",
   "canonical":"https:\/\/github.com\/jeankassio\/Sioner-Metadata-Extractor",
   "title":"GitHub - jeankassio\/Sioner-Metadata-Extractor: Sioner Metadata Extractor uses Chromedriver to extract metadata from websites with javascript, even if it is written in PHP",
   "image":"https:\/\/opengraph.githubassets.com\/b22dbba9d6ae7f1bf3f540334ce5b7c01e728daa06739db48430ca0804af9ab0\/jeankassio\/Sioner-Metadata-Extractor",
   "description":"Sioner Metadata Extractor uses Chromedriver to extract metadata from websites with javascript, even if it is written in PHP - GitHub - jeankassio\/Sioner-Metadata-Extractor: Sioner Metadata Extracto...",
   "icon":"https:\/\/github.com\/favicon.ico"
}
```

```
{
   "domain":"techland.time.com",
   "canonical":"https:\/\/techland.time.com\/2011\/04\/06\/linux-exec-competing-against-microsoft-is-like-kicking-a-puppy\/",
   "title":"Linux Exec: Competing Against Microsoft Is Like “Kicking a Puppy” | TIME.com",
   "image":"https:\/\/techland.time.com\/wp-content\/themes\/time2012\/library\/assets\/images\/time-logo-og.png",
   "description":"Depending who you ask, you'll get a different answer about who's winning the operating system wars. Of course, the Linux people think they've won, but here's the thing--they may be right.",
   "keywords":"business, news, linux, open-source, windows",
   "icon":"https:\/\/techland.time.com\/favicon.ico"
}
```

```
{
   "domain": "domain string",
   "canonical": "og:canonical link string",
   "title": "og:title/title website string",
   "image": "og:image/first image string",
   "description": "og:description/description string",
   "keywords": "keywords string",
   "icon": "apple-touch-icon/icon string",
   "author": "og:author/author string",
   "copyright": "copyright string"
}
```

How it works?
-------------

[](#how-it-works)

Sioner Metadata Extractor can, before running completely in the determined amount of seconds (explained later), quickly run the search for the determined data and obtain this data without the need to use javascript, thus saving its execution time. To do this, just pass the data you want to obtain as mandatory in the first verification as parameter #4

```
use JeanKassio\Sioner\MetadataExtractor

$YourLink = "https://github.com/jeankassio/Sioner-Metadata-Extractor";

$code = new MetadataExtractor($YourLink, null, null, ['website', 'title', 'image', 'description']);

$response = $code->ExtractMetadata();

echo json_encode($response, JSON_UNESCAPED_UNICODE);
```

But if that doesn't happen, it will run the Browser with javascript to get the data. The time for which it will run by default is 3 seconds, but you can change this value by setting parameter #2

```
use JeanKassio\Sioner\MetadataExtractor

$YourLink = "https://github.com/jeankassio/Sioner-Metadata-Extractor";

$code = new MetadataExtractor($YourLink, 2.5); //2.5 seconds

$response = $code->ExtractMetadata();

echo json_encode($response, JSON_UNESCAPED_UNICODE);
```

We get og:image by default of 200x200, and if it's not found, the next image larger than that dimension will be returned. If none match, the largest is returned. But you can also set these values.

```
use JeanKassio\Sioner\MetadataExtractor

$YourLink = "https://github.com/jeankassio/Sioner-Metadata-Extractor";

$code = new MetadataExtractor($YourLink, null, [250,300]); //250 width, 300 height

$response = $code->ExtractMetadata();

echo json_encode($response, JSON_UNESCAPED_UNICODE);
```

And that way you can pass the parameters you want and build the way you want. Watch

```
use JeanKassio\Sioner\MetadataExtractor

$YourLink = "https://github.com/jeankassio/Sioner-Metadata-Extractor";

$code = new MetadataExtractor($YourLink, 5, [500,100], ['website', 'title', 'image', 'description']);

$response = $code->ExtractMetadata();

echo json_encode($response, JSON_UNESCAPED_UNICODE);
```

Copyright and license
---------------------

[](#copyright-and-license)

Code released under the [MIT license](https://github.com/jeankassio/Sioner-Metadata-Extractor/blob/main/LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 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 ~0 days

Total

10

Last Release

1110d ago

Major Versions

0.9.30 → 1.0.12023-04-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b2796e8c233678ec7c8fb3317aa075d1da548ca7198ddd280ab9aefd944055f?d=identicon)[jeankassio](/maintainers/jeankassio)

---

Top Contributors

[![jeankassio](https://avatars.githubusercontent.com/u/26697873?v=4)](https://github.com/jeankassio "jeankassio (19 commits)")

---

Tags

extractorextractorsmetadatametadata-extractionmetadata-extractorpantherpanther-webscraperscrapingscraping-datascraping-webscraping-websitessynfonysymfonymetadatawebdriverChromedriverscraperscraping

### Embed Badge

![Health badge](/badges/jeankassio-sioner-metadata-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/jeankassio-sioner-metadata-extractor/health.svg)](https://phpackages.com/packages/jeankassio-sioner-metadata-extractor)
```

###  Alternatives

[symfony/panther

A browser testing and web scraping library for PHP and Symfony.

3.1k14.7M96](/packages/symfony-panther)[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)

PHPackages © 2026

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