Skip to main content
Version: 5.2 (upcoming)


Developer Notice

Creating a script which directly includes loads and boots the CMS framework is not recommended and only needed in rare cases. Depending on the usecase you should create a console plugin and extend the Joomla! console application. If you need to create a simple entry point for webrequests write an ajax plugin.

Installing your Custom Script‚Äč

If you have access to the file system of your web application then you can obviously just copy your script into the folder of your choice.

If instead you want to install your script in the usual way, then you must use "file" as your extension type in the manifest file, for example.

<?xml version="1.0" encoding="utf-8"?>
<extension type="file" version="5.1" method="upgrade">
<name>Custom Script</name>
<description>Script to count the number of articles in the database</description>
<files target="cli">

Installing this will result in the script "myscript.php" being put into the Joomla cli directory.