epicarrow/git-changelog
Larablocks Analysis
epicarrow/git-changelog works with any PHP project: the latest release (v1.2, Jan 23, 2017) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Jan 23, 2017)
- 0 downloads a month (needs 10,000)
- 1 GitHub star (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Jan 23, 2017.
- No releases in the last 12 months.
- First released: Jan 13, 2017.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require epicarrow/git-changelog |
|
| Latest Version: | v1.2 |
| PHP: | >=5.6.4 |
| License: | MIT |
| Last Updated: | May 12, 2017 |
| Links: | GitHub · Packagist |
Git ChangeLog
A simple service to parse the git log of an application to a readable changelog.
Requirements
Mandatory Requirements
Optional Requirements
- An existing >= Laravel 5.3 project to use the global view variable
$gitVersion
Installation
-
To get started, install the Git ChangeLog service via the Composer package manager:
composer require epicarrow/git-changelog -
Optional: If you are using Laravel and you want to use the global view variable
$gitVersionadd the following entry to your providers array inconfig/app.php:'providers' => [ ... ... EpicArrow\GitChangeLog\Providers\GitChangeLogServiceProvider::class ]
Documentation
Services
The following services are currently available:
EpicArrow\GitChangeLog\GitChangeLog::get([int $count = null])
Fetches the latest unique git commits. If two contiguous commits have the same commit message only one commit will be retrieved.
Parameters:
$count(int): The number of results to retrieve.
Return Values:
The retrieved commits as an array of EpicArrow\GitChangeLog\Models\Commits.
EpicArrow\GitChangeLog\GitChangeLog::version()
Gets the latest version of the git repository.
Return Values:
The retrieved latest version of the git repository as a string or null if no version exists.
Global Variables
If you are using Laravel and you've registered the GitChangeLogServiceProvider within your config/app.php providers array
you can access the following variables from every blade view:
$gitVersion: Corresponds to the serviceEpicArrow\GitChangeLog\GitChangeLog::version()and gets you the latest version of the git repository.
The commit model EpicArrow\GitChangeLog\Models\Commit
When retrieving the latest git commit through this service you will get an array of EpicArrow\GitChangeLog\Models\Commits. This model has the following properties:
$id(string): The commit hash/id$date(Carbon\Carbon): The date of the commit$message(string): The commit message$version(string|null): The version (tag) the commit belongs to$author(string): The author of the commit$email(string): The author's email address of the commit$merge(string|null): The merge info of the commit
Alternatives to epicarrow/git-changelog
A Filament plugin that displays a beautiful version changelog modal with an alwa...
Automated release management for Laravel packages with Conventional Commits supp...
Bump your app's semantic version from Conventional Commits and generate a Keep-a...
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v1.2 | >=5.6.4 | MIT | |
| v1.1 | >=5.6.4 | MIT | |
| v1.0 | >=5.6.4 | MIT |