Download the PHP package alle80/artcompletion without Composer

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

artcompletion

Zsh completion for Laravel Artisan commands, driven by a cacheable JSON manifest.

An alternative to Symfony Console's php artisan completion zsh: instead of shelling out to PHP on every <TAB>, a small zsh script reads a pre-built JSON manifest with jq — instant results, identical behaviour whether you type artisan, php artisan, or an art alias, and a single installed copy serves every Laravel project on your machine.

Requirements

Installation

Generate the manifest and install the completion script:

completion:install copies the completion script to ~/.zsh/completions/_art-<project> and offers to append the required lines to your ~/.zshrc (it always asks before touching it):

Then restart your shell (exec zsh). If the completion does not show up, clear the compinit cache first: rm -f ~/.zcompdump*.

Usage

The manifest is a cache: regenerate it whenever the available commands change (new packages, new make:command classes):

Use --path to write it somewhere else than bootstrap/cache/artisan-completion.json:

Uninstall

Removes the manifest and the installed completion script, then offers to clean up the related ~/.zshrc lines (always asking before writing): the project's compdef binding is removed — or rebound to another project's script if one is still installed — while the fpath/compinit lines are only removed when nothing else uses ~/.zsh/completions. Stale ~/.zcompdump* caches are cleared so the old mapping does not survive, and empty directories are tidied up.

To remove the package itself afterwards:

How it works

oh-my-zsh and other frameworks that run compinit

compinit registers #compdef services with a "first definition wins" rule. When a framework runs compinit before the block above (oh-my-zsh does), the system _php or a plugin's _artisan keeps the php/artisan services. That is why the installed block ends with an explicit compdef, which always overrides. Stale mappings can also survive inside ~/.zcompdump* caches — delete those files and restart zsh if something looks wrong.

License

MIT


All versions of artcompletion with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/console Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
symfony/console Version ^6.2 || ^7.0 || ^8.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 alle80/artcompletion contains the following files

Loading the files please wait ...