pdeans/miva-migration

This package is abandoned and no longer maintained. No replacement package was suggested.

MVC framework application skeleton for Miva data migrations and integrations.

v3.0.2 2019-06-01 20:54 UTC

README

This package is abandoned and no longer maintained.

Miva Data Migration / Integration MVC Framework Skeleton

About the Framework

This PHP based MVC web application framework skeleton was created to help aid in rapid development of Miva data migrations and integrations by establishing a common workflow.

The framework utilizes the elegant Laravel framework to do most of the heavy lifting. Please note that prior knowledge of Laravel, as well as the packages listed below, are almost certainly a prerequisite in order to get up and running with the framework in a productive manner.

  • Miva JSON Api PHP Library - Helper library for interacting with the Miva JSON API.
  • PHP dotenv - PHP version of the original Ruby dotenv; essentially loads environment variables from a .env file.

Installation

This project uses Composer to manage its dependencies. Installation steps for Composer can be found here.

Issue the following command to create a new install:

$ composer create-project pdeans/miva-migration

Getting Started

Web Root/Public Directory

After installing the framework, you should configure your server's web root to point to the /public directory if it is not setup already. The index.php file in this directory serves as the front controller for all HTTP requests entering the application.

Configuration Files

All of the configuration files for the framework can be found in the /config directory. However, the configuration values are generally set in the .env file.

Versions

The following lists the main framework components included with each version, as well as the minimum PHP version required.

Version 3:

  • Laravel 5.*
  • Miva JSON API Library
  • PHP 7.1.3+

Version 2:

  • Laravel 5.5
  • Miva Remote Provision Library
  • PHP 7.0.0+

Version 1:

  • Slim 3
  • Miva Remote Provision Library
  • PHP 5.6.4+

License

This project is open-sourced software licensed under the MIT license.