Download the PHP package custom-services-limited/oc-cli without Composer
On this page you can find all versions of the php package custom-services-limited/oc-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download custom-services-limited/oc-cli
More information about custom-services-limited/oc-cli
Files in custom-services-limited/oc-cli
Package oc-cli
Short Description Command line interface for OpenCart - Created by Custom Services Limited
License GPL-3.0-or-later
Homepage https://github.com/Custom-Services-Limited/oc-cli
Informations about the package oc-cli
OC-CLI
OC-CLI is a Symfony Console CLI for OpenCart. The current workspace ships a stable command surface for store inspection, configuration, database operations, extensions, modifications, products, categories, orders, cache maintenance, and admin-user management.
Created by Custom Services Limited.
Stable command surface
Registered OpenCart-focused commands in this repository:
Core
core:versioncore:check-requirementscore:config
Database
db:infodb:backupdb:restoredb:checkdb:repairdb:optimizedb:cleanup
Cache
cache:clearcache:rebuild
Extensions and modifications
extension:listextension:installextension:enableextension:disablemodification:list
Catalog
category:listcategory:createproduct:listproduct:createproduct:updateproduct:delete
Orders
order:listorder:vieworder:update-status
Admin users
user:listuser:createuser:delete
Requirements
- PHP 7.4 or newer
- Composer
- MySQL or MariaDB access for the target OpenCart database
- A real OpenCart installation root for runtime-backed commands
Support notes
- OC-CLI reads OpenCart connection details from
config.phpand related installation files, or from direct DB flags such as--db-host,--db-user, and--db-name. - Runtime-backed commands bootstrap real OpenCart 3.x models and cache paths. These commands require
--opencart-root=/path/to/opencartor execution from inside a real OpenCart 3.x installation root:cache:*category:*order:*product:*user:*
core:config --adminis deprecated. OpenCart stores settings in shared rows, so the flag is accepted only for backward compatibility and has no effect.extension:installimports OCMOD XML packages into the*_modificationtable. It is not a generic marketplace or ZIP installer.- Unsupported schema or version combinations fail explicitly instead of falling back to guessed SQL behavior.
Installation
Global install:
Project-local install:
From this repository:
Quick start
Run inside a real OpenCart 3.x root:
Run DB-native commands from anywhere with direct DB credentials:
Run runtime-backed commands from anywhere by pointing at a store root:
Common examples
Version and configuration:
Database maintenance:
Extensions and modifications:
Categories and products:
Orders:
Cache and admin users:
Output formats
Commands that expose --format support:
tablejsonyaml
Example:
Development
Useful checks:
Additional documentation:
- Installation guide
- Commands reference
- Examples
- Development guide
- Database schema notes
All versions of oc-cli with dependencies
symfony/console Version ^4.4|^5.4
symfony/yaml Version ^4.4|^5.4
symfony/filesystem Version ^4.4|^5.4
symfony/service-contracts Version ^2.5
psr/container Version ^1.1