PHP Classes

Joomla Component Creator: Generate the files for a Joomla component

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 221 All time: 8,244 This week: 113Up
Version License PHP version Categories
jcomponentcreator 1.0.8GNU General Publi...5.2PHP 5, Tools, Content management, Tem..., C...
Description 

Author

This class can generate the files for a Joomla component.

It can present a form to take some parameters for the Joomla component to be created, like the name, author, license, etc..

The class creates a component ZIP archive with all basic files of a component like configuration XML file, MVC administration interface files, installer class, etc..

The generated Joomla component ZIP archive is served for download.

Innovation Award
PHP Programming Innovation award nominee
April 2015
Number 11
Joomla is a popular content management system that can be extended using custom components.

This package helps creating new Joomla components by generating boilerplate code from a few initial definitions.

Manuel Lemos
Picture of Max Stemplevski
  Performance   Level  
Name: Max Stemplevski <contact>
Classes: 12 packages by
Country: Belarus Belarus
Age: 35
All time rank: 19438 in Belarus Belarus
Week rank: 312 Up2 in Belarus Belarus Up
Innovation award
Innovation award
Nominee: 5x

Example

<?php
require_once('JComponentCreator.class.php');
 
$new_component = new JComponentCreator();
 
$new_component->run();


Details

JComponentCreator

JComponentCreator class for creating the work-piece of component for Joomla! web-developers

Current class generates the work-piece of component for Joomla! developers.

>The result is ZIP-archive(J!install) of the component work-piece for further developing. Greatly accelerates the process of developing a component for the latest version Joomla! CMS.

(Allow J! versions 1.6.x, 2.5.x, 3.x )

[Version 1.0.0 include:]

- Administrator part (MVC)

  • Valid component XML file
  • Create component menu option
  • Controllers/Models/Forms/Fields/Views folders
  • Sample view with empty tmpl
  • Languages ini files [ +sys file]
  • Install script with install, uninstall, update, preflight, postflight methods';
  • Security index.html files

- Front-end part

  • Security index.html file
  • Added default view

Screenshots  
  • Admin_MVC_structure
  • Admin_part_after_installation
  • JComponentCreator
  Files folder image Files  
File Role Description
Files folder imagePatterns (9 files)
Accessible without login Plain text file index.php Example Example script
Plain text file JComponentCreator.class.php Class Class source
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files  /  Patterns  
File Role Description
  Accessible without login Plain text file admin_component.tmpl Example Example script
  Plain text file admin_controller.tmpl Class Class source
  Plain text file admin_view.tmpl Class Class source
  Plain text file install_script.tmpl Class Class source
  Accessible without login Plain text file site_component.tmpl Example Example script
  Plain text file site_controller.tmpl Class Class source
  Accessible without login Plain text file site_layout.tmpl Data Auxiliary data
  Plain text file site_view.tmpl Class Class source
  Accessible without login Plain text file xml.tmpl Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
 81%
Total:221
This week:0
All time:8,244
This week:113Up