Download the PHP package marcharding/oxrun without Composer

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

Oxrun

Build Status Coverage Status

Oxrun provides a cli toolset for the OXID eShop Community Edition.

Thanks to the netz98 magerun project which heavily inspired oxrun.

Installation

PHP 5.6 is required.

If you are using composer (which you probably are), just add "marcharding/oxrun": "dev-master" to your composer.json and run composer install.

You can then use oxrun by calling vendor/bin/oxrun or add vendor/bin to your $PATH to be able to just call oxrun.

You can also install oxrun by simply downloading the phar file from the release tab.

Here is a bash snippet which automatically downloads the latest release from github:

curl -LOk `curl --silent https://api.github.com/repos/marcharding/oxrun/releases/latest | awk '/browser_download_url/ { print $2 }' | sed 's/"//g'`

You can oxrun now via php oxrun.phar

Alternatively you can also make the phar itself executable and copy it to your /usr/local/bin/ directory for global usage.

chmod +x oxrun.phar
sudo mv oxrun.phar /usr/local/bin/oxrun

You can then run oxrun by just calling oxrun

Usage

To use oxrun just execute php oxrun.phar or oxrun (see above).

Execute oxrun inside your OXID eShop base directory (or subdirectory) if you want to interact with an existing shop. It will automatically try to find the oxid boostrap.php and load it.

Available commands

cache:clear

Options:

cms:update

Arguments:

ident:

Options:

title:

content:

language:

active:

config:get

Arguments:

variableName:

Options:

shopId:

moduleId:

config:set

Arguments:

variableName:

variableValue:

Options:

variableType:

shopId:

moduleId:

config:shop:get

Arguments:

variableName:

Options:

shopId:

config:shop:set

Arguments:

variableName:

variableValue:

Options:

shopId:

db:dump

Dumps the the current shop database.

Requires php exec and MySQL CLI tools installed on your system.

Options:

file:

db:import

Imports an SQL file on the current shop database.

Requires php exec and MySQL CLI tools installed on your system.

Arguments:

file:

Options:

db:query

Executes an SQL query on the current shop database. Wrap your SQL in quotes.

If your query produces a result (e.g. a SELECT statement), the output will be returned via the table component. Add the raw option for raw output.

Requires php exec and MySQL CLI tools installed on your system.

Arguments:

query:

Options:

raw:

install:shop

Options:

oxidVersion:

installationFolder:

dbHost:

dbUser:

dbPwd:

dbName:

dbPort:

installSampleData:

shopURL:

adminUser:

adminPassword:

misc:generate:documentation

Arguments:

command:

Options:

misc:phpstorm:metadata

Options:

output-dir:

module:activate

Arguments:

module:

Options:

module:deactivate

Arguments:

module:

Options:

module:fix

Arguments:

module:

Options:

module:generate

Arguments:

module:

Options:

module:list

Options:

user:password

Arguments:

username:

password:

Options:

views:update


All versions of oxrun with dependencies

PHP Build Version
Package Version
Requires symfony/console Version 2.7.*
symfony/event-dispatcher Version 2.7.*
symfony/finder Version 2.7.*
guzzlehttp/guzzle Version ^5.0
raulfraile/distill Version 0.9.*
nikic/php-parser Version 1.4.*
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 marcharding/oxrun contains the following files

Loading the files please wait ....