The Stdlib library contains utility classes that extend or relate to base PHP classes. Modules should use the CookieManager to get and set cookies instead of the built-in cookie functions for improved security. Other classes provide convenient methods for dealing with arrays, boolean, date/time, and strings.