Download the PHP package markwalet/laravel-changelog without Composer
On this page you can find all versions of the php package markwalet/laravel-changelog. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download markwalet/laravel-changelog
More information about markwalet/laravel-changelog
Files in markwalet/laravel-changelog
Package laravel-changelog
Short Description A Laravel package that prevents merge conflicts on your changelog file.
License MIT
Rated 5.00 based on 1 reviews
Informations about the package laravel-changelog
Laravel Changelog
A Laravel package that prevents merge conflicts on your changelog file.
It enables you to manage your changes by storing them in separate files based on the branch you are currently in. This makes sure that you are not working in the same file as other developers in your team.
Installation
You can install this package with composer:
Laravel >=5.5 uses Package auto-discovery, so you don't have to register the service provider. If you want to register the service provider manually, add the following line to your config/app.php
file:
After installation, verify and change the config for your specific needs and run php artisan changelog:install
. This creates a folder where all the changes will be stored in. This defaults to base_path('.changes')
.
Usage
The main functionality of this package consists of 6 commands:
php artisan changelog:add {--type=} {--message=}
(Add a change to the current feature entry)php artisan changelog:list
(Show a list of changes for all versions)php artisan changelog:unreleased
(Show a list of unreleased changes)php artisan changelog:current
(Show a list of unreleased changes for your current branch)php artisan changelog:release
(Move all unreleased changes to a new version)php artisan changelog:generate {--dry-run} {--path=}
(Generate a markdown file based on your changes. The path option can be empty)
Configuration
The default configuration is defined in changelog.php
. If you want to edit this file you can copy it to your config folder by using the following command:
When you publish these vendor assets, you can also edit the default template that is used when generating the changelog markdown file. The template file can be found in resources/views/vendor/changelog/changelog.blade.php
.
All versions of laravel-changelog with dependencies
laravel/framework Version ^10.0|^11.0|^12.0
markwalet/laravel-git-state Version ~1.0
ext-simplexml Version *
ext-dom Version *