Skip to content
forestPHP Framework - A tiny php webframework for programmers and advanced hosters helping to manage and control your data.
PHP JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


forestPHP Framework is a project for creating a PHP web framework for programmers and advanced web hosts. It serves to support the management and control of data in relational databases such as e.g. MariaDB.

Project objectives

  • a easy manipulation and editing of records using an extensive database access layer
  • handling all administrative settings in the same web application without using any other database management software (except for the initial installation and setup)
  • for a consistent presentation forestPHP also uses freely available projects such as Bootstrap, jQuery, jQuery Validate, jQuery UI und Font Awesome
  • fixed data types with specially developed PHP classes and access functions prevent incorrect entry of data in relational database systems
  • scope for development - with a broad range of functions as a basis, forestPHP provides enough interfaces in the source code to extend, replace and, if necessary, completely rebuild standard functions. Furthermore, enough provided configuration options try to cover as many use cases as possible.

forestPHP follows the MVC model and sets some conventions to keep the development work straightforward. The organization(model) and the representation(view) of the data are separated and controlled by central functions(controller).

Following database systems are supported by forestPHP:

  • MariaDB/MySQL

At the core of forestPHP measures have been taken to implement security best practices and to maximize the security of a web application. This helps prevent attacks such as SQL injection, CRFS, XSS, and form manipulation.

forestPHP framework will be released under the GPLv3 license and the MIT license. Thus it is freely possible to use forestPHP in other projects - projects with free software or in commercial projects.


0.7.0 (beta)

New features: Identifier Administration, Maintenance Mode, Money-Format, forestCombination FILENAME + FILEVERSION. 01/2020

0.6.0 (beta)

New features: Created + Modified information columns, Versioning + History of files, Submit-button time delay. 01/2020

0.5.0 (beta)

New features: Checkout of records, Honeypot Fields, Administration of Form-Elements + ForestData + SqlType + Validation Rules. 12/2019

0.4.0 (beta)

New features: User Administration, Usergroups, Roles + Permissions, Permission Inheritance, Truncate twig, Transfer twig. 11/2019

0.3.0 (beta)

New features: Administration of Tablefields, Administration of Sub Constraints + Sub Records, Handling Translations, Unique Keys, Sort Order for tables, Administration of Validation Rules for tablefields. 11/2019

0.2.0 (beta)

New features: New features: Root Menu, Implementation SQL DDL, Administration of Branches, Administration of Actions, Administration of Twigs. 10/2019

0.1.5 (alpha)

New features: Sub Constraints + Sub Records, Implementation of forestCombination, Implementation of forestLookup, MoveUp + MoveDown actions of records, Thumbnail view for form file elements, Captcha element. 10/2019

0.1.4 (alpha)

New features: Detail modal view, Richtext element, Dropzone element, File Upload Handling, File Replacement. 09/2019

0.1.3 (alpha)

New features: jQuery Validate Implementation, form-key, Language, Translation, System Messages. 09/2019

0.1.2 (alpha)

New features: CRUD Actions, View + List-View, Sorting, Paging, Filtering of records. 09/2019

0.1.1 (alpha)

New features: Trunk Settings, Dynamic Landing page, DateTime + DateInterval handling, forestForm + Elements, Navigation bar, Dynamic Tablefields. 08/2019

0.1.0 (alpha)

After 12 years of planning, conception and development as a hobby project in leisure time. First release of the forestPHP Framework 0.1.0 (alpha). Provision of foundation files + support MariaDB / MySQL. 08/2019


After downloading the current version or obtaining a copy from GitHub you can copy the forestPHP-directory in a folder of the web server or upload this.

On the database system MariaDB / MySQL you have to create a new database for the use of forestPHP (e.g. forestphp). In the forestPHP-directory you can find in folder install a SQL-file: forestPHP_Vanilla_SQL_MariaDB.sql. This file contains all SQL-Queries for initial use of forestPHP, which must be executed in the previously created database. Subsequently, forestPHP can be called up and used on the web server.

In file forestPHP.php in constructor of the class you have to configure the connection to the database, by entering database, user and password:

$o_glob->Base->Add(new forestBase(forestBase::MariaSQL, 'host_ip', 'database', 'db_user', 'db_pw'), 'forestPHPMariaSQLBase');

Make sure that you specify the key of the new connection as the active base gateway: php $o_glob->ActiveBase = 'forestPHPMariaSQLBase'; In general, it is possible to create several connections to different databases with forestPHP.


  • Windows
    • Windows NT 10.0 build 18362 (Windows 10) AMD64
    • Apache/2.4.38 (Win64)
    • PHP/7.3.2;10.1.38-MariaDB
    • mysqlnd 5.0.12-dev
You can’t perform that action at this time.