Download the PHP package eclipxe/generic-collections without Composer

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

eclipxe/generic-collections

Source Code Latest Version Software License Build Status Scrutinizer Coverage Status Total Downloads SensioLabsInsight

Generic Collections PHP Library is a PHP 5.6+ that mimics the Java Collections Framework.

As PHP does not have Generics this library will always implements type checks. Don't worry, anyways you can always use the mixed type

For concrete classes uses a constructor approach:

For your own classes you could extend the abstract class and implement the appropiated type methods, by example:

Installation

The preferred method of installation is via Packagist and Composer. Run the following command to install the package and add it as a requirement to your project's composer.json:

List of classes

Basic classes:

Classes that implement \ArrayAccess

Additional classes:

All classes have these additional options:

About

This library is inspired by the Java Collections Framework and PHP ramsey/collection library.

I see significant changes with ramsey's package, as I didn't want to introduce heavy changes to his API I decide to create my own approach.

I had also take a deep search on Packagist but couldn't find a library that ensure type checking on members.

Yes, my mistake, the repository username is eclipxe13/ and the packagist name is eclipxe/.

Compatibility

This class will be compatible according to PHP Supported versions, Security Support. This means that it will offer compatibility with PHP 5.6+ until 2018-12-31.

The support for version 5.5+ is not included since this PHP version will end 2016-06-10 and that is lower than the release of first version of this library.

Not taking particular efforts to make this library compatible with hhvm, hhvm have Generics support included and also has a collection library. I have seen differences on how hack language implement traits (like the ability to use abstracts methods) that are not compatible. Also I've seen a problem on hhvm 3.6.6 (the one is using Travis CI)implementation of SplDoubleLinkedList that are not present on version 3.12.1.

Documentation and examples

WIP. Be patient please.

Contributing

Contributions are welcome! Please read CONTRIBUTING for details and don't forget to take a look in the TODO and CHANGELOG files.

Copyright and License

The eclipxe/generic-collections library is copyright © Carlos C Soto and licensed for use under the MIT License (MIT). Please see LICENSE for more information.


All versions of generic-collections with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6
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 eclipxe/generic-collections contains the following files

Loading the files please wait ....