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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package recipe

Recipe :book:

Collection of PHP Functions

StyleCI


Table of Contents


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:

https://www.gravatar.com/avatar.php?gravatar_id=9d9d478c3b65d4046a84cf84b4c8bf46&default=mm&size=80&rating=g

Getting Gravatar with HTML attributes:

NG Gravatar

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:


All versions of recipe with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ngfw/recipe contains the following files

Loading the files please wait ....