PHP Framework

The Advanced Access Manager (AAM) plugin includes an embedded PHP framework to help accelerate your development process.

The AAM PHP framework is the result of years of experience in developing one of the leading WordPress plugins for user-role management. It emphasizes standardization, consistency, and adherence to best practices. Drawing from our support for thousands of WordPress projects of all sizes, the AAM PHP framework can save an average of 80 hours of senior engineering work. This translates into a significant productivity boost and a marked reduction in tech debt.

The framework is designed with a few key goals in mind:

It’s important to note that the AAM PHP framework does not hook into WordPress core actions or filters to restrict access to limited resources. For instance, while the Advanced Access Manager plugin prevents users from accessing certain posts or URLs outside the framework, this is not managed by the PHP framework itself. In other words, the AAM Framework serves as an abstraction layer that simplifies the complexities of storing and resolving access controls and preferences. This allows you to focus with peace of mind on what truly matters — writing your business logic.

The AAM PHP framework is structured as follows:

In most cases, you’ll primarily work with framework services directly.