Easy Joomla 3 Components, Modules, Templates, Plugins, CRUD(for Components), Custom fields Maker! Try it and enjoy it! (Yeoomla)
npm install generator-joomla3Joomla 3 resources generator. Created with Yeoman
* Generate Components, Modules, Templates and Plugins to install without errors and save your time
* Access Control Lists(ACL)
* Gererate a Internationalization language files
* CamelCase variable notation and files names
* Proper MVC architecture
* PHPDocumentor stubs for every method, as well as page-level doc blocks
* Uses `' over ", because that's what the official Joomla library uses
* All configuration files
* Gulp files and and some suggested dependencies
* Composer config file in components
* Sass and some mixin to use
* Bower file
$ npm install -g yo
`After install yeoman, install a joomla3 generator:
`
$ npm install -g generator-joomla3
`Finally, initiate the generator and generate your first joomla 3.5 component:
`
$ yo joomla3
`Subgenerators
There are currently 9 subgenerator:- crud:
yo joomla3:crud Generate a CRUD(Controllers, Models(Form, Filter), Tables, Views, Language, etc.) for a joomla component.- module:
yo joomla3:module Genearte a module with params- template:
yo joomla3:template Genearte a basic template (NEW)- plugin:
yo joomla3:plugin Genearte a plugin(Any type) with params and events.- custom-field:
yo joomla3:custom-field Genearte a custom field (JFormFieldList).- controller:
yo joomla3:controller Generate a JController(Form or Admin) in the current Folder- model:
yo joomla3:model Generate a JModel(Form or List) in the current Folder- table:
yo joomla3:table Generate a JTable in the current Folder- rule:
yo joomla3:rule Generate a JRule fieldUnder Construction
Future improvements
- Send me yours opinions and possible improvements
@diarcastro
on twitter. Don't forget star the project on Github
$3
- Try to run yo joomla3:crud subgenerator inside the folder created by yo joomla3 before install.
- Try to create crud(yo joomla3:crud) for your tables before install component, if not possible you can run the generators inside the back|front end folder anyway :)
- Make the model form fields based in your table sql structure
- Accept overwrite lang files to create all translations correctlyReleases
v0.4.2
- Fix bug in language for submenu
- Fix bug for form.xml extensionv0.4.1
- Some bugs fixed
- Improves in Template generatorv0.4.0
- Added new templates generator by Gonzalo @goexroisv0.3.7
- Bug fixed for spanish language in module makerv0.3.6
- Bug fixed in Model form.xmlv0.3.5
- Added: JController generator yo joomla3:controller Try it!
- Added: JModel generator yo joomla3:model Try it!
- Added: JTable generator yo joomla3:table Try it!
- Added: JRule generator yo joomla3:rule Try it!
- Added: rules folder in default generator
- Added: addrulepath attribute in models formsv0.3.2
- Added: custom-field generator yo joomla3:custom-field Try it!v0.3.0
- Added: plugin generator yo joomla3:plugin Try it!
- Bug fixedv0.2.1
- Change module generator structure
- Bug fixedv0.2.0
- Added: module generator yo joomla3:module Try it!
- Added: reusable default data system
- Added: reusable write files
- Bugs fixed and clean codev0.1.3
- Version Checker
- Added: constant for view details
- Added: path in filter.xmlv0.1.2 && v0.1.1
- Some bugs fixedv0.1.0`
[npm-image]: https://img.shields.io/npm/v/generator-joomla3.svg?style=flat
[npm-url]: https://npmjs.org/package/generator-joomla3
[downloads-image]: https://img.shields.io/npm/dm/generator-joomla3.svg?style=flat
[downloads-url]: https://npmjs.org/package/generator-joomla3