symvaro/release-notes

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 2

Forks: 1

Open Issues: 0

pkg:composer/symvaro/release-notes

1.0.0 2020-04-20 16:04 UTC

This package is auto-updated.

Last update: 2025-09-30 13:25:14 UTC


README

Laravel package to create and manage markdown release notes.

Installation

Composer

composer require symvaro/release-notes

And optionally add the Facade

'ReleaseNotes' => Symvaro\ReleaseNotes\Facades\ReleaseNotes::class,

and publish the config file for view path customization.

Usage

Creating a new Note (from terminal)

artisan release:note name_for_the_update
artisan release:note "Super tolle neue Features"

This automatically creates .md files for every language used in your application. The default directory is resources/views/release/.

Retrieving all release notes, sorted by date created, for current set language

\ReleaseNotes::notesForCurrentLocale();

Retrieving most recent 10 notes

\ReleaseNotes::notesForCurrentLocale(null, 10);

Retrieving notes after a specific date

\ReleaseNotes::notesForCurrentLocale(new \DateTime());

Retrieving only the most recent note

\ReleaseNotes::lastNoteForCurrentLocale()

Using a custom language

\ReleaseNotes::notesForLocale('de');