Skip to content

phproberto/joomla-common

Repository files navigation

Joomla! extension development libraries.

100% unit tested libraries to develop Joomla! extensions.

Build Status Code Coverage Scrutinizer Code Quality

STILL NOT READY FOR PRODUCTION

Quickstart

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();

Requirements

  • PHP 5.5+
  • Joomla! CMS v3.7+

License

This library is licensed under GNU LESSER GENERAL PUBLIC LICENSE.

Copyright (C) 2017 Roberto Segura López - All rights reserved.

About

Common library for Joomla! extension development

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published