You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,11 @@
1
1
# Saloon 🚪🚪
2
-
### (Work In Progress)
3
2
4
3
*Interact with REST APIs with confidence and elegance.*
5
4
6
5
Saloon is a PHP package which introduces a class-based/OOP approach to building connections to APIs. Saloon introduces an easy to understand pattern to help you standardise the way you interact with third-party APIs, reduce repeated code (DRY) and lets you mock API requests for your tests.
7
6
7
+
> Note: Saloon is still a work in progress, some features aren't quite ready yet but are coming soon.
8
+
8
9
```php
9
10
<?php
10
11
@@ -24,7 +25,7 @@ $data = $response->json();
24
25
- Lets you update API requests in one place.
25
26
- Easily extend with your own functionality.
26
27
- Framework agnostic.
27
-
- Mocking requests for testing.
28
+
- Mocking requests for testing. (work in progress)
28
29
29
30
> Note on mocking/faking: I'm currently looking for some help with mocking requests in Saloon. If you have any suggestions to make this better, please consider contributing to the issue on the issues page.
0 commit comments