joomlatools / joomlatools-composer Goto Github PK
View Code? Open in Web Editor NEWComposer extension installer for Joomla.
Home Page: https://www.joomlatools.com/developer/tools/composer/
License: GNU General Public License v3.0
Composer extension installer for Joomla.
Home Page: https://www.joomlatools.com/developer/tools/composer/
License: GNU General Public License v3.0
See: #44
We are restoring the phar wrapper for Joomla 3.x only. Enable it for all Joomla versions
PHP Fatal error: Uncaught RuntimeException: The session is not started. in /Users/danielsmink/projects/gmp.jos.picturae.pro/public/libraries/joomla/session/handler/native.php:229
Stack trace:
#0 /Users/danielsmink/projects/gmp.jos.picturae.pro/public/libraries/joomla/session/session.php(743): JSessionHandlerNative->save()
#1 /Users/danielsmink/projects/gmp.jos.picturae.pro/public/vendor/joomlatools/installer/src/Joomlatools/Composer/ExtensionInstaller.php(466): JSession->close()
#2 [internal function]: Joomlatools\Composer\ExtensionInstaller->__destruct()
#3 {main}
thrown in /Users/danielsmink/projects/gmp.jos.picturae.pro/public/libraries/joomla/session/handler/native.php on line 229
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to undefined method Joomlatools\Joomla\Application::isClient()
Probably due to the replacement of isAdmin / isSite with isClient('site') / >isClient('administrator')
When trying to install joomlatools/framework
on a Joomlatools Platform install, the following error is raised:
PHP Fatal error: Class 'JDispatcher' not found in /var/www/foobar2/vendor/joomlatools/framework/code/script.php on line 11
Release 1.1.1
When running composer remove <package>
, Composer will also remove this composer plugin if no other packages rely on it. Because we only fire the extension uninstaller afterwards, the required files are missing and Composer will fail.
Rename repository and package to conform with our new naming convention
I was about to try this repo.
At the beginning of Read.me
it says that you should create a composer.json
in the root directory
of Joomla
.
In the current Joomla version 3.9.14 there is already a composer.json
in the root directory
.
Allow a component to be uninstalled using composer.
Implement the new hooks coming with composer-plugin-api 2.x
Joomlatools media files are not properly moved in /web/media
directory.
This is related to ticket #14
Ensure that the composer install process can run outside of the Joomla context, this would allow installing the Joomlatools Framework standalone.
Release 1.0.8
When installing plugins, automatically enable them.
The changes in #44 break support for JT platform, Joomla 3.6 and 3.7.
Allow defining manifest path in composer.json so that it can be moved into the folder root when installing an extension in Joomla.
Error: Fatal error: Array and string offset access syntax with curly braces is no longer supported in vendor/joomlatools/composer/src/Joomlatools/Composer/ExtensionInstaller.php on line 191
When working on a joomla-platform codebase that also requires joomla extensions installed using our joomlatools/installer plugin, the installation will fail when joomlatools/installer bootstraps the platform:
joomla-installer
and will also require joomlatools/installerHello there, thanks a lot for this, I'm a rookie with composer and command line but actually already love this incredible plugin!
I've tried installing JCE, this is my code for it
{
"type": "package",
"package": {
"name": "vendor/jce",
"type": "joomla-installer",
"version": "1.0.0",
"dist": {
"url": "https://www.joomlacontenteditor.net/downloads/editor/joomla-3?task=callelement&format=raw&item_id=1133&element=f85c494b-2b32-4109-b8c1-083cca2b7db6&method=download&args[0]=a51aaa52300b0ccdf84d03ca4c75f67c",
"type": "zip"
},
"require": {
"joomlatools/installer": "*"
}
}
}
Unfortunately after downloading correctly I have this error
[ErrorException]
Use of undefined constant JPATH_COMPONENT_ADMINISTRATOR - assumed 'JPATH_COMPONENT_ADMINISTRATOR'
I guess its something to do with their code maybe, but was wondering if maybe I did something wrong on my side too.
Side question: what is the purpose of the version number? (in both "package" declaration and "require").
How can I tell to grab the last available? I saw that even specifing the ver number it will anyway get the last version, so another question could be how can I tell him to get a specific version?
Thanks a lot for sharing this!
Add some basic tests to run on Travis to simply check if composer require
works.
We're trying to install Nooku 2.x on the Joomla Platform. It seems that the joomlatools-installer didn't move files properly.
/libraries/koowa wasn't moved to lib/libraries/koowa
/media wasn't moved to /public/media
/administrator/manifests/files/files_koowa/script.php wasn't moved to /app/administrator/manifests/files/files_koowa/script.php
Update the bootstrapping logic for Joomla 4
Bootstrap the correct files depending on CMS or Platform environment.
Make sure to be working in a Joomla Platform/CMS directory before trying to include files. If not, throw an error with a clear message.
Consider the following scenario:
To solve this :
install()
, otherwise run update()
Appears to no longer be working with Joomla 3.6.*
Exception trace:
() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/joomla/cache/storage.php:173
JCacheStorage::getInstance() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/joomla/cache/cache.php:466
JCache->_getStorage() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/joomla/cache/cache.php:191
JCache->get() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/joomla/cache/controller.php:184
JCacheController->get() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/cms/plugin/helper.php:298
JPluginHelper::load() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/cms/plugin/helper.php:163
JPluginHelper::importPlugin() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/libraries/cms/installer/installer.php:456
JInstaller->install() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/vendor/joomlatools/composer/src/Joomlatools/Composer/Application.php:165
Joomlatools\Composer\Application->install() at /Users/dsmink/Projects/gda.jos.picturae.pro/public/vendor/joomlatools/composer/src/Joomlatools/Composer/ExtensionInstaller.php:93
Joomlatools\Composer\ExtensionInstaller->install() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Installer/InstallationManager.php:152
Composer\Installer\InstallationManager->install() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Installer/InstallationManager.php:139
Composer\Installer\InstallationManager->execute() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Installer.php:536
Composer\Installer->doInstall() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Installer.php:215
Composer\Installer->run() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Command/UpdateCommand.php:172
Composer\Command\UpdateCommand->execute() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/vendor/symfony/console/Command/Command.php:259
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/vendor/symfony/console/Application.php:844
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/vendor/symfony/console/Application.php:192
Symfony\Component\Console\Application->doRun() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Console/Application.php:227
Composer\Console\Application->doRun() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/vendor/symfony/console/Application.php:123
Symfony\Component\Console\Application->run() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/src/Composer/Console/Application.php:102
Composer\Console\Application->run() at phar:///usr/local/Cellar/composer/1.1.2/libexec/composer.phar/bin/composer:43
require() at /usr/local/Cellar/composer/1.1.2/libexec/composer.phar:24
The getApplicationMessages() call is not returning the queued messages on failure (code).
The messages do show up in the logger output when increasing verbosity.
How to reproduce:
composer require joomlatools/logman-advancedmodules
This plugin requires a newer LOGman version. Please download the latest version from <a href=http://joomlatools.com target=_blank>joomlatools.com</a> and upgrade.
is not shown when you run without the -v
flag.The installer will throw an exception when trying to install platform-xyz extensions into platform along with the default dependencies on a first composer install
during installation of custom projects. This happens because the dependencies required to bootstrap the application (such as phptdotenv) are missing. We need to make sure that:
Originally reported at joomlatools/joomlatools-platform#240
Todo's:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.