Download the PHP package ngfw/recipe without Composer
On this page you can find all versions of the php package ngfw/recipe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package recipe
Recipe :book:
Collection of PHP Functions
Table of Contents
- 🚀 Quick Start
- Favicon
- QRcode
- File extension
- Gravatar
- Creating Link Tags
- Validate email address
- Validate URL
- RSS Reader
- Object to Array
- Array to Object
- Array to String
- HEX to RGB
- RGB to HEX
- Color Name to HEX
- Generate Random Password
- Simple Encode
- Simple Decode
- Generate Server Specific Hash
- Detect HTTPS
- Detect AJAX
- Check if number is odd
- Check if number is even
- Get Current URL
- Get Client IP
- Detect Mobile
- Get Browser
- Get Client Location
- Number To Word conversion
- Seconds To Text
- Minutes To Text
- Hours To Text
- Shorten String
- CURL
- Shorten URL
- Get Alexa Rank
- Get Tiny URL
- Get Keyword Suggestions From Google
- WIKI Search
- Notification
- Auto Embed
- Make Clickable Links
- 🔧 Debug
- Get Referer
- Compress Page
- Ordinal
- Number Of Days In Month
- pr
- Bytes To Human Readable Size
Quick Start
Run in your terminal:
Create new file and start using the Recipes
Favicon
Getting remote website Favicon:
Getting remote website Favicon with HTML attributes:
QRcode
Generating QR code
Generating QR code and adding HTML attributes:
File extension
Gravatar
Getting Gravatar:
Getting Gravatar with HTML attributes:
Creating Link Tags
Simple Link:
Link with title:
Link with title and HTML attributes:
Validate email address
Check for temporary Email addresses:
Validate URL
RSS Reader
Object to Array
Array to Object
Array to String
HEX to RGB
RGB to HEX
Color Name to HEX
Generate Random Password
Simple Encode
Simple Decode
Generate Server Specific Hash
Detect HTTPS
This method checks for $_SERVER['HTTPS']
Detect AJAX
This method checks for $_SERVER['HTTP_X_REQUESTED_WITH']
Check if number is odd
Check if number is even
Get Current URL
Get Client IP
Detect Mobile
Get Browser
Get Client Location
Number To Word conversion
Seconds To Text
Minutes To Text
Hours To Text
Shorten String
CURL
Simple GET example:
POST Example:
Custom Headers:
Basic authentication with CURL:
Expand Short URL
Get Alexa Rank
Shorten URL
Get Keyword Suggestions From Google
WIKI Search
Notification
Auto Embed
Make Clickable Links
Debug
var_dump()
alternative
Get Referer
Get the referer page (last page visited)
Ordinal
Number Of Days In Month
Compress Page
The compressPage()
method will register new function on PHP shutdown, remove white space from output and try to gZip it.
will output:
PR
will output:
Bytes To Human Readable Size
will output: