Download the PHP package foobar/foobar7 without Composer

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

Foobar for PHP 7

Serves package testing purposes only... obviously.

💿 composer require foobar/foobar7

Usage

When migrating from a package to another, it may be useful to know that composer schema (i.e. composer.json) may contain replace property.

The schema of foobar/foobar8 package is (abridged):

Where replace indicates that foobar/foobar8 completely replaces foobar/foobar7, allowing Composer to consider foobar/foobar8 as a drop-in replacement for foobar/foobar7.

Prop replace creates an implicit conflict rule, and is also more useful than provide, which serves different purpose (to implement virtual interfaces).

Read the Composer schema docs here: Composer replace.

Migration

Prerequisites (or current state):

Migration:

  1. switch to PHP 8
  2. composer require foobar/foobar8
  3. (optional) remove foobar/foobar7 requirement

This will satisfy all the other libraries that depend on foobar/foobar7, too, not just the project itself.

One should end up with something like this:

Useful when reimplementing older libraries or providing backport versions for older architectures.

It may be useful in other scenarios too, when reimplementing third party libraries.
An example would be a library that is slow to be maintained, but a serious flaw is found. One may source and distribute the patch himself and only replace a certain version. Once the third party package is updated, it will be used again, without need for changes to the consuming project.

Note that the replacing works not only across PHP versions. One may replace any package, or even selected versions of a package.


All versions of foobar7 with dependencies

PHP Build Version
Package Version
Requires php Version ^7
foobar/foobar Version *
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 foobar/foobar7 contains the following files

Loading the files please wait ....