PHPackages                             schnoog/boilerplate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. schnoog/boilerplate

ActiveProject[Localization &amp; i18n](/categories/localization)

schnoog/boilerplate
===================

A Webapp Boilerplate without the need to go OOP everywhere. Smarty, Bootstrap, OAuth, Usermanagement, Registration, OAuth, InputValidation, One-Click (and one name entry) page creation.

v0.0.7(3y ago)4351MITJavaScript

Since Dec 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/schnoog/PHPBoilerPlate)[ Packagist](https://packagist.org/packages/schnoog/boilerplate)[ RSS](/packages/schnoog-boilerplate/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (7)Versions (9)Used By (0)

PHPBoilerPlate
==============

[](#phpboilerplate)

What's that?
------------

[](#whats-that)

A boilerplate for php webapps, without the need to go object orientated for every single step.

### It includes

[](#it-includes)

- User registration
- User management
- OAuth implementation
- Cookie and Session Management
- Multilanguage support (i18n, gettext. Supplied languages: en\_GB &amp; de\_DE)
- XSS and CSRF protection
- Easy routing
- Input validation in jQuery and php (with an interface function)
- Growing documentation (within base installation)
- Page generation (you decide if the new created page is automatically created with an ajax backend)
- ACL for pages and navigation tree entries

### The following libraries and plugins are used:

[](#the-following-libraries-and-plugins-are-used)

- delight-im/PHP-Auth -- PHP-Auth ( |MIT License)
- phpmailer/phpmailer -- PHPMailer ( |GNU Lesser General Public License v2.1)
- sergeytsalkov/meekrodb/ -- MeekroDB ( |GNU Lesser General Public License v3.0)
- smarty/smarty -- Smarty Template Engine ( |GNU Lesser General Public License v2.1 (or later))
- Bootstrap4 -- Bootstrap 4 ( |MIT license)
- bootstrap-4-multi-dropdown-navbar -- Bootstrap4 Multi Dropdown Navbar ( |GPL license)
- cookieconsent -- Cookie Consent ( |MIT License)
- nestable-fork -- Nestable ( |BSD &amp; MIT license)
- datatables -- DataTables Table plug-in for jQuery ( |MIT license)
- summernote/summernote -- wysiwyg rich text editor for Bootstrap ( |MIT License)
- anti-xss -- anti-xss ( |MIT license)
- werx/validation -- werx/validation ( |MIT License)
- jQuery Form Validator -- formvalidator.net ( |MIT License)
- Hybridauth -- Hybridauth 3.0 ( |MIT License)
- fontawesome -- Font Awesome ( |MIT License &amp; SIL OFL 1.1)

Requirements
------------

[](#requirements)

- A webserver capable to run php (with intl extension, PHP 7.1+, PDO extension , OpenSSL extension)
- A MySQL database server (MySQL 5.5.3+ or MariaDB 5.5.23+)
- To use internationalisation, you may need to run locale-gen on your linux server
- composer

Prerequisites
-------------

[](#prerequisites)

- You need the login data to an empty mysql database
- You need the login data to an email server

Installation
------------

[](#installation)

The installation directory should not be web accessible. Only the public folder needs to be web readable.

I suggest to install this boilerplate over composer. This will ensure random salts are defined for the hashing functions.

### Install with composer

[](#install-with-composer)

To install the boilerplate, run this within the target directory

```
composer create-project schnoog/boilerplate . dev-master

```

or set a target directory

```
composer create-project schnoog/boilerplate targetdir dev-master

```

### Installation with git or Download

[](#installation-with-git-or-download)

- Open the console and change the directory to the target directory, where you want to create the checkout

#### Get the files

[](#get-the-files)

```
git clone https://github.com/schnoog/PHPBoilerPlate.git .

```

or download the package and unzip it

```
https://github.com/schnoog/PHPBoilerPlate/archive/master.zip

```

#### Create the configuration

[](#create-the-configuration)

This can be done by a little helper script

```
php ./appconsole create

```

or by hand copy the distributed example

```
cp app/config/main_config.php.dist app/config/main_config.php

```

replace SECSALT1 and SECSALT2 with random strings by hand.

Configuration
-------------

[](#configuration)

Please adjust the settings in

```
app/config/main_config.php

```

to match your needings.

Initialization
--------------

[](#initialization)

Now you need to populate the database. This can be done by a little helper script

```
php ./appconsole db

```

or by importing each NUM\_xxxx.sql file within app/SETUP/ (starting from 001\_....)

```
mysql DATABASE < app/SETUP/001_UserTables.sql
mysql DATABASE < app/SETUP/002_PageStructure.sql
...
...

```

Done
----

[](#done)

You should now be able to access the system. The administrator login is Username: ****Password: **1234abcd**

Updates
-------

[](#updates)

I suggest to use the "php ./appconsole db" to install and update the database. This will set a database version tag to be able to update the database without dataloss in later releases.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~352 days

Recently: every ~440 days

Total

6

Last Release

1338d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e0dbda1d1e1f9234d08dd3ff0b8c089c5d8874c711302f234ff567b78502180?d=identicon)[schnoog](/maintainers/schnoog)

---

Top Contributors

[![schnoog](https://avatars.githubusercontent.com/u/1537705?v=4)](https://github.com/schnoog "schnoog (35 commits)")

---

Tags

bootstrapcomposeri18nmysqlphpphp-applicationsphp-boilerplateskeletonskeleton-applicationsmarty-template-engine

### Embed Badge

![Health badge](/badges/schnoog-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/schnoog-boilerplate/health.svg)](https://phpackages.com/packages/schnoog-boilerplate)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[getkirby/cms

The Kirby core

1.5k567.4k436](/packages/getkirby-cms)[modx/revolution

MODX Revolution is a Content Management System

1.4k9.4k12](/packages/modx-revolution)[chameleon-system/chameleon-base

The Chameleon System core.

1027.9k4](/packages/chameleon-system-chameleon-base)[sproutcms/cms

Enterprise content management and framework

242.2k4](/packages/sproutcms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
