Skip to content

joomengine/phpseclib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JCB! Super Powers

What Are JCB Super Powers?

In simple terms, JCB Super Powers are PHP classes — but managed entirely from the Joomla Component Builder (JCB) interface.

You can use JCB to create your own:

  • Classes
  • Interfaces
  • Abstract classes
  • Traits
  • Final classes

These are full-featured PHP code units that you define visually in the JCB GUI. JCB then takes care of:

  • Proper namespacing
  • Correct file placement
  • Seamless project integration

Every Super Power is treated as a reusable unit of logic. It can be automatically injected into any part of your JCB-powered component, or used in other components or codebases via a SPK (Super Power Key).

Even better — you can use dynamic placeholders like [[[NamespacePrefix]]] or [[[ComponentNamespace]]] in your Super Power code Namespace. These automatically adapt when reused in different projects, making your logic portable and future-proof.

In short: Super Powers turn JCB into a PHP code factory — giving you the power of advanced PHP with none of the manual file management.

To learn how to create, manage, and use Super Powers, see the
Super Powers Documentation →

What Can I Find Here?

This repository acts as a central registry of approved Super Powers specific to this JCB instance.
Only the Super Powers that have been explicitly assigned to this repository are listed here.

In JCB, you can organize your Super Powers across multiple repositories.
For example, we have separate repositories for:

Each repository maintains its own index, and only the powers assigned to that specific repository will appear in its list.

How to Use These Super Powers

If you want to use any of the classes listed here in your own component logic, simply reference their SPK (Super Power Key):

Super---[unique-guid]---Power

Replace each --- with ___ when using the key inside your code.

JCB will automatically resolve this SPK during compilation, placing the associated class in the correct location with the correct namespace based on your component context.
This makes your logic both reusable and component-aware, without hardcoding anything.


Index of powers

remember to replace the --- with ___ in the SPK to activate that Power in your code


Joomla Volunteer Portal Octoleo Llewellyn Telegram Mastodon X (Twitter) GitHub YouTube n8n Docker Hub Open Collective GPG Key