PHPackages                             omatech/editora-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. [API Development](/categories/api)
4. /
5. omatech/editora-extractor

ActiveLibrary[API Development](/categories/api)

omatech/editora-extractor
=========================

Extract information from Editora in powerful and misterious ways using Facebook GraphQL

v1.1.4(4y ago)08741PHP

Since Jun 22Pushed 4y ago3 watchersCompare

[ Source](https://github.com/omatech/editora-extractor)[ Packagist](https://packagist.org/packages/omatech/editora-extractor)[ RSS](/packages/omatech-editora-extractor/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (3)Versions (11)Used By (1)

Editora-Extractor
=================

[](#editora-extractor)

Utilities for extracting info from omatech Editora using GraphQL or a simplified array structure

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Require in composer omatech/editora-extractor and you are get to go

Review the package omatech/editora-laravel-connector for easy Laravel integration

### Prerequisites

[](#prerequisites)

You need a valid connection to an editora database using Doctrine/DBAL

Usage
-----

[](#usage)

### Instance

[](#instance)

Get the instance information with the needed relations.

For example fetch the inst\_id=1 (Home) and get the relations called "carrousel", "news" and "people".

$params = \[ 'id' =&gt; '1' , 'lang' =&gt; 'ca' , 'debug' =&gt; true , 'metadata' =&gt; true \];

$query='query FetchHomeQuery ($id:Int, $lang:String, $debug:Boolean) { instance(id: $id, lang: $lang, debug: $debug) { id nom\_intern link publishing\_begins status creation\_date class\_name class\_tag class\_id update\_timestamp all\_values\_even\_null (filter: "small") {atri\_tag text\_val}

```
relation1 (tag: "carrousel", limit:2, alias: "mycarrousel")
	{
	  id tag direction limit
		instances {
			id nom_intern link publishing_begins status creation_date class_name class_tag class_id update_timestamp
			all_values_even_null (filter: "fields:title|subtitle_t") {atri_tag text_val}
		}
	}

relation2 (tag: "news", limit: 5)
	{
	  id tag direction limit
		instances {
		  id nom_intern link
			all_values_even_null (filter: "small") {atri_tag, text_val}
		}
	}

relation3 (tag: "people", limit:10)
	{
	  id tag direction limit
		instances {
		  id nom_intern link publishing_begins status creation_date
			all_values_even_null {atri_tag text_val}
		}
	}

```

} }';

$extractor=new Extractor($conn); $res=$extractor-&gt;extract($query, $params, 'array', false); // $res now contains an array with the tree of the content

### Call to extractor

[](#call-to-extractor)

$res=$extractor-&gt;extract($query, $params, $format, $ferretizer);

$query: is the GraphQL query $params: array of valid params (see params array section) $format: ('array' | 'json') Output format. Default 'array' $ferretizer: (true | false) select if you want to simplify the result using the ferretizer post-processor, usually true. Default true

### Params Array

[](#params-array)

The available params include:

id: inst\_id lang: language of the extraction, two letter language code or ALL ('ALL' | 'ca' | 'es' |...) class\_id: class you want to extract the instances from tag: tag of the class that you want to extract the instance from metadata: true if you want to extract extra metadata for each object, false otherwise, default false. preview: true if you want to extract pending objects, false otherwise, default false. debug: true if you want to get debug information on the extraction, false otherwise, default false. $extractor-&gt;debug\_messages keeps the debug information

### Installing

[](#installing)

TBD

Contributing
------------

[](#contributing)

TBD

Versioning
----------

[](#versioning)

TBD

Authors
-------

[](#authors)

Agusti Pons Christian Bohollo Javier Mogollon

License
-------

[](#license)

This project is licensed under the MIT License

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 97.7% 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 ~350 days

Recently: every ~496 days

Total

7

Last Release

1558d ago

Major Versions

v0.9 → v1.12016-10-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a6b2440a7864015d71501a9cd77d28bed549c283afdd8d1af95f54b650dc833?d=identicon)[aponscat](/maintainers/aponscat)

---

Top Contributors

[![aponscat](https://avatars.githubusercontent.com/u/20087234?v=4)](https://github.com/aponscat "aponscat (419 commits)")[![hectorarnau](https://avatars.githubusercontent.com/u/10995071?v=4)](https://github.com/hectorarnau "hectorarnau (8 commits)")[![omacesc](https://avatars.githubusercontent.com/u/1949963?v=4)](https://github.com/omacesc "omacesc (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/omatech-editora-extractor/health.svg)

```
[![Health](https://phpackages.com/badges/omatech-editora-extractor/health.svg)](https://phpackages.com/packages/omatech-editora-extractor)
```

###  Alternatives

[sylius/sylius

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

8.5k5.9M719](/packages/sylius-sylius)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M379](/packages/easycorp-easyadmin-bundle)[flat3/lodata

OData v4.01 Producer for Laravel

100351.7k](/packages/flat3-lodata)[worksome/graphlint

A static analysis tool for GraphQL

13192.4k](/packages/worksome-graphlint)[axtiva/flexible-graphql-php

Schema SDL first lib for generate php code from graphql sdl to TypeRegistry with webonyx/graphql-php

1427.1k4](/packages/axtiva-flexible-graphql-php)[pagemachine/searchable

TYPO3 extension to index and search content with Elasticsearch

1039.3k](/packages/pagemachine-searchable)

PHPackages © 2026

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