mirror of
https://github.com/Corsinvest/cv4pve-api-php.git
synced 2026-04-25 04:25:48 +03:00
[PR #42] [MERGED] Documentation: Align structure with .NET version #42
Labels
No labels
enhancement
needs investigation
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cv4pve-api-php#42
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Corsinvest/cv4pve-api-php/pull/42
Author: @franklupo
Created: 12/9/2025
Status: ✅ Merged
Merged: 12/9/2025
Merged by: @franklupo
Base:
master← Head:docs/align-with-dotnet-structure📝 Commits (1)
db9bb7fdocs: Align documentation structure with .NET version📊 Changes
15 files changed (+3278 additions, -2814 deletions)
View changed files
📝
.gitignore(+44 -1)📝
README.md(+122 -62)➕
docs/advanced.md(+439 -0)📝
docs/api.md(+479 -93)➕
docs/apistructure.md(+126 -0)📝
docs/authentication.md(+245 -225)📝
docs/common-issues.md(+544 -349)➖
docs/configuration-guide.md(+0 -288)➖
docs/error-handling.md(+0 -708)➕
docs/errorhandling.md(+274 -0)➕
docs/examples.md(+474 -0)➕
docs/results.md(+305 -0)➖
docs/task-management.md(+0 -532)➕
docs/tasks.md(+226 -0)➖
docs/usage-examples.md(+0 -556)📄 Description
📚 Documentation Alignment
This PR aligns the PHP documentation structure with the .NET version (cv4pve-api-dotnet) for consistency across the cv4pve suite.
✨ Key Changes
📁 Documentation Structure
error-handling.md→errorhandling.mdtask-management.md→tasks.mdusage-examples.md→examples.mdadvanced.md- Enterprise patterns, resilient operations, architectureapistructure.md- API navigation and structure guideexamples.md- Practical usage examples with all major operationsresults.md- Result handling patterns and best practicestasks.md- Complete task management guide📖 Content Improvements
Indexed Parameters (netN, scsiN, ipconfigN)
Code Quality
$vm->set([])usage →$vm->getConfig()->updateVmAsync()[0 => 'value']forupdateVmAsync()Readability
isSuccessStatusCode()checks from basic examples:🛠️ Infrastructure
.gitignorewith standard PHP patterns:📊 Statistics
🎯 Result
All documentation now follows the same structure, organization, and quality as the .NET version while being properly adapted for PHP syntax and conventions.
🔍 Files Changed
.gitignore- Enhanced with PHP project patternsREADME.md- Simplified examples, improved readabilitydocs/api.md- Fixed method signatures, improved examplesdocs/authentication.md- Aligned structuredocs/common-issues.md- Major expansion with indexed parameters guidedocs/advanced.md- ✨ New comprehensive guidedocs/apistructure.md- ✨ New API navigation guidedocs/errorhandling.md- Renamed and improveddocs/examples.md- ✨ New practical examplesdocs/results.md- ✨ New result handling guidedocs/tasks.md- Renamed and improved🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.