Download the PHP package laravel-hub-cli/laravel-hub without Composer

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

Installation

Updating

Usage

You can use the CLI as a near drop-in replacement for the offical Laravel installer. For example:

But the real power of the tool is when you create a compose file. The compose file is your basic recipe for your application. You should create an app.yaml file in the directory where you would like to create your application.

When you are done crafting your recipe (see docs below), you should run the compose command:

If your compose file is named something other than app.yaml, pass the name of your file as the first argument.

Compose File API

env

The env API allows you update or insert (upsert) keys in the applications .env file.

An example is show below:

git

The git API allows you to signal that you would like a git repository to be created and commits to be made for each step. The possible values are: true or false

An example is show below:

name

The name key is required, the sluggified version of the name will be used to generate the folder name where the application will be installed.

touch

The touch API allows you create files in your application. Any required directories will also be created.

An example is show below:

mkdir

The mkdir API allows you create directories in your application. Any required parent directories will also be created.

An example is show below:

artisan

The artisan API allows you run Laravel Artisan commands in your application.

An example is show below:

console

The console API allows you create run console commands in your application.

An example is show below:

version

The version API allows you to declare what version of Laravel you want to install. You can specify any valid composer version.

An example is show below:

blueprint

The blueprint API is an special key. It installs the powerful Laravel Blueprint package as a dev dependency. It then take the value of the key and writes this to a draft.yaml file in your project. This allows you to scaffold anything that the Laravel Blueprint package can create.

An example is show below:

php-packages

The php-packages API allows you require composer packages into your application.

An example is show below:

php-packages-dev

The php-packages-dev API allows you require dev only composer packages into your application.

An example is show below:

npm-packages

The npm-packages API allows you install NPM packages into your application.

An example is show below:

npm-packages-dev

The npm-packages API allows you install NPM dev packages into your application.

An example is show below:

Cookbook

Basic

This basic recipe will simply create a new Laravel application and set some env values

Advanced

This advanced recipe will create a new Laravel application and then clone a existing repo and copy some files into your new application. And then launch the app with VS Code.


All versions of laravel-hub with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
symfony/process Version ^5.2
symfony/yaml Version ^5.2
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 laravel-hub-cli/laravel-hub contains the following files

Loading the files please wait ....