doganddev / changelog-generator
A Laravel package to create changelogs via a dynamic interface
Requires
- php: ^8.2
- laravel/framework: ^11.0
- livewire/livewire: ^3.0
- nesbot/carbon: ^3.0
- symfony/process: ^7.0
This package is auto-updated.
Last update: 2025-09-09 19:25:35 UTC
README
A Laravel package to create and manage changelogs via a beautiful and dynamic interface.
Features
- Modern UI with Tailwind CSS
- Livewire-powered dynamic interface
- Multi-language support (English and French)
- Version validation
- Markdown and JSON file storage
- Automatic Git integration (commit and push)
- Easy integration with Laravel 11
- Jetstream compatible
Requirements
- PHP 8.2 or higher
- Laravel 11.x
- Livewire 3.x
- Git (for automatic commits and pushes)
Installation
- Add the repository to your
composer.json
:
"repositories": [ { "type": "path", "url": "packages/doganddev/changelog-generator" } ]
- Install the package:
composer require doganddev/changelog-generator
- Publish the configuration and assets:
php artisan vendor:publish --provider="DogAndDev\ChangelogGenerator\ChangelogGeneratorServiceProvider"
Usage
- Access the changelog generator at
/admin/actions/create-changelog
- Fill in the version (format: X.X.X)
- Select the release date
- Add your changes in the appropriate sections:
- Added Features
- Changed Features
- Fixed Issues
- Submit the form to generate the changelog
The changelog will be stored as both:
- A JSON file in
storage/app/changelogs/
- A Markdown file (CHANGELOG.md) in your project root
Configuration
You can customize the package behavior in config/changelog-generator.php
:
- Storage path for changelog files
- File format (supports both JSON and Markdown)
- Markdown file path
- Git configuration:
- Enable/disable Git integration
- Auto-commit changes
- Auto-push changes
- Customize commit message
- Configure remote and branch
- Route configuration (prefix and middleware)
Git Integration
The package can automatically commit and push your changelog changes. Configure Git settings in config/changelog-generator.php
:
'git' => [ 'enabled' => true, 'auto_commit' => true, 'auto_push' => true, 'commit_message' => 'docs: update changelog for version {version}', 'remote' => 'origin', 'branch' => 'main', ],
Translations
The package comes with English and French translations. You can add more languages by creating new files in the resources/lang/vendor/changelog-generator
directory.
Security
The changelog generator routes are protected by the auth
middleware by default. Make sure to configure your authentication as needed.
License
This package is open-sourced software licensed under the MIT license.