11<header >
22 <h1 align =" center " >Slack App Framework for PHP</h1 >
33 <p align =" center " >By Jeremy Lindblom (<a href =" https://twitter.com/jeremeamia " >@jeremeamia</a >)</p >
4+ <p align =" center " >Forked By Bubba Hines</p >
45</header >
56
67<p align =" center " >
@@ -54,7 +55,7 @@ root URL of your deployed app code.
5455
5556When developing the app code, you declare one or more ` Listener ` s using the ` App ` 's routing methods that correspond to
5657the different types of app interaction. ` Listener ` s can be declared as closures, or as objects and class names of type
57- ` SlackPhp \Framework\Listener` . A ` Listener ` receives a ` Context ` object, which contains the payload data provided by
58+ ` BubbaOps \Framework\Listener` . A ` Listener ` receives a ` Context ` object, which contains the payload data provided by
5859Slack to the app and provides methods for all the actions you can take to interact with or communicate back to Slack.
5960
6061## Quick Example
@@ -69,8 +70,8 @@ This small app responds to the `/cool` slash command.
6970``` php
7071<?php
7172
72- use SlackPhp \Framework\App;
73- use SlackPhp \Framework\Context;
73+ use BubbaOps \Framework\App;
74+ use BubbaOps \Framework\Context;
7475
7576App::new()
7677 ->command('cool', function (Context $ctx) {
@@ -99,8 +100,8 @@ the app home page.
99100
100101declare(strict_types=1);
101102
102- use SlackPhp \BlockKit\Surfaces\{Message, Modal};
103- use SlackPhp \Framework\{App, Context, Route};
103+ use BubbaOps \BlockKit\Surfaces\{Message, Modal};
104+ use BubbaOps \Framework\{App, Context, Route};
104105
105106// Helper for creating a modal with the "hello-form" for choosing a greeting.
106107$createModal = function (): Modal {
@@ -191,7 +192,7 @@ declare(strict_types=1);
191192
192193namespace MyApp;
193194
194- use SlackPhp \Framework\{BaseApp, Route, Router};
195+ use BubbaOps \Framework\{BaseApp, Route, Router};
195196use MyApp\Listeners;
196197
197198class MyCoolApp extends BaseApp
@@ -309,7 +310,7 @@ $ctx->container(): ContainerInterface // Returns an instance of the configured P
309310The following features are known to be missing:
310311
311312- OAuth flow for handling installations to a different workspace.
312- - Though there are some class in the ` SlackPhp \Framework\Auth` namespace if you need to roll your own right now.
313+ - Though there are some class in the ` BubbaOps \Framework\Auth` namespace if you need to roll your own right now.
313314
314315## Standards Used
315316
0 commit comments