Download the PHP package framesnpictures/el-helper without Composer

On this page you can find all versions of the php package framesnpictures/el-helper. 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 el-helper

ElHelper

CircleCI

Number of helpers to be used in other modules.

The following helpers are currently in use:

Class Description
Fnp\ElHelper\Arr Extends the Laravel's Arr Object with hashing functionality.
Fnp\ElHelper\Flg Binary flags manipulation library.
Fnp\ElHelper\Iof Checks if the given object implements particular functionality.
Fnp\ElHelper\Obj Object manipulation library.
Fnp\ElHelper\Str String manipulation library. Adds support for some edge cases when converting strings.

Arr Helper

Introduces hash function that generates the same hash for the array with the same content. It extends Laravel's Arr object.

Flg Helper

Allows manipulation of binary flags. Allows to check for the given flag is enabled in integer value, as well as adding and removing the values.

Method Description
has Checks if the given flag exists in the flags value.
not Check if the given flag is absent in the flags value.
clear Removes the given flag from the flags value.
set Sets the given flag in the flags value.

Iof Helper

This helper checks if the given object implements the the particular functionality. It does that in various way including checking implemented interfaces, having a particular properties or methods exposed.

Method Description
arrayable Does given object can be converted to array using toArray method?
jsonable Does given object can be converted to JSON using toJson method?
stringable Does given object can be casted to string?
collection Does given object is a collection?
traversable Does given object can be traversed using foreach method?
eloquentModel Does given object is an eloquent model?
serializable Can the given object be serialized using __serialize magic method?

Obj Helper

This helper allow the manipulation of the objects or reading certain properties of the given objects.

Method Description
properties Retrieves the properties of the given object.
key Generates the unique key for the given value. It might be the object, array or any primitive value.
methodName Generates the method name string based on prefix, name and suffix.
methodExists Checks if the method generated based on prefix, name and suffix exists in a given object.

Str Helper

This helper extends the Laravel's Str object and "fixes" few edge cases for the camel and snake methods. Additionaly it introduces new isAllCaps methods. Please see the tests for additional edge cases covered.


All versions of el-helper with dependencies

PHP Build Version
Package Version
Requires php Version ^8
illuminate/support Version >=8
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 framesnpictures/el-helper contains the following files

Loading the files please wait ....