Download the PHP package fivefifteen/fetcher without Composer

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

![Fetcher](./assets/fetcher.png) # Fetcher A package manager written in PHP that supports installing dependencies from [GitHub](https://github.org), [npm](https://npmjs.com), custom URLs, and local file paths. 🐶 [![packagist package version](https://img.shields.io/packagist/v/fivefifteen/fetcher.svg?style=flat-square)](https://packagist.org/packages/fivefifteen/fetcher) [![packagist package downloads](https://img.shields.io/packagist/dt/fivefifteen/fetcher.svg?style=flat-square)](https://packagist.org/packages/fivefifteen/fetcher) [![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/fivefifteen/fetcher?style=flat-square)](https://github.com/fivefifteen/fetcher) [![license](https://img.shields.io/github/license/fivefifteen/fetcher.svg?style=flat-square)](https://github.com/fivefifteen/fetcher/blob/main/license.md)
A Five Fifteen Project

Table of Contents

Requirements

Installation

To a package (local)

To your system (global)

Usage

Commands

Install

Installs the defined packages. If no packages are defined, fetcher will attempt to locate a fetch.json file and install packages located in it's dependencies section.

Note: Fetcher only installs defined dependencies. Child dependencies such as ones found in composer.json or package.json are ignored.

Options
Examples
Directory Structure

Inside of the fetched directory, packages with an author in the name (such as GitHub packages and scoped npm packages) will be installed in fetched/author/package. If a package has no author in it's name (such as non-scoped npm packages), it will be installed in fetched/package.

When installing a package via a URL or local file path, the basename of the filename will be used as the package name. For example, if I install package.zip, it will be installed to fetched/package. The exception to this rule is if the package being installed contains a single file with the same extension as the package name. For example if I install package.css.zip and that zip file contains a single css file, you will end up with a single file at fetched/package.css.

See the Package Aliases section for info about how to customize package names.

Uninstall

Uninstalls the defined packages. If no packages are defined, a confirmation message will ask you if you wish to delete all packages inside the fetched directory (and the directory itself).

Options
Examples

Info

Displays information about a package such as author, homepage, latest version, time of last update, and more.

Options
Examples

Versions

Displays the available versions of a package.

Options
Examples

Global Options

These options can be used with all commands:

Package & Version Parsing

Because Fetcher supports multiple package providers and those providers have their own unique ways of naming and structuring packages, Fetcher has it's own unique but familiar syntax for package names and versions.

Fetcher uses the Composer's semver module for pasing version constraints.

Examples

Package Aliases

A package can be given an alias name and alias author. An alias author is only used if the alias name is used. This makes it possible to install multiple versions of the same package as well as name packages that are downloaded via URL and have a hash for a name.

For example, running fetcher i [scss-helpers/media-queries]npm:include-media will install the include-media package to fetched/scss-helpers/media-queries.

Keys in the dependencies section are considered aliases if the package name is defined in the version string (see the scss-helpers/media-queries example below).

Configuration

While Fetcher can be used out of the box without any configuration, a config file allows for better customization and easier package management.

Example

Related Projects

License Information

MIT. See the license.md file for more info.


All versions of fetcher with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
adhocore/cli Version ^1.9
composer/semver Version ^3.4
splitbrain/php-archive Version ^1.2
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 fivefifteen/fetcher contains the following files

Loading the files please wait ....