Seperax PHP
A PHP Library to make improve your coding experience.
- Much functions for sanitizing and validating user input
- MySQL Class for simpler communication between PHP and MySQL
- Helper functions like
starts_withorends_with - More!
Documentation
There is a full documentation about all the features of Seperax-PHP on ReadTheDocs:
https://seperax-php.readthedocs.io/en/latest/
Get started
- Download the code here from GitHub
- Create a new folder (e.g.
seperax) in your project - Put all files in the
srcfolder into the new folder - Import Seperax in your project with one line of code:
require_once './seperax/seperax.php';
The seperax.php file will import the other Seperax-files for you :)
Before you use Seperax-PHP in production
When you download Seperax-PHP, you have all offical addons in your project. To improve performance, delete the addonds you don't use.
Required files:
- seperax.php
- helpers.seperax.php
All other files can simply be deleted. If you want to import an addon back in, just add the file back into the folder.
PHP Modules
For some addons you need specific PHP Modules enabled. Don't worry, Seperax-PHP won't import addons you can't use.
| Module | Required PHP Modules |
|---|---|
| MySQL | PDO_MySQL |