2 projects tagged "PHP 5.2+"
PHPContracts is a design by contract framework for the PHP programming language. It can be used in an object-oriented manner or with simple functions. Design by contract is a style of programming where classes and methods have a "contract" specified for them. If the contract is violated, then there is a defect/bug in the program.
cQRCode is a class that generates QR code images in GIF, JPEG, and PNG formats. It takes a string of information to encode and can either serve the image with the current script output or save it to a file. The size of matrix points and the error correction level parameters are configurable.