Download the PHP package omatech/editora-laravel-connector-dbinterface without Composer
On this page you can find all versions of the php package omatech/editora-laravel-connector-dbinterface. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package editora-laravel-connector-dbinterface
Installation of a new frontend project using editora-laravel-connector-dbinterface
Laravel Setup
Create the new laravel empty project
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:
Do a composer update
Publish the new vendor, run:
Put all your markup assets in resources/assets/markup (scss, js, img, fonts,...)
Overwrite the mix.js call in webpack.mix.js in root folder for this one
Install and run npm
Add editora routes in routes/web.php
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
Modify editoradatabase.php and apply changes running
Generate fake content for editora
Create the MVC structure for the current Editora Structure
Clone the editora_admin in another folder, for example editora-test-admin
Copy the config and change the database and folders and urls settings in ompinfo.php (look for # characters to see what to change)
Double check the HASHED_PASSWORDS, must be 1
Change your virtual hosts to include the admin directory and restart Apache, for example
Laravel Commands
Generator
Creates the Editora database structure following the rules set in config/editoradatabase.php
Fake Content
Creates random content for the Editora database.
Arguments
TBD Falta añadir contenido aleatorio para algunos atributos (mapas, date,...).
CreateMVC
Create the Model, View and Controller files for the Frontend (if they don't exists)
Arguments
TBD Falta crear argumento de force para borrar si o si las clases.
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