PHP open source framework MiniFramework released version 2.3.0

MiniFramework is a follow Apache2 open source license issued to support MVC and RESTful super lightweight PHP development framework. MiniFramework can help developers quickly build Web applications with minimal learning costs, the small number of functional basis to meet the developers of the most basic hierarchical development, database and cache access, etc., the streamlined as possible, to help your application framework based on efficient run.

MiniFramework 2020 February 19 released 2.3.0 version, the main changes are:

* New method Mini \ Db \ Mysql :: prepareInsert ( ), used by pretreatment insert records into MySQL
* new method Mini \ Db \ Mysql :: prepareInsertAll ( ), by pretreatment for bulk insert to MySQL record
* index.php entrance in the sample application, the use const declare constants, performance optimization framework
* in some documents, enable PHP7 support the introduction of a batch of code written namespaces
* square brackets define an array of full commissioning
* updated composer.json definitions, to abandon support for PHP5 compatibility, enhance the minimum requirements to PHP version 7.2.0

MiniFramework 2.3.0 version Download

By Composer method of installation and deployment
can be quickly installed deploy a basic application template MiniFramework, developers can use this template to quickly begin building your own Web applications through Composer.

php composer.phar create-project --prefer-dist --stability=dev jasonweicn/miniframework-app-basic

MiniFramework Getting Started document
Address: http://www.miniframework.com/docv2/guide/

Review recently updated version of the main changes:

2.2.0
* New Block (code blocks) mechanism is defined for an arbitrary position in the view or data output Block
Added> setJsFile () method sets the JS file $ this- resources in the view before loading body tag features
* improved coherence in the operational characteristics of the database model that allows field () method passing an array to specify the field name
* Fixed session :: destroy () method in some environments can not be destroyed properly Bug session data

2.1.0
* new global function isIndexArray (), for determining whether the array index of an array.
* Improved Mini \ Base \ Model class, a number of new features to increase database operations in a coherent model.
* Improve the code comments.

Guess you like

Origin www.oschina.net/news/113469/miniframework-2-3-0-released