Download the PHP package php-forge/foxy without Composer

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

Foxy

php-version PHPUnit Codecov PSalm StyleCI

Add to your composer.json file.

Manager can be bun, npm, yarn or pnpm. For default, npm is used.

Important:

⚠ This plugin is based on Fxpio/Foxy.

Updates:

  • PHP version to 8.1 or higher.
  • Composer version to 2.0 or higher.
  • Composer api version to 2.0 or higher.
  • Add support for Bun.
  • Remove deprecated methods.
  • Add static analysis with Psalm.
  • Add code quality with StyleCI.

Foxy is a Composer plugin to automate the validation, installation, updating and removing of PHP libraries asset dependencies (javaScript, stylesheets, etc.) defined in the NPM package.json file of the project and PHP libraries during the execution of Composer. It handles restoring the project state in case Bun or NPM or Yarn or PNpM terminates with an error.

All features and tools are available:

It is certain that each language has its own dependency management system, and that it is highly recommended to use each package manager. NPM, Yarn or PNpM works very well when the asset dependencies are managed only in the PHP project, but when you create PHP libraries that using assets, there is no way to automatically add asset dependencies, and most importantly, no validation of versions can be done automatically. You must tell the developers the list of asset dependencies that using by your PHP library, and you must ask him to add manually the asset dependencies to its asset manager of his project.

However, another solution exist - what many projects propose - you must add the assets in the folder of the PHP library (like /assets, /Resources/public). Of course, with this method, the code is duplicated, it pollutes the source code of the PHP library, no version management/validation is possible, and it is even less possible, to use all tools such as Babel, Scss, Less, etc ...

Foxy focuses solely on automation of the validation, addition, updating and deleting of the dependencies in the definition file of the asset package, while restoring the project state, as well as PHP dependencies if Bun, NPM, Yarn or PNpM terminates with an error.

It is Fast

Foxy retrieves the list of all Composer dependencies to inject the asset dependencies in the file package.json, and leaves the execution of the analysis, validation and downloading of the libraries to Bun, NPM, Yarn or PNpM.

Therefore, no VCS Repository of Composer is used for analyzing the asset dependencies, and you keep the performance of native package manager used.

It is Reliable

Foxy creates mock packages of the PHP libraries containing only the asset dependencies definition file in a local directory, and associates these packages in the asset dependencies definition file of the project. Given that Foxy does not manipulate any asset dependencies, and let alone the version constraints, this allows Bun, NPM, Yarn or PNpM to solve the asset dependencies without any intermediary. Moreover, the entire validation with the lock file and installation process is left to Bun, NPM, Yarn or PNpM.

It is Secure

Foxy restores the Composer lock file with all its PHP dependencies, as well as the asset dependencies definition file, in the previous state if Bun, NPM, Yarn or PNpM ends with an error.

Features

Documentation

Installation

Installation instructions are located in the guide.

License

Foxy is released under the MIT license. See the complete license in:

LICENSE

Reporting an issue or a feature request

Issues and feature requests are tracked in the Github issue tracker.


All versions of foxy with dependencies

PHP Build Version
Package Version
Requires ext-ctype Version *
ext-mbstring Version *
php Version ^8.1
composer/composer Version ^2.0.0
composer-plugin-api Version ^2.0
composer/semver Version ^3.4
symfony/console Version ^6.0|^7.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 php-forge/foxy contains the following files

Loading the files please wait ....