PHPackages                             mercury/framework - 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. mercury/framework

ActiveLibrary

mercury/framework
=================

MVC framework with admin interface to manage files

1.0(10y ago)231 MITJavaScriptPHP &gt;=7.0

Since Jan 14Pushed 9y ago2 watchersCompare

[ Source](https://github.com/mercury/framework)[ Packagist](https://packagist.org/packages/mercury/framework)[ RSS](/packages/mercury-framework/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Mercury framework
=================

[](#mercury-framework)

This is another Micro MVC framework. This is unique in a way that configuration is done via a web interface and stored in the database. All you have to do is just write code that matters to your application.

Installation
============

[](#installation)

You can always download the files and mess with it but good luck with that. I recommend using the composer. Install composer in your system and copy paste the following in your `composer.json` file

```
{
    "minimum-stability": "dev",
    "require": {
        "mercury/framework": "dev-master"
    },
    "autoload": {
        "psr-4": {
            "Mercury\\App\\": "application"
        }
    },
    "extra": {
        "assets-dir" : "assets/vendors/"
    }
}

```

Then run the composer `composer install -o`

The framework uses database for its operation so create a DB with the following

```

DROP TABLE IF EXISTS `m_blueprint`;

CREATE TABLE `m_blueprint` (
  `blueprintid` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(10) DEFAULT NULL,
  `content` longtext,
  PRIMARY KEY (`blueprintid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERT INTO `m_blueprint` (`blueprintid`, `type`, `content`)
VALUES
  (1, 'CONTROLLER', ''),
  (3, 'MODEL', '
