Skip to content

Commit 12821c6

Browse files
authored
Merge pull request #547 from nadezhdafilina/update-php-vite
ELSDOC-266, updated laravel, vite versions, added nategood page
2 parents ccf70ad + 4bf6b37 commit 12821c6

5 files changed

Lines changed: 169 additions & 4 deletions

File tree

docs/.vuepress/components/ELSTechnology.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ const techData = [
11881188
},
11891189
{
11901190
name: "Vite",
1191-
versions: "2.9.18 | 3.2.11 | 4.5.14 | 4.5.5 | 5.4.14",
1191+
versions: "2.9.18 | 3.2.11 | 4.5.14 | 4.5.5 | 5.4.14 | 5.4.21",
11921192
link: "./vite/",
11931193
},
11941194
{
@@ -1598,9 +1598,14 @@ const techData = [
15981598
versions: "6.11.1",
15991599
link: "./firebase-php-jwt/",
16001600
},
1601+
{
1602+
name: "Httpful",
1603+
versions: "0.3.2",
1604+
link: "./httpful/",
1605+
},
16011606
{
16021607
name: "Laravel",
1603-
versions: "5.4.36 | 5.5.50 | 5.6.40 | 5.7.29 | 5.8.38 | 8 | 10 | 11",
1608+
versions: "5.4.36 | 5.5.50 | 5.6.40 | 5.7.29 | 5.8.38 | 7.30.7 | 8 | 9.52.21 | 10 | 11 | 12.58.0",
16041609
link: "./laravel/",
16051610
},
16061611
{

docs/.vuepress/config-client/sidebar.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,10 @@ export default {
284284
path: '/els-for-libraries/firebase-php-jwt/',
285285
icon: '/images/firebase.webp',
286286
},
287+
{
288+
path: '/els-for-libraries/httpful/',
289+
icon: '/images/php-logo.webp',
290+
},
287291
{
288292
path: '/els-for-libraries/laravel/',
289293
icon: '/images/laravel-logo.webp',
Lines changed: 156 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,156 @@
1+
# Httpful
2+
3+
Endless Lifecycle Support (ELS) for Httpful from TuxCare provides security fixes for Httpful library versions that have reached their end-of-life. This allows you to continue running your applications without vulnerability concerns, even after official support has ended.
4+
5+
## Supported Versions
6+
7+
* **Httpful** 0.3.2
8+
9+
Other versions upon request.
10+
11+
## Installation
12+
13+
<ELSPrerequisites>
14+
15+
* Nexus repository access credentials (username and password) — contact [sales@tuxcare.com](mailto:sales@tuxcare.com)
16+
* To browse available artifacts, visit TuxCare [Nexus](https://nexus.repo.tuxcare.com/#browse/browse:els_php) and click Sign in in the top right corner. You may need to refresh the page after logging in.
17+
18+
</ELSPrerequisites>
19+
20+
<ELSSteps>
21+
22+
1. Locate the `auth.json` file
23+
24+
Composer reads credentials from a per-user `auth.json`. Create or edit the file at:
25+
26+
* **Linux/macOS**:
27+
28+
```
29+
~/.composer/auth.json
30+
```
31+
32+
* **Windows**:
33+
34+
```
35+
%APPDATA%\Composer\auth.json
36+
```
37+
38+
2. Add your TuxCare credentials
39+
40+
Use either the Composer CLI or edit `auth.json` directly to add credentials for `nexus.repo.tuxcare.com`:
41+
42+
<CodeTabs :tabs="[
43+
{ title: 'Composer CLI', content: `composer config --global --auth http-basic.nexus.repo.tuxcare.com USERNAME PASSWORD` },
44+
{ title: 'auth.json', content: authjson }
45+
]" />
46+
47+
Replace `USERNAME` and `PASSWORD` with the credentials provided by TuxCare.
48+
49+
3. Register the TuxCare repository
50+
51+
Add the `els_php` Composer repository either via CLI or by editing `composer.json`:
52+
53+
<CodeTabs :tabs="[
54+
{ title: 'Composer CLI', content: cli },
55+
{ title: 'composer.json', content: composerjson }
56+
]" />
57+
58+
4. Install Httpful
59+
60+
Install the TuxCare-maintained Httpful release that matches your project:
61+
62+
<CodeTabs :tabs="[
63+
{ title: 'Composer CLI', content: `composer require nategood/httpful:0.3.2-p1+tuxcare` },
64+
{ title: 'composer.json', content: httpfuljson }
65+
]" />
66+
67+
**Check the exact version listed in your TuxCare Nexus account to ensure you receive the most recent patched release.**
68+
69+
:::tip
70+
71+
If you edited `composer.json` manually, run `composer update` to install the package:
72+
73+
```
74+
composer update
75+
```
76+
77+
Composer will resolve dependencies against the TuxCare repository and install the patched releases.
78+
79+
:::
80+
81+
</ELSSteps>
82+
83+
### Composer Repository Configuration
84+
85+
If you encounter dependency resolution errors like:
86+
87+
`packages from higher priority repository do not match your constraint`
88+
89+
it usually means your project requires a package version that is not yet available in the TuxCare repository.
90+
91+
**Solution**: Update your `composer.json` to set the TuxCare repository as non-canonical:
92+
93+
```
94+
{
95+
"repositories": [
96+
{
97+
"type": "composer",
98+
"url": "https://nexus.repo.tuxcare.com/repository/els_php/",
99+
"canonical": false
100+
}
101+
]
102+
}
103+
```
104+
105+
This allows Composer to fall back to Packagist for packages not available in the TuxCare repository, while still preferring TuxCare patches when available.
106+
107+
## What's Next?
108+
109+
<WhatsNext hide-title>
110+
111+
* ![](/images/eye.webp) [CVE Tracker](https://tuxcare.com/cve-tracker/) — Track vulnerability fixes and updates
112+
* ![](/images/bolt.webp) [Available fixes](https://tuxcare.com/cve-tracker/fixes) — Released fixes
113+
* ![](/images/box.webp) [Supported components](https://tuxcare.com/cve-tracker/products) — Components covered by ELS
114+
* ![](/images/shield-alert.webp) [VEX feed](https://security.tuxcare.com/vex/cyclonedx/els_lang_php/) — Vulnerability Exploitability eXchange feed
115+
* ![](/images/wrench.webp) [Managing the ELS repository](/els-for-libraries/managing-els-repository/) — Upgrade to a newer version
116+
117+
</WhatsNext>
118+
119+
<script setup>
120+
121+
const authjson =
122+
`{
123+
"http-basic": {
124+
"nexus.repo.tuxcare.com": {
125+
"username": "USERNAME",
126+
"password": "PASSWORD"
127+
}
128+
}
129+
}`
130+
131+
const composerjson =
132+
`{
133+
"repositories": [
134+
{
135+
"type": "composer",
136+
"url": "https://nexus.repo.tuxcare.com/repository/els_php/",
137+
"options": {
138+
"http": {
139+
"verify": true
140+
}
141+
}
142+
}
143+
]
144+
}`
145+
146+
const cli =
147+
`composer config repositories.tuxcare '{"type":"composer","url":"https://nexus.repo.tuxcare.com/repository/els_php/","options":{"http":{"verify":true}}}' --json`
148+
149+
const httpfuljson =
150+
`{
151+
"require": {
152+
"nategood/httpful": "0.3.2-p1+tuxcare"
153+
}
154+
}`
155+
156+
</script>

docs/els-for-libraries/laravel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Endless Lifecycle Support (ELS) for Laravel from TuxCare provides security fixes
44

55
## Supported Versions
66

7-
* **Laravel** 5.4.36, 5.5.50, 5.6.40, 5.7.29, 5.8.38, 8, 10, 11
7+
* **Laravel** 5.4.36, 5.5.50, 5.6.40, 5.7.29, 5.8.38, 7.30.7, 8, 9.52.21, 10, 11, 12.58.0
88
* **Illuminate View** 5.4.36
99
* **Illuminate Database** 5.4.36
1010

docs/els-for-libraries/vite/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Endless Lifecycle Support (ELS) for Vite from TuxCare provides security fixes fo
44

55
## Supported Vite Versions
66

7-
* Vite 2.9.18, 3.2.11, 4.5.14, 4.5.5, 5.4.14
7+
* Vite 2.9.18, 3.2.11, 4.5.14, 4.5.5, 5.4.14, 5.4.21
88

99
## Installation
1010

0 commit comments

Comments
 (0)