picturae / joomla-cli
Command-line script to manage joomla sites
Installs: 21 498
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 26
Forks: 1
Type:project
Requires
- php: >5.6
- joomla/archive: ^1.1
- pimple/pimple: ^3.0
- symfony/console: ^3.0
- symfony/filesystem: ^3.0
- symfony/finder: ^3.0
- zendframework/zend-config: ^2.3
- zendframework/zend-json: ^2.3
Requires (Dev)
- phpunit/phpunit: ^4.0
README
Joomla-cli is a commandline tool to manage your Joomla websites.
For instance in our development / production environment we've build a Phing wrapper around it to deploy and install our Joomla! websites.
Install Joomla
vendor/bin/joomla-cli core:download --path=./public
--path defaults to joomla, can be whatever relative to the directory the command is executed.
--version defaults to latest stable e.g. 3.4.0, supports 3.3.* or exact version number.
With the --stable flag you can also install unstable versions e.g. 3.4.1-rc
Install DB
vendor/bin/joomla-cli core:install-db --dbname="mydb" --dbuser="myuser" --dbpass="mypassword" --dbhost="localhost" --joomla-version="3.4.0"
This command is used to install the initial clean Joomla! database.
Other options:
--dbprefix to set the prefix for the Joomla! tables.
Database updates
vendor/bin/joomla-cli core:update-db --path=./public
This command uses the path to bootstrap the Joomla application and run the database migrations (if they are needed).
Install languages
vendor/bin/joomla-cli extension:language:install nl-NL --path=./public
This command uses the path to bootstrap the Joomla application and install the language.
Thanks to…
- Mark van Duijker for starting this tool!