PHPackages                             omatech/editora-laravel-connector-dbinterface - 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. [Database &amp; ORM](/categories/database)
4. /
5. omatech/editora-laravel-connector-dbinterface

ActiveLibrary[Database &amp; ORM](/categories/database)

omatech/editora-laravel-connector-dbinterface
=============================================

v3.5.0(3mo ago)13.8k11PHP

Since Nov 28Pushed 3mo ago4 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (41)Used By (1)

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

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

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

```

### 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

```

### 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

```

### Check if editoradatabase is changed

[](#check-if-editoradatabase-is-changed)

```
php artisan editora:databasechanged

```

### Generate fake content for editora

[](#generate-fake-content-for-editora)

```
php artisan editora:fakecontent --delete_previous_data

```

### Create the MVC structure for the current Editora Structure

[](#create-the-mvc-structure-for-the-current-editora-structure)

```
php artisan editora:createmvc

```

### Clone the editora\_admin in another folder, for example editora-test-admin

[](#clone-the-editora_admin-in-another-folder-for-example-editora-test-admin)

```
cd .. (to your www root folder)
mkdir editora-test-admin
cd editora-test-admin

git clone https://aponsoma@bitbucket.org/omatechteam/editora_admin.git .

```

### Copy the config and change the database and folders and urls settings in ompinfo.php (look for # characters to see what to change)

[](#copy-the-config-and-change-the-database-and-folders-and-urls-settings-in-ompinfophp-look-for--characters-to-see-what-to-change)

```
cd conf
cp ompinfo_sample.php ompinfo.php

```

### Double check the HASHED\_PASSWORDS, must be 1

[](#double-check-the-hashed_passwords-must-be-1)

### Change your virtual hosts to include the admin directory and restart Apache, for example

[](#change-your-virtual-hosts-to-include-the-admin-directory-and-restart-apache-for-example)

```

	DocumentRoot "/var/www/editora-test/public"
	ServerName editoratest.localhost

		Allow from all
		Require all granted
		AllowOverride All

	Alias /admin "/var/www/editora-test-admin"

		AllowOverride All
		Allow from all
		Require all granted

```

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}

--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

--include_classes generate only this class_ids, comma separated
--exclude_classes generate all but this class_ids, comma separated
--old_school_controllers allow generation of old_school_controllers instead of new ones

```

### 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

```

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity73

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

Recently: every ~108 days

Total

36

Last Release

119d ago

Major Versions

v1.0.2 → v2.0.02019-11-13

v2.2.1 → v3.02022-06-27

v1.0.4 → v3.1.02024-06-07

### 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 (42 commits)")[![AlvaroOmatech](https://avatars.githubusercontent.com/u/14976137?v=4)](https://github.com/AlvaroOmatech "AlvaroOmatech (21 commits)")[![aponscat](https://avatars.githubusercontent.com/u/20087234?v=4)](https://github.com/aponscat "aponscat (9 commits)")[![hondilla](https://avatars.githubusercontent.com/u/7813599?v=4)](https://github.com/hondilla "hondilla (8 commits)")[![adriaroca](https://avatars.githubusercontent.com/u/3205030?v=4)](https://github.com/adriaroca "adriaroca (5 commits)")[![jabello187](https://avatars.githubusercontent.com/u/125561460?v=4)](https://github.com/jabello187 "jabello187 (2 commits)")[![omacesc](https://avatars.githubusercontent.com/u/1949963?v=4)](https://github.com/omacesc "omacesc (1 commits)")

### Embed Badge

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

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90440.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)[wildside/userstamps

Laravel Userstamps provides an Eloquent trait which automatically maintains `created\_by` and `updated\_by` columns on your model, populated by the currently authenticated user in your application.

7511.7M13](/packages/wildside-userstamps)

PHPackages © 2026

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