Download the PHP package danc0/git-destroyer without Composer

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

A CLI Git Repository manager.

FYI: This is still a work in progress, unit testing, static analysis etc are not complete and this brief guide may change.

Usage

Download the Git Destroyer codebase or use Composer composer create-project danc0/git-destroyer and create an alias to src/git-destroyer. This will allow you to use this file in the CLI with an alias instead of having to type php [PATH TO INSTALL]/src/git-destroyer. Examples going forward will assume an alias of git-destroyer is set up.

Basics

Git Destroyer offers robust help menu options git-destroyer help will show the available commands as well as some package info. The commands are shown below.

Each of these commands also have their own help menus you can access using --help for example git-destroyer commit --help

This shows you the usage, available flags, available options, and if they are required.

Getting Started

Run git-destroyer init to create a new Git Destroyer config for your project. This will create both a config file and a hooks file.

Hooks File

The hooks file is a JSON file that allows you to customize the run time of Git Destroyer.

The pre and post arrays should be strings of bash commands you wish to run at those times. The staging and live keys are for merging code into your staging or production branch. The scripts section should be an object so you can call them using git-destroyer script example.

Dev Environment Notes:

Need to create src/stan.php for PHPStan to find constants, this file should look like this:

If you try to work on this and don't add that PHPStan will yell at you.


All versions of git-destroyer with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
danc0/clyde Version ^0.5.4
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 danc0/git-destroyer contains the following files

Loading the files please wait ....