DrMVC

Simple and flexible PHP MVC framework

composer require drmvc/framework

Releases

Upcoming


drmvc/framework:@dev

  • Requires: PHP >= 7.0
  • Latest: TBD

Stable


drmvc/framework:~2

  • Requires: PHP >= 5.4
  • Latest: 2.0

Unsupported


drmvc/framework:~1

  • Requires: PHP >= 5.4
  • Latest: 1.3
Once a new major version is released, the previous stable release
remains supported for six more months through patches and security fixes.

Highlights

This project is created in order to incorporate all the best practices in working with the MVC conception implemented on PHP. Inspired by such remarkable projects as Simple-MVC, Falcon, Symphony, Kohana and Slim, and if you work with these frameworks earlier, then you will not have much difficulty understanding how everything is arranged here.

  1. Simple and clear code

  2. Any components of framework available via packagist

  3. You can combine your favorite programming practices

  4. This framework is compatible with new versions of PHP language

  5. You can work with any popular databases, not only SQL-like

Let's get started

On GitHub you can find special demo project.

If you do not have composer utility, you need to read this instruction.

If you do not have bower, you need to install this via npm:

npm install -g bower

Warning: please don't use test php server in production

# For first we need clone the demo project
composer create-project drmvc/app my_project
cd my_project

# Now we need to install dependent files
bower update

# Let's run the php localhost server
cd public
php -S localhost:8000

Questions?

DrMVC Framework was created by Paul Rock, you can find me on Twitter at @EvilFreelancer.