Skip to content

Scaffolding for Joomla! 3 - is to create a component, models, controllers, views or mvc with few steps.

Notifications You must be signed in to change notification settings

alejoasotelo/joomla-scaffolding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joomla-scaffolding

Scaffolding for Joomla! 3 - is to create a component, models, controllers, views or mvc with few steps.

Install

npm install

Use

Execute and follow the steps:

npm run-script generate
# Options
? What do you want to generate? ...
Admin Component
Admin MVC
Admin Controller
Admin Model
Admin View
Site Component

After that see in dist folder. When you use Joomla Admin MVC or Model the version should be upper than the current one in your component.

I recommend running in the following order:

1. Create Admin Component
2. Create Site Component
// After 1 and 2 we hace a simple component with 1 mvc.
3. Create Admin MVC
// It creates a new Model, View and Controller with Languages (if it already exists it will be appended, otherwise it will create a new one) and SQL (same as language)

About

Scaffolding for Joomla! 3 - is to create a component, models, controllers, views or mvc with few steps.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages