JBuilder CLI
JBuilder CLI is a command line tool created to simplify the creation and management of
Joomla/FOF components. It is designed to work on Linux and MacOS. Windows users should be able
to use it, but some command may not work., (*1)
JBuilder CLI is a WIP, the code is a bit messy. :-(, (*2)
Installation
$ composer global require newebtime/jbuilder-cli
, (*3)
If you have not installed composer yet... just do it., (*4)
How to use?
Create a project
A project is not only your component, but it is your component(s) and everything related.
For example you can have 1 component, 3 modules, and 2 libraries or 2 components and 1 plugins., (*5)
It is basicaly a Joomla package., (*6)
Init the project, (*7)
$ jbuilder project:init path/of/project
Then install the requirements, (*8)
$ cd path/of/project
$ jbuilder project:install
Add a component and build it
$ jbuilder component:create com_todo
Your first component is now added, go to the wiki page
to have more documentation to start building it., (*9)
Requirements
-
Composer
- Joomla 3.4.2+ (automaticaly installed)
- FOF 3.0+ (automaticaly installed)
License
JBuilder CLI is free and open-source software licensed under the MPLv2 license., (*10)