Download the PHP package frdl/composer-adapter without Composer

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

Forked from bobmulder/composer-ui by Webfan

...e.g to implement Webfan\InstallerInterface.

composer-ui

ComposerUI for Composer

Note: This is just a try for composer, and should be considered as experimental.

Strategy

Via this issue at Composer, we started with the idea to build a general UI for composer. However, the UI couldn't exist without a helper to create and execute commands.

At the moment we are working on the helper. The goal is that the helper can be used in future without the UI. The UI will be the second part.

Installation

You can install this package via... Yeah... Composer:

composer require frdl/composer-adapter:dev-master

Usage

The following commands are supported for now:

The ComposerHelper Class

You can start using composer by creating an instance of the ComposerUI/ComposerHelper-class:

$composer = new ComposerHelper();

You can configure the working path via:

$composer = new ComposerHelper('/custom/path');

Now you are ready to go!

Options

On every command you can use every option that is available at composer.

Note: Read this to get a list of commands and options: https://getcomposer.org/doc/03-cli.md

Note: Need a specific command? Open up an issue or better a pull request!

Composer

Just initializes composer. Nothing special.

$composer->composer();

Install

The install command reads the composer.json file from the current directory, resolves the dependencies, and installs them into vendor.

$composer->install();

Archive

This command is used to generate a zip/tar archive for your entire project.

$composer->archive();

Note: Composer itself supports to archive specific packages, but this library doesn't support that yet...

Update

In order to get the latest versions of the dependencies and to update the composer.lock file, you should use the update command.

$composer->update();

Require

The require command adds new packages to the composer.json file from the current directory. If no file exists one will be created on the fly.

$composer->requirePackages([
    'vendor/package' => '2.x',
    'vendor/secondpackage' => 'dev-master',
    'vendor/thirthpackage',
]);

Remove

The remove command removes packages from the composer.json file from the current directory.

$composer->removePackages([ 'vendor/package' => '2.x', 'vendor/secondpackage' => 'dev-master', 'vendor/thirthpackage', ]);

Next

We would like to refer you to the composer docs itself: https://getcomposer.org/doc/03-cli.md

If you need help, don't fear to get in touch via gitter: https://gitter.im/bobmulder/composer-ui

[Join the chat at https://gitter.im/bobmulder/composer-ui] (https://gitter.im/bobmulder/composer-ui?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)


All versions of composer-adapter with dependencies

PHP Build Version
Package Version
Requires php Version >=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 frdl/composer-adapter contains the following files

Loading the files please wait ...