0
I Use This!
Inactive

Commits : Listings

Analyzed 31 minutes ago. based on code collected 32 minutes ago.
Aug 02, 2024 — Aug 02, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Renaming "createFromBinary" to "createFromBuffer" More... about 12 years ago
Added a "getResource()" method to FileObject so you could technically turn the FileObject back into a PHP resource Tests included More... about 12 years ago
Made the ImageObject "getSize()" smarter/more-efficient by only calling the memory-expensive "getRaw()" if necessary More... about 12 years ago
Making the "getRaw()" method more convenient, as it will now save the file object's streamed/iterated position More... about 12 years ago
Boom! Tested VERY thoroughly More... about 12 years ago
Now enforcing that ImageObjects are actually images.. More... about 12 years ago
Tests for the new methods More... about 12 years ago
New methods for creating derived classes Also, more PHPdocs for exceptions More... about 12 years ago
New ImageObject class and tests More... about 12 years ago
Abstracting out some of the common helper methods in FileObjectTest Also added PHPdoc description to the FileObject class More... about 12 years ago
New method to get an obfuscated name of the file and tests More... about 12 years ago
DRYing the tests More... about 12 years ago
getExtension() method and tests Also, extending the constructor to try and set our MIME-type and name properties More... about 12 years ago
New hash and name hash methods... and tests More... about 12 years ago
New MIME alias methods and tests More... about 12 years ago
More tests, and a new test file for a "chunked" version of the base64 image More... about 12 years ago
New tests! More... about 12 years ago
Added a few new and tweaked some existing methods: - base64Decode(): Static method for handling base64_decode with graceful error handling (actually throwing an exception) - isWrappedBase64(): Check if the object is a base64-style wrapped content - isWrappedHex(): Check if the object is hexadecimal wrapped content - getWrapperInfo(): Gave the wrapper info array proper keys More... about 12 years ago
Now properly detecting the MIME type from a baes64 encoded FileObject that was created with the base64 factory method More... about 12 years ago
New and enhanced tests More... about 12 years ago
New static method for detecting MIME type from a string buffer Also, now automatically detecting the MIME type of the file when using the binary factory method More... about 12 years ago
Making tests work on actual "binary" data More... about 12 years ago
Extending the regular expression used to get the data wrapper info More... about 12 years ago
Fixing and extending the FileObject class More... about 12 years ago
More tests More... about 12 years ago
Now doing the MIME-type detection based off of the "pathname" instead of the "filename" More... about 12 years ago
Adding basic tests for the new FileObject class Also adding some basic test data files More... about 12 years ago
Starting my new FileObject class for handling files in an easy OOP way More... about 12 years ago