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.
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.
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.
Serene is a validation engine that implements the JAXP 1.3 Validation Framework API for RELAX NG based on an algorithm centered on providing good messages and having a clear handling of ambiguity and conflicts. It has an implementation of the JAXP Validation Framework API for ISO Schematron and support for Schematron markup embedded in RELAX NG schemas.
Email Address Validator is a PHP class that allows the developer to validate email addresses according to the RFC 5321 or RFC 5322 standards. It can also check to see if the domain can be resolved to MX RRs. Acceptable local-parts include dot-atom, quoted string, and obsolete. Acceptable domains include domain name, IPv4 address, IPv6 address, and IPv4-mapped IPv6 address. Folding white spaces and nested comments are also supported.