100% unit tested libraries to develop Joomla! extensions.
STILL NOT READY FOR PRODUCTION
Sample usage:
use Phproberto\Joomla\Client\Client;
// Get the active client
$client = Client::getActive();
// Check if we are in backend
if ($client->isAdmin())
{
// Do something
}
// Check if we are in frontend
if ($client->isSite())
{
// Do something
}
// Retrieve client base folder
echo 'Base application folder is ' . $client->getFolder();
// Retrieve frontend client
$site = Client::site();
// Retrieve backend client
$admin = Client::admin();
- PHP 5.5+
- Joomla! CMS v3.7+
This library is licensed under GNU LESSER GENERAL PUBLIC LICENSE.
Copyright (C) 2017 Roberto Segura López - All rights reserved.