alessandro_podo/git-changelog-generator
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require alessandro_podo/git-changelog-generator
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
// config/bundles.php
return [
// ...
AlessandroPodo\GitChangelogGenerator\GitChangelogGenerator::class => ['all' => true],
];
# config/packages/git_changelog_generator.yaml
git_changelog_generator:
validateMapping:
ROLE_*':
- <visibility footer>
scopes:
- ...
use AlessandroPodo\GitChangelogGenerator\Service\Changelog\Changelog;
#[Route(path: '/changelog')]
public function change(
Changelog $changelog,
): Response {
return $this->render('changelog/index.html.twig', ['content'=> $changelog->render()]);
}
# extend base Template
{% block body %}
{{ content|raw }}
{% endblock %}
# Dateiname kann unten den Optionen angepasst werden. Default ist: plannedChangesFile.yml
composer:
-
title: Composer
description: Composer
ready: false
type: refactor
Damit werden geplante Änderungen aufgeführt. Ist das File leer, wird angezeigt, dass keine Änderungen geplant sind. Gibt es das File nicht, wird nichts angezeigt
title: enthalten ist, dann wird dieser genutztdescription: enthalten ist, dann wird dieser genutztvisibility:/v: enthalten ist, dann wird dieser genutzt, sonst wird der Default aus dem ConfigFile genutztHow can I help you explore Laravel packages today?