Usage

Usage

1.1. Official Documentation

First jump to official documentation: https://github.com/pingpong-labs/modules

The most important sections are:

  • Artisan Commands

  • Facades

  • Module Entity

  • Custom Namespaces

1.2. Coding Hacks

1.2.1. Check if modules is active

To make life easier simply use this to check if a module is active.

1.2.1.1.1. is module active
if (\PPModule::is_active('ProvBase')) { // do something }