library joomla-common
Common libraries to interact with Joomla!
phproberto/joomla-common
Common libraries to interact with Joomla!
- Friday, July 14, 2017
- by phproberto
- Repository
- 2 Watchers
- 0 Stars
- 886 Installations
- PHP
- 2 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
Joomla! extension development libraries.
100% unit tested libraries to develop Joomla! extensions., (*1)
, (*2)
STILL NOT READY FOR PRODUCTION, (*3)
Quickstart
Sample usage:, (*4)
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();
Requirements
- PHP 5.5+
- Joomla! CMS v3.7+
License
This library is licensed under GNU LESSER GENERAL PUBLIC LICENSE., (*5)
Copyright (C) 2017 Roberto Segura LĂłpez - All rights reserved., (*6)
dev-master
9999999-dev
Common libraries to interact with Joomla!
Sources
Download
LGPL-2.1+
The Requires
The Development Requires