Version 1.5.0 - Stable
How to install / upgrade
Download joomla-entity-v1.5.0.zip an install through Joomla! Extension Manager.
Bug fixes
Nested entities not saving correct lft/rgt values
When adding or editing a category (or any other nested entity) we were not updating its location in the nested tree. Now they are saved correctly.
New Features
New method to easily change user password
// Change user password with one line!
User::find(42)->changePassword('myNewPassword');
New search filter for CategorySearcher
use Phproberto\Joomla\Entity\Categories\CategorySearcher;
// Search all the categories with title, alias, path or extension like `roberto`
$categories = CategorySearcher::instance(['filter.search' => 'roberto'])->search();
New level filter for CategorySearcher
use Phproberto\Joomla\Entity\Categories\CategorySearcher;
// Search all the categories with level equal to 1
$categories = CategorySearcher::instance(['filter.level' => 1])->search();
// Search all the categories with level equal to 1 or 2
$categories = CategorySearcher::instance(['filter.level' => [1,2]])->search();