Skip to content

Commit d87843f

Browse files
committed
edit README and add FUNDING file
1 parent b1bc42d commit d87843f

File tree

2 files changed

+24
-6
lines changed

2 files changed

+24
-6
lines changed

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: mastashake08
4+
patreon: mastashake08
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: 'https://cash.me/$mastashake08'

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@
55
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/mastashake08/laravel-openai-api/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/mastashake08/laravel-openai-api/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
66
[![Total Downloads](https://img.shields.io/packagist/dt/mastashake08/laravel-openai-api.svg?style=flat-square)](https://packagist.org/packages/mastashake08/laravel-openai-api)
77

8-
## Routes
9-
```
10-
/api/generate-result POST
11-
```
128

139
## Support us
1410

@@ -67,17 +63,26 @@ php artisan vendor:publish --tag="openai-api-views"
6763

6864
## Usage
6965

66+
### Via Code
7067
```php
7168
$laravelOpenaiApi = new Mastashake\LaravelOpenaiApi();
72-
echo $laravelOpenaiApi->echoPhrase('Hello, Mastashake!');
69+
echo $laravelOpenaiApi->generateResult($data);
70+
```
71+
### Via API
7372
```
73+
/api/generate-result POST {openai_data}
74+
```
75+
7476

7577
## Testing
7678

7779
```bash
7880
composer test
7981
```
8082

83+
## Consider Sponsoring
84+
Help me maintain this project, please consider looking at the [FUNDING](./github/FUNDING.yml) file for more info.
85+
8186
## Changelog
8287

8388
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
@@ -92,7 +97,7 @@ Please review [our security policy](../../security/policy) on how to report secu
9297

9398
## Credits
9499

95-
- [Hacker God](https://github.com/mastashake08)
100+
- [Jyrone Parker](https://github.com/mastashake08)
96101
- [All Contributors](../../contributors)
97102

98103
## License

0 commit comments

Comments
 (0)