src/Adapter/ModulesAdapter.php
public function modules()
    {

        $memory        = app('antares.memory');
        $configuration = $memory->make('component');
        $extensions    = $configuration->get('extensions.active');
        $coreActions   = $configuration->get('acl_antares.actions');

        $data = [
            [
                'name'        => 'antares',
                'namespace'   => 'antares',
                'full_name'   => 'Core Platform',
                'description' => 'Application engine',
                'actions'     => $coreActions
            ]
        ];

        foreach ($extensions as $extension) {
            $named   = app('antares.extension')->getAvailableExtensions()->findByName($extension['fullname']);
            $name    = str_replace(['component-', 'module-'], '', $extension['name']);
            $actions = $configuration->get("acl_antares/{$name}.actions");
            $data[]  = array_merge([
                'name'        => $name,
                'full_name'   => $named->getFriendlyName(),
                'description' => strip_tags($named->getPackage()->getDescription())], [
                'actions'   => $actions,
                'namespace' => "antares/{$name}"
            ]);
        }

        return $data;
    }
public function modules()
    {

        $memory        = app('antares.memory');
        $configuration = $memory->make('component');
        $extensions    = $configuration->get('extensions.active');
        $coreActions   = $configuration->get('acl_antares.actions');

        $data = [
            [
                'name'        => 'antares',
                'namespace'   => 'antares',
                'full_name'   => 'Core Platform',
                'description' => 'Application engine',
                'actions'     => $coreActions
            ]
        ];

        foreach ($extensions as $extension) {
            $named   = app('antares.extension')->getAvailableExtensions()->findByName($extension['fullname']);
            $name    = str_replace(['component-', 'module-'], '', $extension['name']);
            $actions = $configuration->get("acl_antares/{$name}.actions");
            $data[]  = array_merge([
                'name'        => $name,
                'full_name'   => $named->getFriendlyName(),
                'description' => strip_tags($named->getPackage()->getDescription())], [
                'actions'   => $actions,
                'namespace' => "antares/{$name}"
            ]);
        }

        return $data;
    }
fetch modules list

@return type