Получить список материалов

// Joomla 4
$model = Factory::getApplication()
	->bootComponent('com_content')
	->getMVCFactory()
	->createModel('Articles', 'Site', ['ignore_request' => true]);

$model->setState('filter.published', 1);
$model->setState('filter.category_id', 1);

$items = $model->getItems();

Роутер:

\JLoader::register('ContentHelperRoute', JPATH_SITE . '/components/com_content/helpers/route.php');
Route::_(\ContentHelperRoute::getArticleRoute($item->slug, $item->catid, $item->language));