Joomla extension to check components, modules or plugins for possible problems for submission to the JED
Go to file
Denis Ryabov 5920d4f5fc
Merge pull request #252 from joomla-extensions/l10n_crowdin_translations
New Crowdin translations by GitHub Action
2024-01-08 15:48:51 +03:00
.github/workflows Update crowdin-wf-develop.yml 2023-07-27 20:18:27 +03:00
administrator/components/com_jedchecker New Crowdin translations by GitHub Action 2024-01-08 12:23:45 +00:00
media/com_jedchecker fix console error message if jQuery is not loaded 2023-07-28 12:35:43 +04:00
.drone.yml Add drone with codestyle check 2019-10-13 10:03:41 +02:00
.gitignore 2.1.1 - Copyright updated to Joomla 2019-03-10 09:49:52 +01:00
CHANGELOG Incremented the version to 2.4.1 for next release. 2021-10-28 23:20:36 +02:00
README.md More Copryright fixes 2019-03-10 17:09:42 +01:00
access.xml Removal of build tools 2017-02-14 14:34:35 +00:00
composer.json Update dependency dealerdirect/phpcodesniffer-composer-installer to ^0.7.0 2022-08-09 18:22:49 +00:00
composer.lock Update dependency dealerdirect/phpcodesniffer-composer-installer to ^0.7.0 2022-08-09 18:22:49 +00:00
config.xml Removal of build tools 2017-02-14 14:34:35 +00:00
crowdin-develop.yml Update crowdin-develop.yml 2021-09-01 10:33:17 +02:00
jedchecker.xml set actual release date 2023-09-21 19:38:04 +04:00
manifest.xml prepare 2.4.3 release (removed support of J3.7, added J4.4/5.0) 2023-09-08 10:28:01 +04:00
renovate.json Update renovate.json 2022-09-20 22:17:48 +02:00
script.php switch to namespaced classes for Joomla 5 Native mode. 2023-08-13 13:22:27 +04:00

README.md

JED Checker

This extension is able to check your components, modules or plugins for common errors that will prevent you from publishing your extension on the JED (Joomla! Extensions Directory).

If you are a developer and want to contribute to this extension you can fork this repo.

Uploading your package

After installing this extension in your Joomla! backend, you can use it by uploading a Joomla! extension-package using the upload-button. Once uploaded, the contents of the package (your files) will be checked against JED-rules.

Adding rules

If you want to write a rule have a look a the administrator/components/com_jedchecker/library/rules folder.

You just need to add a new file with your rule, for example yourrule.php.

The file yourrule.php needs to have a class jedcheckerRulesYourrule and that class needs to have a function that accepts the basedir as parameter. This is all - the component will automatically call your rule check function.

If you are going to contribute your rule to the project, then make sure that it follows the joomla coding conventions and that it passes the code sniffer: http://docs.joomla.org/Joomla_CodeSniffer

Checking on existing files and folders

The extension also supports a scan of a pre-defined set of existing files and folders. For this to work, add a list of folders to a textfile tmp/jed_checker/local.txt. There should be a folder on each line. Once the file exists, a "Check" button becomes visible in the jedchecker-toolbar. Just hit it.

Example tmp/jed_checker/local.txt file:

    components/com_jedchecker
    administrator/components/com_jedchecker
    plugins/system

History of the Extension

This extension was previously maintained by Compojoom (Daniel Dimitrov). Other developers that collaborated with the original project were Denis Dulici (mijosoft.com), Riccardo Zorn (fasterjoomla.com), Bernard Toplak, and eaxs (projectfork.net).

Now, JED Checker is currently supported by Joomla (Open Source Matters).

Copyright (C) 2017 - 2019 Open Source Matters, Inc. All rights reserved. Copyright (C) 2008 - 2016 compojoom.com . All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.