allowHTML is a PHP class that can be used to filter insecure HTML by following OWASP AntiSamy rules. It can parse HTML documents using DOM document objects and then remove unsafe tags, attributes, and CSS parameters. It uses a configurable whitelist to determine which tags, attributes, and CSS style parameters are allowed. The class may also apply filtering rules defined in a separate AntiSamy XML rules file.
File upload and validation class is a PHP class that can be used to validate and process uploaded files. It can validate a given uploaded file by checking its MIME type or its original file type, and by checking its file size against a given limit and file type. It currently supports audio, video, PDF, and image file uploads. The class can create a path in the server as well.
php-iban is a PHP library for parsing and validating IBAN bank account information. All parts of an IBAN can be retrieved, including country code, checksum, BBAN, financial institution or bank code, and where a fixed-length national system is in use, also branch/sort code and account number. The parser was built using regular expressions to adapt the contents of the official IBAN registry available from SWIFT then only manually modified for a few special cases. Various deficiencies in the initial adaptation have since been rectified, and the current version should be a fairly correct and reliable implementation.