Download the PHP package imphp/base without Composer

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

IMPHP / Base


This repository contains some basic tools that may be useful to any type of project. It serves as the base for other IMPHP packages, but is build to work as a stand-alone package.

Included

What is currently included in this repo is, among other things, the Utility package that packs a lot of great Java-like collection classes. PHP arrays are fine for some tasks, but due to their complete lack of proper structure and behavior (which is what makes them so good at certain tasks), they simply are not suited for everything. Properly defined tools for specific tasks makes the code a lot more readable, easier to use and debug.

Another thing that is packed in here, is the I/O package. This is a small sub-package that contains some stream classes that makes it a lot more friendly to deal with streams like files and the likes. This was mainly to be used in the Http package, but a stream is a global tool that is not just useful to a single package and it's specific purpose, so this made it's way into the base package instead.

Along with the above sub-packages, the base package also has a few of it's own classes. One is a ClassLoader, though it may not be of need to most, but there is also ErrorCatcher and a conversion class.

Full Documentation

You can view the Full Documentation to lean more about what this offers.

Installation

Using .phar library

Clone via git

Composer (Packagist)

PHP Version

This package support PHP >= 8.0. The reason for this is simple. A library project needs to keep compatibility for a long time, so you don't start a new project by using the oldest technology.

PHP 8 packs some really great changes which would not be useful for a long time, would this project start with PHP 7 support (PHP 5 is dead, deal with it). One of the major changes, is the fact that proper type hints are almost complete. The really slow and stupid road that leads to this point, makes PHP 7 a mess and also makes all it's changes in type hinting up to PHP 8 quiet useless, since half of your arguments and such will still go without. Union types are one thing to miss, but the fact that they did not just add support for ALL build-in types in one go, is beyond logic. Instead they add one type for each new 7.x version. So when it came to support a dead version 5, a messy version 7 or a more complete modern version 8, the choice was easy. Like I said, the version you pick is one that you will stick with for a long time, while slowly upgrading your way up.

Powered by PHP 8


All versions of base with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.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 imphp/base contains the following files

Loading the files please wait ....