DEV Community

Cover image for Component Accredible Credential for Joomla 5 (Part 1)
Dollar Dev
Dollar Dev

Posted on

Component Accredible Credential for Joomla 5 (Part 1)

This component 🛠️ (set of extensions) for Joomla 5 and Accreditation integration I developed for use on my portal, but I'm willing to share it.
In this post I will transcribe the design scheme and make a development plan, which usually helps to estimate more accurately the time to be used for development.
But first a few words about what Accreditable is and why I need it.

Accredible is a platform that provides digital credentialing and certificate services. It allows organizations, educational institutions, and businesses to create, manage, and issue digital certificates, badges, and credentials to individuals. These digital credentials can represent achievements, skills, or certifications earned by individuals in various fields.

✨I plan to use these certificates for my users who will successfully complete the training and tasks on the site. But in the starter pack I will demonstrate only the creation of badges for users who have registered on the site. These badges will be displayed using a module on the User Profile page.

📝In general, the scheme of interaction between extensions looks as follows:
Image description

With the diagram, I made a development plan:
1️⃣ Create a component:
1.1 Administer the customization of the
➡️ API KEY
➡️ default group ID (since it is not possible to create a badge or certificate in Accreditable without a group).
1.2 Administer the component:
➡️ DB table for keeping data and certificates
➡️ page with displaying data from the table
➡️ main backend class for interaction with Accredible Credential API

2️⃣ Create a plugin with a trigger onUserAfterSave(). In the plugin settings, it should be possible to edit the Group from Accredible.

3️⃣ Create a module that will be located on the User Profile page and display the user's current badges.

But before you start realization, you need to register at https://www.accredible.com. Create Api Key, for this there is a very good instruction in the help center https://help.accredible.com/how-do-i-find-my-integration-api-key.

Thanks in advance for the "💖 🦄 🤯 🙌 🔥" if you enjoyed it!

Part 2 coming soon ...

Top comments (0)