Download the PHP package 20steps/bricks-installer without Composer

On this page you can find all versions of the php package 20steps/bricks-installer. 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 bricks-installer

Bricks Installer

Build Status Tested PHP versions Dependency Status Packagist version

This is the official installer to start new projects based on the [Bricks platform by 20steps]1.

Installing the installer

This step is only needed the first time you use the installer:

Linux and Mac OS X

Windows

Move the downloaded bricks file to your projects directory and execute it as follows:

If you prefer to create a global bricks command, execute the following:

Then, move both files (bricks and bricks.bat) to any location included in your execution path. Now you can run the bricks command anywhere on your system.

Installing without the Installer

If you can't use the Bricks Installer for any reason, you can create Bricks applications with Composer, the dependency manager used by modern PHP applications.

If you don't have Composer installed in your computer, start by installing Composer globally.

Then, execute the create-project command to create a new Bricks application based on its latest stable version:

To create a new Bricks application based on the latest non-stable version execute:

Using the installer

1. Start a new project with the latest stable Bricks version

Execute the new command and provide the name of your project as the only argument:

2. Start a new project with the latest Bricks LTS (Long Term Support) version

Execute the new command and provide the name of your project as the first argument and lts as the second argument. The installer will automatically select the most recent LTS (Long Term Support) version available:

3. Start a new project based on a specific Bricks branch

Execute the new command and provide the name of your project as the first argument and the branch number as the second argument. The installer will automatically select the most recent version available for the given branch:

4. Start a new project based on a specific Bricks version

Execute the new command and provide the name of your project as the first argument and the exact Bricks version as the second argument:

5. Install the Bricks demo application

The Bricks Demo is a reference application developed using the official Bricks Best Practices:

Updating the installer

New versions of the Bricks Installer are released regularly. To update your installer version, execute the following command:

NOTE

If your system requires the use of a proxy server to download contents, the installer tries to guess the best proxy settings from the HTTP_PROXY and http_proxy environment variables. Make sure any of them is set before executing the Bricks Installer.

Troubleshooting

SSL and certificates issues on Windows systems

If you experience any error related with SSL or security certificates when using the Bricks Installer on Windows systems:

1) Check that the OpenSSL extension is enabled in your php.ini configuration:

2) Check that the path to the file that contains the security certificates exists and is defined in php.ini:

If you can't locate the cacert.pem file anywhere on your system, you can safely download it from the official website of the cURL project: http://curl.haxx.se/ca/cacert.pem

Author

Sponsored by

20steps - Digital Full Service Boutique


All versions of bricks-installer with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
guzzlehttp/guzzle Version ^6.0
symfony/console Version ^3.0
symfony/filesystem Version ^3
raulfraile/distill Version ~0.9,!=0.9.3,!=0.9.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 20steps/bricks-installer contains the following files

Loading the files please wait ....