Extension to create custom page

I’m attempting to create an extension to allow a group of people to view chat logs within a database.

Currently, I have the following code:


final class MCChatLogs extends PhabricatorApplication {
  public function getName() {
    return pht('Minecraft Chat Logs');
 public function getBaseURI() {
     return '/mcchatlogs/';
 public function getFlavorText() {
   return pht('See what players are saying...');


At the moment, I am unsure how to create pages for staff to view and how to load data into lists and specific entry pages.

Well… You’ve got to read a lot of stuff.

Under https://secure.phabricator.com/diviner/, look for “Contributor Documentation” - some of it talks about the technical stuff for working with the codebase - like how to get your new code loaded and running.

Under https://secure.phabricator.com/w/community_resources/, there’s one or two 3rd party applications you can look at that, which are small applications.

And then, there’s the Phabricator code base itself: There’s lots of apps in there, including some simple ones, like Guides and Home. Copying from existing code will get you 90% of the way.

You can also look at https://secure.phabricator.com/T5447, but it mainly says that you’ll get no support from Phacility and the core team.

Oh, Welcome and Good Luck!

1 Like