PHPackages                             arkonsoft/ps-module-core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. arkonsoft/ps-module-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

arkonsoft/ps-module-core
========================

Core utilities for PrestaShop module

v1.2.9(7mo ago)01.3k↓33.3%MITPHPPHP &gt;= 7.0CI failing

Since Sep 11Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/Arkonsoft/ps-module-core)[ Packagist](https://packagist.org/packages/arkonsoft/ps-module-core)[ RSS](/packages/arkonsoft-ps-module-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (21)Used By (0)

PS Module Core
==============

[](#ps-module-core)

Introduction
------------

[](#introduction)

Creating modules for Presta is a real horror story. This package contains basic tools to make development a little less masochistic.

Table of Contents
-----------------

[](#table-of-contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Basic Usage](#basic-usage)
    - [AbstractModule](#abstractmodule)
    - [AbstractAdminSettingsController](#abstractadminsettingscontroller)
    - [AbstractAdminObjectModelController](#abstractadminobjectmodelcontroller-class)
        - [Abstract Methods](#abstract-methods)
        - [Example Usage](#example-usage)
        - [Features](#features)
        - [Image Management](#image-management)
        - [Multishop Support](#multishop-support)
        - [Multilang Support](#multilang-support)
        - [Position Management](#position-management)
- [Definitions](#definitions)
    - [AbstractModule Class](#abstractmodule-class)
    - [ModuleCategory Interface](#modulecategory-interface)
    - [TabDictionary Interface](#tabdictionary-interface)
    - [AbstractAdminSettingsController Class](#abstractadminsettingscontroller-class-1)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.0

Installation
------------

[](#installation)

Install package with composer:

```
composer require arkonsoft/ps-module-core
```

Basic usage
-----------

[](#basic-usage)

### AbstractModule

[](#abstractmodule)

Inherit the AbstractModule class from your module class. Now you have access to the $this-&gt;canBeUpgraded() method, which can be used to display a warning about module updates or anything else.

You can also use the ModuleCategory dictionary to set $this-&gt;tab, which contains the module category (it has meaning on the module list page).

```
