npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

generator-joomla3

v0.4.2

Published

Easy Joomla 3 Components, Modules, Templates, Plugins, CRUD(for Components), Custom fields Maker! Try it and enjoy it! (Yeoomla)

Downloads

14

Readme

generator-joomla3 (Yeoomla)

NPM version NPM downloads

Joomla 3 resources generator. Created with Yeoman

Yeoomla

What It Does (Better)

Using this generator, you can make quickly a Joomla 3 Components, Modules, Templates and Plugins skeleton using MVC design pattern and coding standards. These include:

  • 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

Install first

First install yeoman:

$ 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 field

Under Construction

Future improvements

  • Send me yours opinions and possible improvements @diarcastro on twitter. Don't forget star the project on Github

Tips:

  • 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 correctly

Releases

v0.4.2

  • Fix bug in language for submenu
  • Fix bug for form.xml extension

v0.4.1

  • Some bugs fixed
  • Improves in Template generator

v0.4.0

  • Added new templates generator by Gonzalo @goexrois

v0.3.7

  • Bug fixed for spanish language in module maker

v0.3.6

  • Bug fixed in Model form.xml

v0.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 forms

v0.3.2

  • Added: custom-field generator yo joomla3:custom-field Try it!

v0.3.0

  • Added: plugin generator yo joomla3:plugin Try it!
  • Bug fixed

v0.2.1

  • Change module generator structure
  • Bug fixed

v0.2.0

  • Added: module generator yo joomla3:module Try it!
  • Added: reusable default data system
  • Added: reusable write files
  • Bugs fixed and clean code

v0.1.3

  • Version Checker
  • Added: constant for view details
  • Added: path in filter.xml

v0.1.2 && v0.1.1

  • Some bugs fixed

v0.1.0

  • generator-joomla3 Born

Donate for improvements and maintenance

Donate

License

MIT License

References: