Download the PHP package caneco/artisan-aliases without Composer

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


Total Downloads Latest Stable Version License

--- # Laravel Artisan Aliases If you live in the command it's always good to save some keystrokes, specially for commands that you keep typing. This package will help you create alias for you artisan commands, and more.. ## Installation You can install the package via composer: #### Registering the service provider In Laravel 5.5 the service provider will automatically get registered. But if needed just add the service provider in `config/app.php` file: #### Publishing the package assets To publish the configuration file and `.laravel_alias`, execute the following command and pick this Service Provider: Or do it in a single command: When published, this is the contents of the config file: ## Usage After publishing the initial files, your alias will be stored folder locally in the application directory; or globally in your home directory. And like any other bash alias file the contents will have following format: #### Listing existing alias To list the current alias available you can run the following command: Also, the available alias in appear on your artisan command list: #### Adding new alias Add your alias directly in the file `.laravel_alias`, or just use the artisan command: And, if you pass the `--global` option the alias will be registered instead in the `.laravel_alias` of your home directory. If you dont pass the required arguments the `--list` option will be triggered, and you will be presented with the command info; usage; and list of alias available. #### Comments Anything after the character `#` it's considered a comment and will be not considered for execution. #### Quote surrounding Surrounding the command with quotes are not mandatory, but if the command to be aliased has some spaces you must use them. #### Multiple commands An alias can have multiple commands associated by using the operators `&&` or `||`. And, just like bash, when using `&&` the sequence of the commands will terminate if one of them returns a value bigger than zero. While the `||` will continue no matter what. #### Shell commands If you prefix your alias with an exclamation point, will be treated as a shell command. #### Alias*ception…* Yes, you can also create alias of alias... #### Artisan groups If you set your alias with a namespace like `boot:tables` or `boot:cache`, Artisan list will group your alias toghether. ## Gotchas ⚠️ - Currently, to modify or delete any alias you need to open the `.laravel_aliases` and do it manually but it's planned to have a way of doing from the terminal. - Adding an alias with the same name as other it will result with an exception. - Having two alias manually defined in the `.laravel_aliases` the last alias command will prevail. - An alias with the same name as an Artisan command, the Artisan prevail. ## Supported versions Look at the table below to find out what versions of Laravel are supported on what version of this package: Laravel Framework | Artisan Alias :--- | :--- `5.7.*` | `^1.0` ## Road map Artisan Alias is stable but there is still some things that I would like to add in the package. Here's the plan for what's coming: - [ ] Remove an existing alias using the option `--d|delete` - [ ] Firing a `@handle` method if alias has a `::class` reference - [ ] Alert the user try to add an alias with `sudo` in the command **(usefull?)** - [ ] Add comments - [x] Allow to replace an existing alias using the option `--force` - [x] Add tests ## Contributing All contributions (pull requests, issues and feature requests) are welcome. Make sure to read through the [Contributing file](/caneco/artisan-alias/blob/master/CONTRIBUTING.md) first, though. See the [contributors page](/caneco/artisan-aliases/graphs/contributors) for all contributors. ## License The MIT License (MIT). Please see [License File](/caneco/artisan-alias/blob/master/LICENSE.md) for more information.

All versions of artisan-aliases with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
sixlive/dotenv-editor Version ^1.1
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 caneco/artisan-aliases contains the following files

Loading the files please wait ....