Download the PHP package cubadevops/upgrader without Composer

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

PHP Upgrader

A PHP script to manage upgrades for your project using different repository providers.

Automatic Versioning and Release

Table of Contents

State of the Art

Composer is the most widely used package manager for PHP projects. However, while it allows you to update your project's dependencies, it doesn't offer a way to upgrade the project itself. This script is designed to address that limitation by providing a method to upgrade your project's root to a specific version, the latest version, or the highest minor version available.

How it Works

The script connects to the API of a configured provider to fetch the latest release information for a specified repository. It then downloads the release's artifact files and extracts them into the project directory. Additionally, the script allows users to exclude certain resources from the upgrade process, giving them more control and helping to prevent conflicts with existing files.

Requirements

Installation

To install the project, use Composer:

Features

Configuration

The script requires a configuration file to be present in the root of your project. The configuration file should be named upgrader.json or upgrader.json.dist and should contain the following:

_repositoryprovider: The repository provider to use. Currently, only github is supported but more providers will be added soon.

_repositoryidentifier: The owner and repository name separated by a slash.

_projectdir: The directory where the project is located. Usually this is the directory where the composer.json file is located.

_has_rootdirectory: true if the artifact files are compressed into a root directory that acts as a container for all files, false otherwise.

_excludedresources: An array of resources to exclude from the upgrade process. This can be directories or files.

Usage

Run the script from the command line. Below are the available commands:

Help

vendor/bin/upgrader --help|-h

Show Available Versions

vendor/bin/upgrader show-candidates

Upgrade to a Specific Version

vendor/bin/upgrader upgrade <version>

Upgrade to the Latest Version

vendor/bin/upgrader upgrade-to-latest

Upgrade Safely to the Highest Minor Version

vendor/bin/upgrader upgrade-safely

Contributing

Contributions are always welcome! Please open an issue or a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.


All versions of upgrader with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
guzzlehttp/guzzle Version ^7.7
ext-json Version *
ext-zip Version *
ext-curl Version *
bangpound/composer-constants Version ^2.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 cubadevops/upgrader contains the following files

Loading the files please wait ....