PHPackages                             henryavila/laravel-nova-chordpro-field - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. henryavila/laravel-nova-chordpro-field

ActiveLibrary

henryavila/laravel-nova-chordpro-field
======================================

Add a Chordpro viewer and editor into Laravel Nova. The editor is a simple TextArea. The viewer display a fully formatted song.

1.2.0(2y ago)176↓100%MITVuePHP ^8.0

Since Oct 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/henryavila/laravel-nova-chordpro-field)[ Packagist](https://packagist.org/packages/henryavila/laravel-nova-chordpro-field)[ RSS](/packages/henryavila-laravel-nova-chordpro-field/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

Laravel Nova Chordpro Field
===========================

[](#laravel-nova-chordpro-field)

Add a [Chordpro](https://www.chordpro.org/chordpro/chordpro-introduction/) viewer and editor into Laravel Nova. The editor is a simple TextArea. The viewer display a fully formatted song.

The following chordpro code

```
{title: 005 - Tua Vontade}
{subtitle: Adoradores 2}
{key: E}
{tempo: 75}
{time: 6/8}
{duration: 03:57}

{c: (INTRODUÇÃO)}
[E]x//     [F#m7]x//     [D9]x//     [D9]x//
[E]x//     [F#m7]x//     [D9]x//     [D9]x//

[E]Norte ou Sul, [F#m7]noite ou  di[E/G#]-a eu te [A]seguirei [A]
[E]Mesmo que o mundo [F#m7]me abando [E/G#]- ne eu [A]serei fiel [A]
[B]Onde mandares [A]irei segurando em [E]tuas mãos [E]
[B/D#]Sejas meus olhos e [A/C#]guies o meu cora[E]ção

{soc}
[E]    Que eu [B]siga a tua vonta [B]- de e que
[C#m7]sempre a missão me acompa [C#m7]- nhe
Que eu [B/D#]seja a estrela da noi [B/D#]- te
sempre a bri[A/E]lhar por [E]Ti
[E]    Eu sou [B]filho do Rei do univer [B]- so,
{eoc}

```

will be rendered inside Laravel Nova Field as

[![image](https://private-user-images.githubusercontent.com/8429941/273905633-1e803e48-af04-4ee2-b9c9-8b67183eb070.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQzMjcyNzEsIm5iZiI6MTc3NDMyNjk3MSwicGF0aCI6Ii84NDI5OTQxLzI3MzkwNTYzMy0xZTgwM2U0OC1hZjA0LTRlZTItYjljOS04YjY3MTgzZWIwNzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjRUMDQzNjExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDFmZjQ5YmFlNTA2Y2IwNTk2ZDdhNmE5ZmExOTgzMWU5ZTUwMzFkMmJkYThiNDFlMDE1ODlmZDM3MmRiODBhZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.AcyAg6mPcCSYqh4SeKvRrl7azCmdV2q9XnXN6Fvg-9U)](https://private-user-images.githubusercontent.com/8429941/273905633-1e803e48-af04-4ee2-b9c9-8b67183eb070.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQzMjcyNzEsIm5iZiI6MTc3NDMyNjk3MSwicGF0aCI6Ii84NDI5OTQxLzI3MzkwNTYzMy0xZTgwM2U0OC1hZjA0LTRlZTItYjljOS04YjY3MTgzZWIwNzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjRUMDQzNjExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDFmZjQ5YmFlNTA2Y2IwNTk2ZDdhNmE5ZmExOTgzMWU5ZTUwMzFkMmJkYThiNDFlMDE1ODlmZDM3MmRiODBhZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.AcyAg6mPcCSYqh4SeKvRrl7azCmdV2q9XnXN6Fvg-9U)

also, supports dark mode

[![image](https://private-user-images.githubusercontent.com/8429941/273914799-44878bb4-785f-40db-857f-928d0e19c8ee.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQzMjcyNzEsIm5iZiI6MTc3NDMyNjk3MSwicGF0aCI6Ii84NDI5OTQxLzI3MzkxNDc5OS00NDg3OGJiNC03ODVmLTQwZGItODU3Zi05MjhkMGUxOWM4ZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjRUMDQzNjExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTRhYTVjY2UzZmZlODBiOTEyYmRmNGZlZjVlZjJlNzI3OTdlMzY3MDdmNmE1ZjYzYTQ1YWQ2MmQ2ZDkwZjFhZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ORJ5HI8CwSYzlrocNrYv2ycLhNuWZDsJoji-1QMeZEo)](https://private-user-images.githubusercontent.com/8429941/273914799-44878bb4-785f-40db-857f-928d0e19c8ee.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQzMjcyNzEsIm5iZiI6MTc3NDMyNjk3MSwicGF0aCI6Ii84NDI5OTQxLzI3MzkxNDc5OS00NDg3OGJiNC03ODVmLTQwZGItODU3Zi05MjhkMGUxOWM4ZWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDMyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjAzMjRUMDQzNjExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTRhYTVjY2UzZmZlODBiOTEyYmRmNGZlZjVlZjJlNzI3OTdlMzY3MDdmNmE1ZjYzYTQ1YWQ2MmQ2ZDkwZjFhZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ORJ5HI8CwSYzlrocNrYv2ycLhNuWZDsJoji-1QMeZEo)

If the Chorpro has some invalid content, it will be displayed in Detail view

[![image](https://private-user-images.githubusercontent.com/8429941/274028376-ba7b8b60-8c6c-4a41-89e6-e84caae2233e.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQzMjcyNz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aWduYXR1cmU9M2FhOWUwZmNmMWIwNmU4NjZiNTY3MzBlNDBmZDk0OTk0YWM5ZWFjZmU3MWY0ODFmMzQ1MDNlYzEwNjg5OGJiZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.KkTipaEHJTchBLJNwhmVgCHZmcWhAmuGL2vYOBzC6nY)

This package is built with  and  and allows to

- Edit chordpro (simple TextArea editor)
- View a fully formatted song
- Display chordpro parser errors
- Generate a pdf with the formatted song
- Translate the displayed text like "Key", "Time", etc

Prerequisites
-------------

[](#prerequisites)

[Laravel Nova 4+](https://nova.laravel.com/)

Installation
------------

[](#installation)

In a Laravel nova instance, install `henryavila/laravel-nova-chordpro-field`

```
composer require henryavila/laravel-nova-chordpro-field
```

Localization
------------

[](#localization)

Publish the package language files to your application's `resources/lang/vendor` directory:

```
php artisan vendor:publish --provider="Henryavila\LaravelNovaChordproField\FieldServiceProvider"
```

Usage
-----

[](#usage)

Assuming you have a Nova Resource with the `chordpro` content in the `chordpro` column, the following code will render the chordpro as displayed in the image above

```
// Laravel Nova Resource
use \Henryavila\LaravelNovaChordproField\ChordproField;

public function fields(Request $request): array
 {
      return [
        ...
        ChordproField::make('Chordpro')
              ->alwaysShow()
              ->rules('required'),
        ...
    ];
}
```

Usage Options
-------------

[](#usage-options)

OptionDescriptionDefault Value`showTabs()`Display tablature`true``useSimpleChord()`Simplify the chords. Ex: `E/G#` becomes `E``false``showChords()`Display the chords. If set to false, will display just the lyrics`true``rows()`Number of rows in the edit form`20`### Usign all options with differents values

[](#usign-all-options-with-differents-values)

```
// Laravel Nova Resource
use \Henryavila\LaravelNovaChordproField\ChordproField;

public function fields(Request $request): array
 {
      return [
        ...
        ChordproField::make('Chordpro')
              ->alwaysShow()
              ->rows(30)
              ->showTabs(false)
              ->useSimpleChord()
              ->showChords(false)
              ->rules('required'),
        ...
    ];
}
```

###  Health Score

25

—

LowBetter than 39% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

3

Last Release

887d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f05a7a5057256071ec7089d62dcf7b47d5700fe1189e7fceac681f93f2894a85?d=identicon)[henryavila](/maintainers/henryavila)

---

Top Contributors

[![henryavila](https://avatars.githubusercontent.com/u/8429941?v=4)](https://github.com/henryavila "henryavila (14 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/henryavila-laravel-nova-chordpro-field/health.svg)

```
[![Health](https://phpackages.com/badges/henryavila-laravel-nova-chordpro-field/health.svg)](https://phpackages.com/packages/henryavila-laravel-nova-chordpro-field)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M6](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.0k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

53173.3k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

42198.1k](/packages/cybercog-laravel-nova-ban)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6545.8k](/packages/insenseanalytics-nova-server-monitor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11217.5k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
