PHP code example of lightszentip / laravel-release-changelog-generator

1. Go to this page and download the library: Download lightszentip/laravel-release-changelog-generator library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

lightszentip / laravel-release-changelog-generator example snippets


@releasechangelog

@releasechangelog('full')

app('releasechangelog.version')->showVersion($format)
bash
php artisan vendor:publish --provider="Lightszentip\LaravelReleaseChangelogGenerator\ServiceProvider"
php artisan vendor:publish --tag=resources
shell
php artisan changelog:add --type="feat" --message="Implement the whole function for magic"
shell
php artisan changelog:release --releasename="My First Release" --type=patch
shell
php artisan changelog:generate-md

{"unreleased":{"name":"tbd","date":"","release":false},
"1.0.1.rc0":{"name":"My First Release","date":"2022-12-22 23:56:34","release":true,"feat":[{"message":"My first feature"},{"message":"Implement the whole function for magic"}]}}