Skip to content

Commit

Permalink
- Use my own repo and vendor name to ease inclusion in our projects
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiwheat committed Apr 5, 2023
1 parent 7ae87f4 commit e10cbb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,8 @@ PHP 8.1 or higher required.

```json
{
"repositories": [
{
"type": "vcs",
"url": "[email protected]:diagnosia/httpful.git"
}
],
"require": {
"nategood/httpful": "^0.4"
"maxiwheat/httpful": "^0.4"
}
}
```
Expand All @@ -40,7 +34,7 @@ vendor/bin/phpstan analyse tests

# Httpful

[![Build Status](https://secure.travis-ci.org/nategood/httpful.png?branch=master)](http://travis-ci.org/nategood/httpful) [![Total Downloads](https://poser.pugx.org/nategood/httpful/downloads.png)](https://packagist.org/packages/nategood/httpful)
[![Total Downloads](https://poser.pugx.org/maxiwheat/httpful/downloads.png)](https://packagist.org/packages/maxiwheat/httpful)

Httpful is a simple Http Client library for PHP 7.2+. There is an emphasis of readability, simplicity, and flexibility – basically provide the features and flexibility to get the job done and make those features really easy to use.

Expand All @@ -61,7 +55,7 @@ Here's something to whet your appetite. Search the twitter API for tweets conta
```php
// Make a request to the GitHub API with a custom
// header of "X-Trvial-Header: Just as a demo".
$url = "https://api.github.com/users/nategood";
$url = "https://api.github.com/users/maxiwheat";
$response = src\Request::get($url)
->expectsJson()
->withXTrivialHeader('Just as a demo')
Expand All @@ -75,12 +69,12 @@ echo "{$response->body->name} joined GitHub on " .

## Composer

Httpful is PSR-0 compliant and can be installed using [composer](http://getcomposer.org/). Simply add `nategood/httpful` to your composer.json file. _Composer is the sane alternative to PEAR. It is excellent for managing dependencies in larger projects_.
Httpful is PSR-0 compliant and can be installed using [composer](http://getcomposer.org/). Simply add `maxiwheat/httpful` to your composer.json file. _Composer is the sane alternative to PEAR. It is excellent for managing dependencies in larger projects_.

```json
{
"require": {
"nategood/httpful": "*"
"maxiwheat/httpful": "*"
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nategood/httpful",
"name": "maxiwheat/httpful",
"description": "A Readable, Chainable, REST friendly, PHP HTTP Client",
"homepage": "https://github.com/nategood/httpful",
"homepage": "https://github.com/maxiwheat/httpful",
"license": "MIT",
"keywords": ["http", "curl", "rest", "restful", "api", "requests"],
"version": "0.4.0",
Expand Down

0 comments on commit e10cbb6

Please sign in to comment.