Conversation
Updated the main README file with improved documentation and usage instructions.
Improved the vanilla PHP usage guide with clearer examples and removed framework-specific references.
Updated the test report with latest test results and coverage information.
Updated package dependencies and configuration for improved compatibility.
Improved configuration options and added new settings for better customization.
Added database storage functionality for FTP deployments and improved version detection logic.
Added database model registration and migration publishing for version storage.
Removed outdated framework integration guide as the package now focuses on Laravel and vanilla PHP only.
Removed the decision guide as the package structure has been simplified.
Removed outdated migration stub file that is no longer needed.
Removed CakePHP integration example as framework support has been simplified.
Removed CodeIgniter integration example as framework support has been simplified.
Removed Slim integration example as framework support has been simplified.
Removed Symfony integration example as framework support has been simplified.
Removed the UniversalVersioning class as the package now focuses on Laravel and vanilla PHP implementations.
Removed test file for the deprecated UniversalVersioning class.
Added comprehensive documentation for database-based version storage feature.
Added migration for storing version information in database for FTP deployments.
Added console commands for managing version storage in database.
Added middleware for automatically syncing version from file to database.
Added Eloquent model for managing version information in database.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat: Simplify package scope and add database versioning support
Summary
This major update refocuses the Versioning package on its primary use cases: Laravel and vanilla PHP applications.
Multi-framework support has been removed to reduce complexity and improve maintainability. In its place, this release introduces robust database-backed version storage, designed specifically for FTP deployment environments where
.gitmetadata is unavailable.Removed Multi-Framework Support
To simplify the package architecture and long-term maintenance:
UniversalVersioningclassAdded Database Versioning Support
Core Additions
app_versionsdatabase tableEnhanced Core Features
Updated Documentation
Motivation
The package previously supported 8+ PHP frameworks, which:
This update:
Database Storage Benefits
.gitversion.txtBreaking Changes
UniversalVersioningclass removed→ Use
LaravelVersioningorStandaloneVersioningFramework-specific integrations removed
→ Documentation now focuses on Laravel and vanilla PHP only
Multi-framework support discontinued
Migration Steps
For existing users:
UniversalVersioningusage with:LaravelVersioning, orStandaloneVersioningapp_versionstable