MagicPHP is a single-file multipurpose PHP class. There are also two other classes inside the file, MagicImage for image manipulation and MagicZip for zip archive creation. With over 60 functions, MagicPHP will make your life as a developer much easier!
The list of functions are as follows:
MagicPHP
- Instantiate Filter
- Add words to filter
- Remove words from filter
- Filter string
- Sanitize input
- Unsanitize input
- IP blacklist
- Add to IP blacklist
- Remove from IP blacklist
- IP whitelist
- Add to IP whitelist
- Remove from IP whitelist
- Encode password
- Generate salt
- Generate random password
- Generate pin number
- Username validator
- Password validator
- Email validator
- IP validator
- Flood-check anti-spam
- Add to flood-check
- Truncate string
- Time ago (unix)
- Time ago (string)
- Format number
- Format date (unix)
- Format date (string)
- Format price
- Get file extension
- Get gravatar URL from email
- File upload
- Clone a file from URL (uses cURL)
- Extract Zip File
MagicImage
- Effects (11 to choose from)
- Add text
- Crop
- Resize
- Rotate
- Add new layer
- Get Image
- Collapse layers
- Draw Image
MagicZip
- Add files to Zip
- Add file to Zip
- Add empty directory to Zip
- Add entire directory to Zip
- Delete file from Zip
- Close Zip
CodeCanyon new PHP Scripts items