Skip to content

Commit c92f4c3

Browse files
fetch php update .gitattributes README.md and composer.json
1 parent e716712 commit c92f4c3

File tree

3 files changed

+31
-16
lines changed

3 files changed

+31
-16
lines changed

.gitattributes

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,30 @@
1919
/.travis.yml export-ignore
2020
/phpunit.xml.dist export-ignore
2121
/.scrutinizer.yml export-ignore
22-
/tests export-ignore
22+
/tests/ export-ignore
2323
/.editorconfig export-ignore
24+
/docs/ export-ignore
25+
/netlify.toml export-ignore
26+
/.github/ export-ignore
27+
/LICENSE export-ignore
28+
/CHANGELOG.md export-ignore
29+
/pint.json export-ignore
30+
/README.md export-ignore
31+
/phpstan.neon export-ignore
32+
/phpstan.src.neon.dist export-ignore
33+
/assets/ export-ignore
34+
/bin/ export-ignore
35+
2436

2537
# Composer files
26-
/composer.json export-ignore
38+
/package.json export-ignore
39+
/package-lock.json
2740
/composer.lock export-ignore
2841

2942
# Other common configuration files
3043
/.env export-ignore
3144
/.php_cs export-ignore
3245
/.php_cs.dist export-ignore
46+
/.phpvmrc export-ignore
47+
/.vscode/ export-ignore
48+
/.husky/ export-ignore

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Fetch PHP
22

3-
[![Latest Version on Packagist](https://img.shields.io/packagist/v/jerome/fetch-php.svg)](https://packagist.org/packages/jerome/fetch-php)
3+
[![Latest Version on Packagist](https://img.shields.io/packagist/v/CodeWithSushil/fetch-php.svg)](https://packagist.org/packages/CodeWithSushil/fetch-php)
44
[![Tests](https://github.com/Thavarshan/fetch-php/actions/workflows/tests.yml/badge.svg?label=tests&branch=main)](https://github.com/Thavarshan/fetch-php/actions/workflows/tests.yml)
55
[![Lint](https://github.com/Thavarshan/fetch-php/actions/workflows/lint.yml/badge.svg)](https://github.com/Thavarshan/fetch-php/actions/workflows/lint.yml)
66
[![CodeQL](https://github.com/Thavarshan/fetch-php/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/Thavarshan/fetch-php/actions/workflows/github-code-scanning/codeql)
@@ -50,7 +50,7 @@ While Guzzle is a powerful HTTP client, Fetch PHP enhances the experience by pro
5050
## Installation
5151

5252
```bash
53-
composer require jerome/fetch-php
53+
composer require fetchphp/fetch
5454
```
5555

5656
> **Requirements**: PHP 8.1 or higher

composer.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
{
2-
"name": "jerome/fetch-php",
2+
"name": "fetchphp/fetch",
33
"description": "The JavaScript fetch API for PHP.",
4-
"version": "3.2.2",
54
"type": "library",
5+
"keywords": [
6+
"fetch",
7+
"fetchphp",
8+
"fetch-php"
9+
],
610
"license": "MIT",
711
"authors": [
812
{
9-
"name": "Jerome Thayananthajothy",
10-
"email": "tjthavarshan@gmail.com"
13+
"name": "Sushil Kumar",
14+
"email": "sushilkumbhar77@gmail.com"
1115
}
1216
],
13-
"homepage": "https://fetch-php.thavarshan.com",
14-
"support": {
15-
"issues": "https://github.com/Thavarshan/fetch-php/issues",
16-
"source": "https://github.com/Thavarshan/fetch-php"
17-
},
1817
"autoload": {
1918
"psr-4": {
2019
"Fetch\\": "src/Fetch/"
@@ -49,9 +48,9 @@
4948
}
5049
},
5150
"scripts": {
52-
"lint": "chmod +x bin/lint.sh && ./bin/lint.sh",
53-
"fix": "chmod +x bin/fix.sh && ./bin/fix.sh",
54-
"test": "chmod +x bin/test.sh && ./bin/test.sh"
51+
"lint": "pint",
52+
"test": "phpunit",
53+
"type": "phpstan"
5554
},
5655
"config": {
5756
"sort-packages": true,

0 commit comments

Comments
 (0)