Spotlight On: API Docs & Writing a cPanel Plugin

As of today, cPanel’s API1 and API2 are fully documented. cPanel’s x3 interface is entirely API-driven, meaning that every action you can perform in the cPanel interface is now documented and can be automated through our XML-API or reimplemented in a unique theme. Accompanying the complete release of our API documentation is a guide called Writing cPanel Plugins. These documents cover all of the steps required to create a cPanel plugin, in …

Spread the love

As of today, cPanel’s API1 and API2 are fully documented. cPanel’s x3 interface is entirely API-driven, meaning that every action you can perform in the cPanel interface is now documented and can be automated through our XML-API or reimplemented in a unique theme.

Accompanying the complete release of our API documentation is a guide called Writing cPanel Plugins. These documents cover all of the steps required to create a cPanel plugin, in addition to some tools you can use.

These tools include:

  • LivePHP – A PHP class that allows you to use object-oriented programming to access cPanel’s APIs
  • cPanel Template Toolkit (cptt tags) – A template-driven API2 parser that utilizes the Template::Toolkit library, making API2 easier to use.

As always, if you need help, don’t hesitate to post in the Developer Discussion forum.

Facebook Comments

More Stuff

A preview of what’s possible with Paper Lantern While developing customization support for Paper Lantern, the team and I created a number of styles to explore what is now possible.  Here are some sc...
The Death of SquirrelMail As of cPanel & WHM version 74, we will begin to deprecate our support of SquirrelMail, one of our bundled webmail applications. We expect to stop ...
Installing mod_rails and Rails 3.0.9 on a cPanel machine While Rails 3 and mod_rails (aka Phusion Passenger) are not yet supported with cPanel, it is possible in 30 minutes or less to install Rails 3.0.9, in...
Saying Goodbye to PHP 5.4 Sometimes you have to know when to call it a night and retire gracefully. PHP 5.4 goes End of Life on September 14, 2015, which means it’s time for a ...
Spread the love

Posted by News Monkey