PHPackages                             vikijel/joomla-extensions-packager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. vikijel/joomla-extensions-packager

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

vikijel/joomla-extensions-packager
==================================

Library for generating All-In-One install packages (\*.zip) with multiple extensions for Joomla! CMS

1.3.1(10y ago)649MITPHPPHP &gt;=5.6

Since May 20Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vikijel/joomla-extensions-packager)[ Packagist](https://packagist.org/packages/vikijel/joomla-extensions-packager)[ Docs](https://github.com/vikijel/joomla-extensions-packager)[ RSS](/packages/vikijel-joomla-extensions-packager/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (22)Used By (0)

Joomla! Extensions Packager
===========================

[](#joomla-extensions-packager)

PHP Library for generating All-In-One install packages (\*.zip) with multiple extensions for Joomla! CMS

[![Build Status](https://camo.githubusercontent.com/cc0f3e6b03248005d2800c770c2aa2754db481abb7193ed70f2111d136254b65/68747470733a2f2f7472617669732d63692e6f72672f76696b696a656c2f6a6f6f6d6c612d657874656e73696f6e732d7061636b616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/vikijel/joomla-extensions-packager)

About
-----

[](#about)

- Package: **vikijel/joomla-extensions-packager**
- Source: [Packagist](https://packagist.org/packages/vikijel/joomla-extensions-packager), [GitHub](https://github.com/vikijel/joomla-extensions-packager)
- Author: [Viktor Jelínek (VikiJel)](http://www.vikijel.cz), **
- License: [The MIT License (MIT)](LICENSE.txt)
- Copyright: (c) 2016 Viktor Jelínek
- Website:

Features
--------

[](#features)

- Packs given extensions, languages, scriptfile etc. together with auto-generated install xml manifest into a ZIP archive ready for installation into Joomla! CMS
- Created install packages are:
    - Compatible with Joomla! 2.5 and newer *(Xml manifest has `` root element)*
    - Native extension installation packages of type *'package'*

Requirements
------------

[](#requirements)

- PHP 5.6 or newer
- *For more info about PHP versions compatibility see [PHPUnit results at Travis](https://travis-ci.org/vikijel/joomla-extensions-packager)*

Installation via Composer
-------------------------

[](#installation-via-composer)

Run this command inside your project directory *(Your project dir is later referred to as `repository`)*:

```
composer require vikijel/joomla-extensions-packager

```

*You need to have [Composer](https://getcomposer.org/) installed for above command to work*

Inclusion to project
--------------------

[](#inclusion-to-project)

- *If you are using Composer in your project, the `vendor/autoload.php` should be already required in your project*
- *`repository` = your project directory (where you ran `composer require`)*

```
require_once '/path/to/repository/vendor/autoload.php';
```

Usage - Basic
-------------

[](#usage----basic)

- Source: [examples/usage\_basic.php](examples/usage_basic.php)

```
use VikiJel\JoomlaExtensionsPackager\Package;

try
{
	$path = Package::create('Something All-In-One')
	               ->addExtension('com_test', '../tests/data/some_file.zip')
	               ->addExtension('mod_test', '../tests/data/some_file.zip', 'module', 'site')
	               ->addExtension('plg_system_test', '../tests/data/some_file.zip', 'plugin', null, 'system')
	               ->pack();

	echo 'Path to created package is ' . $path;
	//Outputs: Path to created package is: /path/to/repository/out/pkg_something_all_in_one-1.0.0.zip
}
catch (Exception $e)
{
	die('Failed to create package, error: ' . $e->getMessage());
}
```

Usage - Advanced
----------------

[](#usage---advanced)

- Source: [examples/usage\_advanced.php](examples/usage_advanced.php)
- *More information can be found directly inside [Package](src/Package.php) class and other classes in form of php-doc comments*

```
use VikiJel\JoomlaExtensionsPackager\Package;
use VikiJel\JoomlaExtensionsPackager\Extension;

try
{
	$path = Package::create('Something Else All-in-one')
	               ->setAuthor('Your Name', 'your.email@example.com', 'http://your.domain.example.com')
	               ->setVersion('1.2.3')
	               ->setDescription('This is something else...')
	               ->setLicense('GPL')
	               ->setCreationDate('2016-05-21')
	               ->setMinJoomlaVersion('2.5')
	               ->setUrl('http://url.com')
	               ->setScriptfile('../tests/data/some_file.php')
	               ->addExtension('com_test', '../tests/data/some_file.zip')
	               ->addExtension('mod_test', '../tests/data/some_file.zip', 'module', 'site')
	               ->addExtensionInstance(
		               Extension::create('plg_system_test', '../tests/data/some_file.zip')
		                        ->setType('plugin')
		                        ->setGroup('system')
	               )
	               ->addExtension('tpl_test', '../tests/data/some_file.zip', 'template', 'admin')
	               ->addExtension('lib_test', '../tests/data/some_file.zip', 'library')
	               ->addExtension('lng_test', '../tests/data/some_file.zip', 'language', 'site')
	               ->addExtensionInstance(
		               Extension::create('file_test', '../tests/data/some_file.zip', 'file')
	               )
	               ->addLanguage('../tests/data/some_file.ini', 'cs-CZ')
	               ->addUpdateServer('http://updates1.example.com', 'My update server 1')
	               ->addUpdateServer('http://updates2.example.com', 'My update server 2', 'collection', 2)
	               ->pack('../out/custom', 'pkg_overridden_name.zip');

	echo 'Path to created package is ' . $path;
	//Outputs: Path to created package is /path/to/repository/out/custom/pkg_overridden_name.zip
}
catch (Exception $e)
{
	die('Failed to create package, error: ' . $e->getMessage());
}
```

---

*This library is not affiliated with or endorsed by the Joomla! Project or Open Source Matters. The Joomla!® name and logo is used under a limited license granted by Open Source Matters, the trademark holder in the United States and other countries.*

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Recently: every ~9 days

Total

20

Last Release

3654d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2683048?v=4)[Viktor Jelinek](/maintainers/vikijel)[@vikijel](https://github.com/vikijel)

---

Top Contributors

[![vikijel](https://avatars.githubusercontent.com/u/2683048?v=4)](https://github.com/vikijel "vikijel (155 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vikijel-joomla-extensions-packager/health.svg)

```
[![Health](https://phpackages.com/badges/vikijel-joomla-extensions-packager/health.svg)](https://phpackages.com/packages/vikijel-joomla-extensions-packager)
```

###  Alternatives

[letournel/path-finder

Path finder algorithm

142.0k](/packages/letournel-path-finder)[wangzd/laravel-dict

laravel-dict是一个用于管理系统常用的配置的简单封装.提高代码的扩展性，可以易读性

103.4k](/packages/wangzd-laravel-dict)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
