Download the PHP package dhii/bootstrap without Composer

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

Bootstrap

Latest Stable Version

A bootstrap tool for quickly creating standard Dhii packages.

Phing is used to build your project files, based on project information provided during the bootstrapping phase, either through command line prompts or arguments.

Usage

Step 1. Cloning

Via Composer

Use composer's built-in create-project command, as follows:

This will create the my-project directory and download the bootstrap files.

Via PHPStorm

Go to File, then New Project. On the left-hand side, under PHP-Specific, choose Composer Project.

Enter the location of the project, including the name of the project as a directory name. For example: some/path/my-project.

Under package, search for dhii/bootstrap, select the search result and click Create.

PHPStorm will download the bootstrap files and automatically install its dependencies.

Step 2. Bootstrapping

From the newly created project directory simply invoke Phing, which should be installed locally to the project.

This will run in interactive mode, which will prompt you to enter information about the project. Information regarding the prompts can be found below.

Quiet Mode

You can invoke the bootstrapping process in quiet mode via the -Dquiet=true argument. This will make the script run silently without prompts but also requires you to pass the values of the prompts as command arguments, prefixed with -D. For example:

Properties

Name Description Default
project.name The human-readable name of the project. A human-readable version of the project's directory name.
organization The name of the organization that owns the package. Used in the license and readme files. "Dhii"
composer.vendor The vendor name of the Composer package. "dhii"
composer.name The key-like name of the Composer package. The project's directory name.
composer.desc The description of the Composer package. None
composer.type The Composer package type. "library"
composer.author The name of the author of the Composer package. "Dhii Team"
composer.email The email of the author of the Composer package. "[email protected]"
composer.license The license of the Composer package (currently only MIT and GPL-3.0 are supported) "MIT"
composer.minstab The "minimum-stability" for the Composer package. "dev"
composer.phpver The PHP version constraint for the Composer package. "^5.4 \| ^7.0"
composer.autoload.dir The directory from which to autoload classes. "src"
autoload.ns The namespace to use in autoloading. A\B, where A and B are the the camel-case versions of the composer.vendor and project.name respectively.
git.remote The URL of the Git remote repository. "https://github.com/<composer.vendor>/<composer.name>"

For more information about these properties, take a peek inside the build.xml file.

Known Issues


All versions of bootstrap with dependencies

PHP Build Version
Package Version
Requires php Version ^5.4 | ^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 dhii/bootstrap contains the following files

Loading the files please wait ....