Download the PHP package ahamed/jsphp without Composer

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

BannerWithImageAndText

Packagist PHP Version Support GitHub GitHub Workflow Status (branch) GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests GitHub language count GitHub top language GitHub repo size GitHub All Releases GitHub contributors GitHub last commit GitHub Release Date GitHub release (latest by date including pre-releases) GitHub tag (latest by date)

Packagist Version Packagist Downloads Packagist Stars

Why this library?

While using php Array methods it feels troublesome because of their unstructured patterns.

For example, you are using the array_map and the array_filter methods of php. At the time of using, you may notice that for the array_map method, the $callback comes as the first parameter of the method, then the $array but for the array_filter method, the $array comes first then the $callback. And this mixed structure exists everywhere.

Then I've discovered that the JavaScript uses a good pattern for these cases and I am also a big fan of JavaScript. That's why I've decided to build this library. I can say that the JavaScript lovers can get the pure feelings of JavaScript by using this and the JavaScript non-lovers also get the advantage of the good structure of array manipulations.

Future Journey

Currently I've covered only the array methods. In near future I will add the object and string methods.

Installation

composer is needed for installing the package. If you have composer installed then run the command.

Usage

After successful installation, include the library into your project.

Documentation

For writing this documentation I've followed the MDN a lot. Thanks to MDN, this site helps me to learn a lot of JS.

Follow the wiki pages for the details documentation.

Testing

You can run PHPUnit testing and PHP_CodeSniffer.


All versions of jsphp with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.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 ahamed/jsphp contains the following files

Loading the files please wait ....