Download the PHP package xltrace/upgrade without Composer

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

Hades Upgrade

This script is meant to be a single file upgrader. Able to reconstruct the relevant configuration of the application.

upgrade.json

Each file postfixed with upgrade.json can be accepted by the script to run.

. can refer to a raw collection like one github provides, or any other repository. You can include files and directories.

short alias of instructions description
true {"create":true,"clear":true} file or map will be completely replaced
null {"create":true,"clear":false} file or map will be created if not yet exists
false {"delete":true} file or map (and all its contents) will be removed
target {"move":"*target*"} file or map will be renamed to target

Within the instructions you could include other functional flags: mtime, chmod, user, group. The file composer.phar can be combined with the flags: upgrade (for self-upgrade), update (for (re-)install).

NOTE: the above target, user, group is not yet implemented!

\XLtrace\Hades\upgrade($file)

This method allows to execute a particular upgrade-request.

\XLtrace\Hades\composer($action)

This method enables a wrapper-function to composer.phar. The actions install and self-update have been tested. Other actions are experimental!

\XLtrace\Hades\backup($file=NULL, $mode=TRUE)

This method creates an zip-archive to save (a selection of) the application-directory. When no $file is given, it will return the raw data of the zip-archive.

$file $mode description result
filename - / TRUE sets the filename, and (default) $mode=TRUE {"file":"filename","all":true}
{...} - assumes the input is a welformed configuration array, to set as $mode
TRUE selects all files: {"all":true} {"all":true,"select":[...]}
NULL selects all upgradable files: {"upgradable":true} {"upgradable":true,"select":[...]}
FALSE selects all non-upgradable files: {"upgradable":false} {"upgradable":false,"select":[...]}

With $mode = \XLtrace\Hades\backup_conf() — called by backup — you improve the configuration of the backup-method, into an array.

flag type description
file uri path to the zip-file
all TRUE shortcut to select all files
upgradable bool shortcut to select the (non-)upgradable files, based upon the *upgrade.json-files
by uri path to the *upgrade.json file, used to populate the select-array
select string fixes the forgotten setting of by
select array a list of files to include in the archive
debug TRUE adds flags to debug the shortcut upgradable: upgrade.json + upgrade-files
ignore array a list of files/maps to ignore the search. By default .git/ and vendor/ is ignored

All versions of upgrade with dependencies

PHP Build Version
Package Version
Requires php Version ^5.2 || ^7.0 || ^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 xltrace/upgrade contains the following files

Loading the files please wait ....