Projects / superGlobals

superGlobals

superGlobals is a PHP library that transparently injects into a superglobal or global variable while keeping all functionality of a regular array, but extending it with type casting and URI parsing into that array. It can use memcached for additional performance and can interact with custom DB abstractions (mostly PEAR). It may filter, cast, or validate variables as: boolean, integer, float, string, array, object, IPv4 address, IPv6 address, regular expression, URL, URL encoded string, HTML escaped string, or SQL escaped string. It is possible to pass a function name callback as a casting or validation method. Also, it is possible to pass multiple casting methods for each variable, which is useful for array processing.

Tags
Licenses
Operating Systems
Implementation
Translations

Recent releases

  •  29 Mar 2009 18:00

    Release Notes: This release adds the superGlobal::start method for running a library without registering any params. It fixes a single notice about undefined variables in some PHP versions.

    •  24 Mar 2009 09:14

      Release Notes: This is the initial release.

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.