Skip to content

Commit 1ac77e9

Browse files
committed
All the names.
1 parent 63b06e4 commit 1ac77e9

File tree

89 files changed

+284
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+284
-279
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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

5556
When developing the app code, you declare one or more `Listener`s using the `App`'s routing methods that correspond to
5657
the 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
5859
Slack 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

7576
App::new()
7677
->command('cool', function (Context $ctx) {
@@ -99,8 +100,8 @@ the app home page.
99100

100101
declare(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

192193
namespace MyApp;
193194

194-
use SlackPhp\Framework\{BaseApp, Route, Router};
195+
use BubbaOps\Framework\{BaseApp, Route, Router};
195196
use MyApp\Listeners;
196197

197198
class MyCoolApp extends BaseApp
@@ -309,7 +310,7 @@ $ctx->container(): ContainerInterface // Returns an instance of the configured P
309310
The 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

composer.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
2-
"name": "slack-php/slack-app-framework",
2+
"name": "slack-php/slack-php-framework",
33
"type": "library",
44
"license": "MIT",
55
"description": "Provides a foundation upon which to build a Slack application in PHP",
66
"authors": [
77
{
88
"name": "Jeremy Lindblom",
99
"email": "[email protected]"
10+
},
11+
{
12+
"name": "Bubba Hines",
13+
"email": "[email protected]"
1014
}
1115
],
1216
"config": {
@@ -31,7 +35,7 @@
3135
},
3236
"autoload": {
3337
"psr-4": {
34-
"SlackPhp\\Framework\\": "src/"
38+
"BubbaOps\\Framework\\": "src/"
3539
}
3640
},
3741
"require-dev": {
@@ -41,7 +45,7 @@
4145
},
4246
"autoload-dev": {
4347
"psr-4": {
44-
"SlackPhp\\Framework\\Tests\\": "tests/"
48+
"BubbaOps\\Framework\\Tests\\": "tests/"
4549
}
4650
},
4751
"scripts": {

src/App.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework;
5+
namespace BubbaOps\Framework;
66

77
use JsonSerializable;
88
use Psr\Container\ContainerInterface;
99
use Psr\Log\LoggerInterface;
10-
use SlackPhp\Framework\Auth\AppCredentials;
11-
use SlackPhp\Framework\Auth\TokenStore;
12-
use SlackPhp\Framework\Contexts\PayloadType;
10+
use BubbaOps\Framework\Auth\AppCredentials;
11+
use BubbaOps\Framework\Auth\TokenStore;
12+
use BubbaOps\Framework\Contexts\PayloadType;
1313

1414
/**
1515
* Provides a fluent, app builder interface.

src/AppConfig.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework;
5+
namespace BubbaOps\Framework;
66

77
use Closure;
88
use Psr\Container\ContainerInterface;
99
use Psr\Log\LoggerInterface;
1010
use Psr\Log\NullLogger;
11-
use SlackPhp\BlockKit\Surfaces\AppHome;
12-
use SlackPhp\BlockKit\Surfaces\Message;
13-
use SlackPhp\BlockKit\Surfaces\Modal;
14-
use SlackPhp\Framework\Auth\AppCredentials;
15-
use SlackPhp\Framework\Auth\SingleTeamTokenStore;
16-
use SlackPhp\Framework\Auth\TokenStore;
17-
use SlackPhp\Framework\Contexts\ClassContainer;
11+
use BubbaOps\BlockKit\Surfaces\AppHome;
12+
use BubbaOps\BlockKit\Surfaces\Message;
13+
use BubbaOps\BlockKit\Surfaces\Modal;
14+
use BubbaOps\Framework\Auth\AppCredentials;
15+
use BubbaOps\Framework\Auth\SingleTeamTokenStore;
16+
use BubbaOps\Framework\Auth\TokenStore;
17+
use BubbaOps\Framework\Contexts\ClassContainer;
1818

1919
/**
2020
* Configuration for a Slack Application.

src/AppServer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework;
5+
namespace BubbaOps\Framework;
66

77
use Psr\Log\LoggerInterface;
88
use Psr\Log\NullLogger;
9-
use SlackPhp\Framework\Auth\AppCredentials;
10-
use SlackPhp\Framework\Auth\AppCredentialsStore;
9+
use BubbaOps\Framework\Auth\AppCredentials;
10+
use BubbaOps\Framework\Auth\AppCredentialsStore;
1111

1212
/**
1313
* An AppServer is a protocol-specific and/or framework-specific app runner.

src/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework;
5+
namespace BubbaOps\Framework;
66

77
/**
88
* A Slack application for reacting to Slack events, user-initiated commands, or other user interactions with Slack.

src/Auth/AppCredentials.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework\Auth;
5+
namespace BubbaOps\Framework\Auth;
66

7-
use SlackPhp\Framework\Env;
7+
use BubbaOps\Framework\Env;
88

99
/**
1010
* Contains credentials required for all types of app authentication.

src/Auth/AppCredentialsStore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework\Auth;
5+
namespace BubbaOps\Framework\Auth;
66

77
interface AppCredentialsStore
88
{

src/Auth/AuthContext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework\Auth;
5+
namespace BubbaOps\Framework\Auth;
66

77
use function abs;
88
use function hash_equals;

src/Auth/AuthException.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace SlackPhp\Framework\Auth;
5+
namespace BubbaOps\Framework\Auth;
66

7-
use SlackPhp\Framework\Exception;
7+
use BubbaOps\Framework\Exception;
88
use Throwable;
99

1010
class AuthException extends Exception

0 commit comments

Comments
 (0)