micromvc

The worlds smallest, full featured, object-oriented PHP 5 Framework

  • 所有者: xeoncross/micromvc
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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

主要指標

概覽
名稱與所有者xeoncross/micromvc
主編程語言PHP
編程語言PHP (語言數: 3)
平台
許可證
所有者活动
創建於2009-02-21 01:52:42
推送於2015-07-28 16:23:21
最后一次提交2015-07-28 11:23:21
發布數9
最新版本名稱v4.0.0 (發布於 2011-11-12 21:43:21)
第一版名稱v2.0.0 (發布於 2010-02-17 17:21:18)
用户参与
星數641
關注者數74
派生數118
提交數166
已啟用問題?
問題數49
打開的問題數19
拉請求數15
打開的拉請求數3
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?