amjitk/laravel-ai-changelog
Laravel dev package that reads your Git commits and uses Gemini (via hosseinhezami/laravel-gemini) to generate concise, categorized release notes. Prepends new entries to CHANGELOG.md and supports ranges via tags, SHAs, or branch comparisons—ideal for CI/CD.
git log), Laravel migrations, or custom commit messages.Artisan commands and events (e.g., released:package), allowing customization via service providers or middleware.git CLI commands (e.g., git log). Requires:
.git repository access (may need CI/CD adjustments).config).CHANGELOG.md) or database storage. Database integration may require additional setup (e.g., Eloquent models).| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| AI API Dependencies | High | Implement fallback mechanisms (e.g., manual override, cached responses). |
| Git Access Issues | Medium | Validate git availability in CI/CD pipelines; use SSH keys for remote repos. |
| API Costs | High | Set rate limits, monitor usage, and implement approval workflows for high-volume usage. |
| Changelog Accuracy | Medium | Review AI-generated output; combine with manual curation or human-in-the-loop validation. |
| Laravel Version Compatibility | Low | Test against target Laravel version (package may lag behind LTS releases). |
| Data Privacy | Medium | Ensure commit messages/data sent to AI APIs comply with privacy policies (e.g., GDPR). |
AI Provider Lock-in:
Customization Needs:
Performance:
Deployment:
git log?Maintenance:
Security:
Alternatives:
laravel-release, keepachangelog) been considered? What are the trade-offs?ai:changelog:generate). Integrate into release workflows.released:package or custom events to trigger changelog updates.Assessment Phase:
git log, or third-party services).Pilot Integration:
composer require amjitk/laravel-ai-changelog
.env with AI API key and Git repo path.php artisan ai:changelog:generate
CI/CD Integration:
- name: Generate Changelog
run: php artisan ai:changelog:generate
Customization:
resources/views/vendor/ai-changelog/template.md).Rollout:
laravel/package-tools).git log output matches package expectations (e.g., commit message format).Pre-requisites:
config/ai-changelog.php (if applicable).Core Integration:
ai:changelog:generate command locally.CI/CD:
Post-Deployment:
amjitk/laravel-ai-changelog package.git log formats).git log --oneline + manual formatting).How can I help you explore Laravel packages today?