Download the PHP package chriha/project-cli without Composer

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

Project CLI

Release build

ProjectCLI is a command line tool that translates complex tasks into simple, single commands. It also helps keeping a standard project structure across all projects. Here are some benefits of using ProjectCLI:

For the plugin registry, more info, the documentation and some examples, check out cli.lazu.io.

TOC

Getting Started

Prerequisites

Install dependencies via Homebrew

Install dependencies on Ubuntu

Make sure the available version meets the requirements:

If not, add the following repository:

Install the PHP CLI and extensions:

Install ProjectCLI

After you've installed all here and move it to /usr/local/bin/project or /usr/bin/project, depending on your system. The project command will be available after you restart your terminal session.

Update

To manually update ProjectCLI, just use the project self-update command.

Usage

It's mandatory, that the project has the according directory structure and files in order for ProjectCLI to work properly.

Project Structure

Create a new project

Clone and automatically install existing projects

To create an automated setup for an existing project, you need to add a setup command via project make:command SetupCommand. In the handle() method, you specify the commands to set up the project (eg. copy env files, run migrations, seed test data, compile static files, etc).

The clone command will clone the repository and ask, if the project should be set up via the existing setup command.

Start and stop environment and its services

Run any service specific command

ProjectCLI will run all commands inside the according Docker service.

Show service status and resource statistics

Logging

Find all your log files and see what's happening with your application. It'll also warn you, if your files get too big.

Xdebug

Enable and disable Xdebug with a single command.

Hosts File

List, enable, disable, add, remove and check hosts for existence

Whenever you change the hosts file (eg. enable, disable, add, rm), you have to run the command with sudo / as root.

ProjectCLI will create backups, but only keeps the last two versions.

Docker commands

Run Docker Compose commands with your docker-compose.yml

Using bash inside a container / service

Uninstall


All versions of project-cli with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
ext-curl Version *
ext-intl Version *
ext-json Version *
ext-xml Version *
guzzlehttp/guzzle Version ^6.3
illuminate/container Version ^5.8
illuminate/support Version ^5.8
phlak/semver Version ^2.0
psr/log Version ^1.1
sensiolabs/security-checker Version ^6.0
symfony/console Version ^4.3
symfony/dotenv Version ^4.3
symfony/event-dispatcher Version ^4.3
symfony/process Version ^4.3
symfony/var-dumper Version ^4.3
symfony/yaml Version ^4.3
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 chriha/project-cli contains the following files

Loading the files please wait ...