Skip to content

Commit 109ba7c

Browse files
committed
remove / in composer.json
1 parent 3ec1f54 commit 109ba7c

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# API Collection
1+
# API Framework
22

3-
[![Tests](https://github.com/eugenefvdm/api-collection/actions/workflows/tests.yml/badge.svg)](https://github.com/eugenefvdm/api-collection/actions/workflows/tests.yml)
4-
[![Larastan](https://github.com/eugenefvdm/api-collection/actions/workflows/larastan.yml/badge.svg)](https://github.com/eugenefvdm/api-collection/actions/workflows/larastan.yml)
5-
[![Downloads](https://img.shields.io/packagist/dt/eugenefvdm/api-collection.svg)](https://packagist.org/packages/eugenefvdm/api-collection)
3+
[![Tests](https://github.com/eugenefvdm/api-framework/actions/workflows/tests.yml/badge.svg)](https://github.com/eugenefvdm/api-framework/actions/workflows/tests.yml)
4+
[![Larastan](https://github.com/eugenefvdm/api-framework/actions/workflows/larastan.yml/badge.svg)](https://github.com/eugenefvdm/api-framework/actions/workflows/larastan.yml)
5+
[![Downloads](https://img.shields.io/packagist/dt/eugenefvdm/api-framework.svg)](https://packagist.org/packages/eugenefvdm/api-framework)
66

77
Another day, another API.
88

@@ -23,7 +23,7 @@ A set of Laravel API service providers.
2323
## Installation
2424

2525
```bash
26-
composer require eugenefvdm/api-collection
26+
composer require eugenefvdm/api-framework
2727
```
2828

2929
## Publish the configuration file
@@ -128,7 +128,7 @@ vendor/bin/pest
128128

129129
## Design philosophy
130130

131-
APIs can be hard. Reading documentation is a drag. And what if you only want to use a few calls? Do you really have to learn everything? This library collection gives you the power of many APIs in one package. It's minimalist and uses Laravel's facades for easy access.
131+
APIs can be hard. Reading documentation is a drag. And what if you only want to use a few calls? Do you really have to learn everything? This framework gives you the power of many APIs in one package. It's minimalist and uses Laravel's facades for easy access.
132132
Each call is tested using stubs which doubles as a handy reference.
133133

134134
## Contribution Guidelines

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"slack",
1717
"tail",
1818
"telegram",
19-
"whm/cPanel",
20-
"x/twitter",
19+
"whm-cpanel",
20+
"x-twitter",
2121
"zadomains"
2222
],
2323
"authors": [

tests/Feature/Slack/WebhookTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
$slack = new Slack('https://hooks.slack.com/services/test/webhook');
1313

14-
$result = $slack->sendText('Hello testing from API collection');
14+
$result = $slack->sendText('Hello testing from API framework');
1515

1616
// Assert the message was sent successfully
1717
expect($result)->toBeTrue();
@@ -20,7 +20,7 @@
2020
Http::assertSent(function ($request) {
2121
return $request->url() === 'https://hooks.slack.com/services/test/webhook'
2222
&& $request->method() === 'POST'
23-
&& $request['text'] === 'Hello testing from API collection';
23+
&& $request['text'] === 'Hello testing from API framework';
2424
});
2525
});
2626

@@ -32,7 +32,7 @@
3232

3333
$slack = new Slack('https://hooks.slack.com/services/test/webhook');
3434

35-
$result = $slack->sendText('Hello testing from API collection');
35+
$result = $slack->sendText('Hello testing from API framework');
3636

3737
// Assert the message was not sent successfully
3838
expect($result)->toBeFalse();
@@ -41,6 +41,6 @@
4141
Http::assertSent(function ($request) {
4242
return $request->url() === 'https://hooks.slack.com/services/test/webhook'
4343
&& $request->method() === 'POST'
44-
&& $request['text'] === 'Hello testing from API collection';
44+
&& $request['text'] === 'Hello testing from API framework';
4545
});
4646
});

0 commit comments

Comments
 (0)