Giter Club home page Giter Club logo

micromvc's Introduction

MicroMVC PHP Framework

Why should I use this?

PHP is an interpreted scripting language and should not be expected to compile large collections of classes at runtime like other languages such as C. However, many PHP projects simply ignore this and attempt to build web applications with the same massive application design patterns as regular programs. The result is what we have today - websites that just can't handle any decent load.

On the other hand, MicroMVC is built with performance in mind. Easily one of the fastest frameworks ever made among the slue of small PHP frameworks. While most frameworks take 2-6MB of RAM to make a simple database request - MicroMVC can do it in less than .5MB while still using the full ORM.

MicroMVC is also fully PSR-0 compliant which means you can start using Symfony, Zend, Flurish, and other libraries right away!

All class methods are fully documented. Average class size is only 4kb which makes reading the codebase very easy and quick. IDE's such as eclipse or netbeans can pickup on the phpDoc comments to add instant auto-completion to your projects. In addition, full multi-byte string support is built into the system.

Composer

Warning: require(../vendor/autoload.php): failed to open stream: No such file or directory

MicroMVC requires Composer to work. Simply install composer and run composer inside the base MicroMVC directory. Composer will fetch the required PHP classes and install them inside the vendor directory (including the autoload.php).

$ composer install

Installation guide for Linux / Unix / OSX and Windows.

Requirements

  • Composer
  • PHP 5.3+
  • Nginx 0.7.x (legacy support for Apache with mod_rewrite)
  • PDO if using the Database
  • mb_string, gettext, iconv, ICU INTL & SPL classes

How do I install the PHP intl extension?

If you have errors about missing classes (like Locale) make sure you have the required PHP extensions installed.

  • Ubuntu/Debian: $ sudo apt-get install php5-intl php5-mcrypt php-gettext
  • Windows: uncomment extension=php_intl.dll, extension=php_mycrypt.dll, and extension=php_gettext.dll in your php.ini

License

MicroMVC is licensed under the Open Source MIT license, so you can use it for any personal or corporate projects totally free!

Built by David Pennington

micromvc's People

Contributors

xeoncross avatar johnpbloch avatar paudam avatar arwany avatar atourino avatar eryx avatar adam187 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.