Download the PHP package tschallacka/mage2-magecommands without Composer

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

Magento Helper commands

This Magento Module is purely for developer aid, and not to be used in production.

This Magento Module is only intended currently for Magento 2.4. It might work in 2.3 too, but testing only happens on 2.4 CE

To install this module run in your magento root folder

With this a couple commands are added in the tsch namespace so it will be easier to start developing certain magento modules.

Workspace setup

This plugin will require that you do your module development in a folder named local in your magento root.

If you create your modules via the MageCommands, it will automatically register a local directory repository in your development Magento root composer.json that points to the newly created module in the local folder, so you can install your newly created module into the correct vendor folder via symlink via composer require and everything works as if it's a properly installed module.

Quick workflow for creating a module and installing it:

creating a module

When paths are not started with a / you can assume your current working directory is the magento root folder, /var/www/html for the examples below.

command: bin/magento tsch:module:create <module_name>

requires: A module name in the format of "AuthorName_ModuleName". Example: "Tschallacka_SalesMonitor"

performs:

creating a command

command: bin/magento tsch:module:create:command <module_name> <command_name> [<command arguments>...]

requires:

Image of output

optional:
Command arguments can be provided in the format of "[==]argument_name:<optional|required>:<string:array:none>:<help description>"
If you start your command argument with == then it will become an input option. Othewise it becomes an argument.
You can only use type none with an optional command(==argumentname)

Examples

bin/magento author:module:command --quiet
`bin/magento tsch:module:create:command Author_Module command "==quiet::none:stop from outputting to console"

bin/magento author:module:command --name=foobar
`bin/magento tsch:module:create:command Author_Module command "==name:required::A name is required for this command option"

bin/magento author:module:command --make="stew" carrots beef apples
`bin/magento tsch:module:create:command Author_Module command "==make:required:string:what to cook stew or soup" "ingredients:required:array:what to put in the stew"

Image of output

performs:


All versions of mage2-magecommands with dependencies

PHP Build Version
Package Version
Requires tschallacka/mage2-magerain Version ^1.0.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 tschallacka/mage2-magecommands contains the following files

Loading the files please wait ....