PHPackages                             omatech/editora - 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. omatech/editora

ActiveLibrary

omatech/editora
===============

v7.7.0(3mo ago)03.8k[1 issues](https://github.com/omatech/editora-laravel/issues)MITPHPCI failing

Since Jun 18Pushed 3mo ago4 watchersCompare

[ Source](https://github.com/omatech/editora-laravel)[ Packagist](https://packagist.org/packages/omatech/editora)[ RSS](/packages/omatech-editora/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (150)Used By (0)

Installation of a new frontend project using editora-laravel
============================================================

[](#installation-of-a-new-frontend-project-using-editora-laravel)

Laravel Setup
-------------

[](#laravel-setup)

### Create the new laravel empty project

[](#create-the-new-laravel-empty-project)

```
composer create-project --prefer-dist laravel/laravel editora-test

```

### Setup you .env file with database connection and so on

[](#setup-you-env-file-with-database-connection-and-so-on)

### In the composer.json file add the stability settings in the root of the file and change the name and the description of the project, for example:

[](#in-the-composerjson-file-add-the-stability-settings-in-the-root-of-the-file-and-change-the-name-and-the-description-of-the-project-for-example)

```
    "name": "editora-test",
    "description": "Editora Frontend",
	"minimum-stability": "dev",
	"prefer-stable": true,

```

### Do a composer update

[](#do-a-composer-update)

```
composer update

```

### Publish the new vendor, run:

[](#publish-the-new-vendor-run)

```
php artisan vendor:publish --provider=Omatech\Editora\Connector\ConnectorServiceProvider
php artisan vendor:publish --provider=Omatech\Editora\EditoraServiceProvider
php artisan vendor:publish --tag=editora-publish

```

### Add editora routes in routes/web.php

[](#add-editora-routes-in-routeswebphp)

```
use Omatech\Editora\Connector\Editora;

Editora::routes();

```

### In config folder there're the two files needed for editora setup editora.php sets the language and different editora options editoradatabase.php sets the editora structure

[](#in-config-folder-therere-the-two-files-needed-for-editora-setup-editoraphp-sets-the-language-and-different-editora-options-editoradatabasephp-sets-the-editora-structure)

### Modify editoradatabase.php and apply changes running

[](#modify-editoradatabasephp-and-apply-changes-running)

```
php artisan editora:create

```

Optional
--------

[](#optional)

### Put all your markup assets in resources/assets/markup (scss, js, img, fonts,...)

[](#put-all-your-markup-assets-in-resourcesassetsmarkup-scss-js-img-fonts)

### Overwrite the mix.js call in webpack.mix.js in root folder for this one

[](#overwrite-the-mixjs-call-in-webpackmixjs-in-root-folder-for-this-one)

```
mix.js('resources/assets/js/app.js', 'public/js')
    .sass('resources/assets/markup/scss/styles.scss', 'public/css/styles.css')
    .copy('resources/assets/markup/js', 'public/js')
    .copy('resources/assets/markup/img', 'public/img')
    .copy('resources/assets/markup/fonts', 'public/fonts')
    .version();

```

### Install and run npm

[](#install-and-run-npm)

```
npm install
npm run dev

```

Laravel Commands
================

[](#laravel-commands)

Generator
---------

[](#generator)

Creates the Editora database structure following the rules set in config/editoradatabase.php

```
php artisan editora:create

```

Fake Content
------------

[](#fake-content)

Creates random content for the Editora database.

```
php artisan editora:fakecontent

```

### Arguments

[](#arguments)

```
php artisan editora:fakecontent --exclude_classes=1,10,11,12,13

{--num_instances=} {--include_classes=} {--exclude_classes=} {--pictures_theme=} {—debug} {--delete_previous_data}

--help this help!
--num_instances number of instance to create for each class
--include_classes generate only this class_ids, comma separated
--exclude_classes generate all but this class_ids, comma separated
--pictures_theme generate pictures themed with that word, default:cats you can use abstract, animals, business, cats, city, food, nightlife, fashion, people, nature, sports, technics, transport
--debug show all sqls (if not present false)
--delete_previous_data **USE WITH CAUTION**, if set deletes all the previous data before generating the fake data

```

**TBD**Falta añadir contenido aleatorio para algunos atributos (mapas, date,...).

CreateMVC
---------

[](#createmvc)

Create the Model, View and Controller files for the Frontend (if they don't exists)

```
php artisan editora:createmvc

```

### Arguments

[](#arguments-1)

```
--include_classes=1,2,3 generate only this class_ids, comma separated
--force_overwrite_views
--force_overwrite_models
--force_overwrite_controllers
--force_overwrite_all

```

**TBD**Falta crear argumento de force para borrar si o si las clases.

Modernize
---------

[](#modernize)

Improves database structure of the editora database, use only in old editoras, not new projects. It creates indexes, new columns added recently like batch\_id, external\_id and changes to use encrypted passwords

```
php artisan editora:modernize

```

Generate Translations (DeepL)
-----------------------------

[](#generate-translations-deepl)

To use the special functionality of the translations in your project you need to configure:

config\\editora-admin.php

```
    'deepl_key' => env('DEEPL_KEY'),
    'google_translator_key' => env('GOOGLE_TRANSLATOR_KEY'),
    'languages_for_translation' => [], //add the languages you want to translate separated by commas,
    'translator_provider' => env('TRANSLATOR_PROVIDER')

```

.env

```
DEEPL_KEY=your_deepl_key
GOOGLE_TRANSLATOR_KEY=your_google_translator_key
EXCLUDED_CLASS_IDS=1,2,3 //editora classes Ids that you don't want to translate, if any, separated by commas
TRANSLATOR_PROVIDER=your_translator_provider // deepl, google_translator | deepl by default

```

Duplicated Niceurl
------------------

[](#duplicated-niceurl)

Now the omp\_niceurl table will have the parents field, which will contain the IDs of its parents separated by commas, and the full\_niceurl field will have the parents + the niceurl to distinguish the niceurl in case there are two duplicates. All of this will be filled in automatically if the instances have a relationship called 'Childs'.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity20

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~35 days

Total

142

Last Release

119d ago

Major Versions

v6.2.45 → v7.0.02022-06-27

### Community

Maintainers

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

---

Top Contributors

[![hectorarnau](https://avatars.githubusercontent.com/u/10995071?v=4)](https://github.com/hectorarnau "hectorarnau (81 commits)")[![AlvaroOmatech](https://avatars.githubusercontent.com/u/14976137?v=4)](https://github.com/AlvaroOmatech "AlvaroOmatech (25 commits)")[![aponscat](https://avatars.githubusercontent.com/u/20087234?v=4)](https://github.com/aponscat "aponscat (22 commits)")[![hondilla](https://avatars.githubusercontent.com/u/7813599?v=4)](https://github.com/hondilla "hondilla (17 commits)")[![eudaldca](https://avatars.githubusercontent.com/u/8332105?v=4)](https://github.com/eudaldca "eudaldca (16 commits)")[![jabello187](https://avatars.githubusercontent.com/u/125561460?v=4)](https://github.com/jabello187 "jabello187 (12 commits)")[![adriaroca](https://avatars.githubusercontent.com/u/3205030?v=4)](https://github.com/adriaroca "adriaroca (3 commits)")[![alorman-omatech](https://avatars.githubusercontent.com/u/39263406?v=4)](https://github.com/alorman-omatech "alorman-omatech (3 commits)")[![omacesc](https://avatars.githubusercontent.com/u/1949963?v=4)](https://github.com/omacesc "omacesc (2 commits)")[![moonibo](https://avatars.githubusercontent.com/u/115149028?v=4)](https://github.com/moonibo "moonibo (1 commits)")

### Embed Badge

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

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

###  Alternatives

[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)

PHPackages © 2026

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