Download the PHP package fokosun/artisan-chain-commands without Composer

On this page you can find all versions of the php package fokosun/artisan-chain-commands. 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 artisan-chain-commands

Chain Commands Artisan Command

This package helps to chain multiple artisan commands using a simple, easy to understand syntax.

Example

This will run the make:controller and make:event artisan commands consecutively and displays the output in a table.

How to install

Run the following artisan command in the root of your Laravel project.

Lastly, add Artisan Chain Commands to the list of providers in config/app under providers:

How to use

You can chain multiple artisan commands with ease but there are a few commands that are not supported. See list below.

Ignored Command Description
chain-commands Not allowed
db This opens a REPL (Read, Evaluate, Print and Loop) environment.\nYou should not run this command with chain commands.
docs This opens the Laravel documentation page in a browser window.\nYou should not run this command with chain commands.
docs 1 This opens the Laravel documentation page in a browser window.\nYou should not run this command with chain commands.
docs 2 This opens the Laravel documentation page in a browser window.\nYou should not run this command with chain commands.
docs -- search query This opens the Laravel documentation page in a browser window.\nYou should not run this command with chain commands..
help Displays help for a command.\nYou should not run this command with chain commands..
serve Not allowed.
test Not allowed.
tinker This opens a REPL (Read, Evaluate, Print and Loop) environment.\nYou should not run this command with chain commands..
vendor:publish This is an interactive command.\nYou should not run this command with chain commands..
schedule:work Starts the schedule worker.\nYou should not run this command with chain commands.
queue:work Starts processing jobs on the queue as a daemon.\nYou should not run this command with chain commands.
queue:restart Restarts queue worker daemons after their current job.\nYou should not run this command with chain commands.
queue:listen Listens to a given queue.\nYou should not run this command with chain commands.

Artisan chain command will ignore these commands for the reasons outlined in the table above.

Shorthand commands

Artisan chain commands also ship with a few shorthand commands which are essentially a chain of commonly used commands to aid development. An example are the 'config:clear', 'cache:clear', 'view:clear' commands combination. These can be run with just one single shorthand command. See list below:

Contributing

This is opensource and contributions are highly welcome.

License

MIT


All versions of artisan-chain-commands with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5|^8.0
illuminate/console Version ^6.0|^7.0|^8.0|^9.0|^10.0
illuminate/contracts Version ^6.0|^7.0|^8.0|^9.0|^10.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0
psy/psysh Version ^0.10.4|^0.11.1
symfony/var-dumper Version ^4.3.4|^5.0|^6.0
ext-json Version *
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 fokosun/artisan-chain-commands contains the following files

Loading the files please wait ...