PHPackages                             vphantom/pyritephp - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vphantom/pyritephp

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vphantom/pyritephp
==================

PyritePHP

v1.2.25(4y ago)3591[4 issues](https://github.com/vphantom/pyritephp/issues)MITPHPPHP &gt;=7.0CI failing

Since Feb 28Pushed 4y ago2 watchersCompare

[ Source](https://github.com/vphantom/pyritephp)[ Packagist](https://packagist.org/packages/vphantom/pyritephp)[ RSS](/packages/vphantom-pyritephp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (7)Versions (22)Used By (0)

PyritePHP
=========

[](#pyritephp)

![license](https://camo.githubusercontent.com/7e408bee64b43ae30584f101c8a820c0da8f36a8de2c2cbcae6b5390726aa9e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f767068616e746f6d2f7079726974657068702e7376673f7374796c653d706c6173746963) ![GitHub release](https://camo.githubusercontent.com/3dd6172142388a8594b40e865d7423ecd9c7b2a916024d9f7ee561e5add18b3e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f767068616e746f6d2f7079726974657068702e7376673f7374796c653d706c6173746963)

PHP 5 and Bootstrap 3 framework to kick-start multilingual web application development

Simple event-driven framework for creating PHP 5 applications backed by a PDO database and with a Twitter Bootstrap user interface. Emphasis has been given on security:

- SQL queries use placeholders, of course, and a whitelist for column names;
- User passwords are saved in cryptographically secure hash form in the database;
- Twig templating has escaping enabled globally by default;
- Sessions are tied to the browser's IP address and fingerprint to reduce the risk of hijacking;
- Form displays are tied to the current session to elimiate duplicate submissions and further reduce the risks associated with session hijacking and scripted attacks;
- New users require e-mail confirmation to become active;
- E-mail and password changes require password re-entry and trigger e-mail notifications;
- Registration and password reset processes don't leak whether an e-mail is already signed up;
- Covering 98% of users, forms are validated client-side to improve responsiveness.

Just use this repo as your starting point, modify this file and the contents of `modules/` and `templates/` to suit your needs. The rest of the developer documentation can be found in [Developers](DEVELOPERS.md).

### Why the name "Pyrite"?

[](#why-the-name-pyrite)

This framework was actually built as the starting point for a commercial project named "PyriteView" as a bilingual play on the words "Peer Review". The framework was then forked on its own as it is highly generic. The name "PyritePHP" then made sense, considering its origin.

Usage
-----

[](#usage)

### Manually from scratch

[](#manually-from-scratch)

```
$ composer require vphantom/pyritephp
```

Then in your main PHP file:

```
