Download the PHP package solidworx/burial without Composer

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

Burial

Bury dead code in a project using Tombs

Installation:

Phar

Download the latest Phar from https://github.com/SolidWorx/Burial/releases

Composer

Install into a project (or globally) using Composer

Usage

You should already have Tombs running on an environment and communicating through a socket.

NOTE: You should let Tombs run for at lease a couple of days/weeks, to ensure as much production code is hit as possible.

Run Burial against your code base, providing the Tombs socket as first argument

This will then remove all the dead code from your project (defaults to the directory where Burial is executed from).

Options

Burial takes the following parameters

Name Default Description Example
--production-path Current Working Directory Set the path of the code on production. This is used to map the production code against your local code. $ bin/bury http://127.0.0.1:8015 --production-path=/var/www/html/myapp
--ignore-dir NULL Add multiple directories to ignore (vendor is always ignored by default) $ bin/bury http://127.0.0.1:8015 --ignore-dir=var/cache --ignore-dir=app

Important

DO NOT run this directly in your production environment. It will remove code that might still be used. You should only run this on your local machine or a test environment, where you can carefully verify the changes, run unit tests and do proper testing to ensure that nothing is broken.

TODO


All versions of burial with dependencies

PHP Build Version
Package Version
Requires php Version >= 7.1
ext-json Version *
symfony/console Version ^4.3
nikic/php-parser Version ^4.2
composer/composer Version ^1.8
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 solidworx/burial contains the following files

Loading the files please wait ....