PHPackages                             blackfyre/blueprint-nova-addon - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. blackfyre/blueprint-nova-addon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

blackfyre/blueprint-nova-addon
==============================

v1.5.8(5y ago)039MITPHP

Since Apr 17Pushed 5y agoCompare

[ Source](https://github.com/blackfyre/blueprint-nova-addon)[ Packagist](https://packagist.org/packages/blackfyre/blueprint-nova-addon)[ Docs](https://github.com/blackfyre/blueprint-nova-addon)[ GitHub Sponsors](https://github.com/Naoray)[ RSS](/packages/blackfyre-blueprint-nova-addon/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (6)Versions (22)Used By (0)

Blueprint Nova Addon
====================

[](#blueprint-nova-addon)

[![Build Status](https://camo.githubusercontent.com/862624c1d19b855aec13b5c05e2645e5b69a5816dcb525ef7e52212876bc3620/68747470733a2f2f7472617669732d63692e6f72672f4e616f7261792f626c75657072696e742d6e6f76612d6164646f6e2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/862624c1d19b855aec13b5c05e2645e5b69a5816dcb525ef7e52212876bc3620/68747470733a2f2f7472617669732d63692e6f72672f4e616f7261792f626c75657072696e742d6e6f76612d6164646f6e2e7376673f6272616e63683d6d6173746572)[![Total Downloads](https://camo.githubusercontent.com/4f9751c292279d4e2e74a980b882b145f0d858fb60aea494185728674a80a245/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e616f7261792f626c75657072696e742d6e6f76612d6164646f6e2e7376673f7374796c653d666c6174)](https://packagist.org/packages/naoray/blueprint-nova-addon)

📣 Shoutout to [Jason McCreary](https://github.com/jasonmccreary) whose [Blueprint](https://github.com/laravel-shift/blueprint) package lays the groundwork for this small addon. Thank you Jason 🙌

Installing this addon will allow you to generate your Nova resources with the `php artisan blueprint:build` command.

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

[](#installation)

You can install this package and **Blueprint** via composer:

```
composer require --dev blackfyre/blueprint-nova-addon
```

> ⚠️ You need to have [laravel nova](https://nova.laravel.com/) installed in order for the resource generation to take place!

Usage
-----

[](#usage)

Refer to [Blueprint's Basic Usage](https://github.com/laravel-shift/blueprint#basic-usage) to get started. Afterwards you can run the `blueprint:build` command to generate Nova resources automatically. To get an idea of how easy it is you can use the example `draft.yaml` file below.

```
# draft.yaml
models:
  Post:
    author_id: id foreign:users
    title: string:400
    content: longtext
    published_at: nullable timestamp
    relationships:
      HasMany: Comment

  Comment:
    post_id: id foreign
    content: longtext
    published_at: nullable timestamp
```

From these 13 lines of YAML, this addon will generate 2 Nova resources which are pre-filled with 14 fields.

```
// App/Nova/Comment.php
public function fields(Request $request)
{
    return [
        ID::make()->sortable(),

        Textarea::make('Content')
            ->rules('required', 'string'),

        DateTime::make('Published at'),

        BelongsTo::make('Post'),

        DateTime::make('Created at'),
        DateTime::make('Updated at'),
    ];
}

// App/Nova/Post.php
public function fields(Request $request)
{
    return [
        ID::make()->sortable(),

        Text::make('Title')
            ->rules('required', 'string', 'max:400'),

        Textarea::make('Content')
            ->rules('required', 'string'),

        DateTime::make('Published at'),

        BelongsTo::make('Author', 'author', User::class),

        HasMany::make('Comments'),

        DateTime::make('Created at'),
        DateTime::make('Updated at'),
    ];
}
```

Configuration
-------------

[](#configuration)

You may publish the configuration with the following command:

```
php artisan vendor:publish --tag=nova_blueprint
```

### Timestamp fields

[](#timestamp-fields)

To disable the generation of `timestamp` fields for all Nova resources set this option to `false`.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Krishan König](https://github.com/naoray)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 64.1% 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 ~20 days

Recently: every ~0 days

Total

18

Last Release

1864d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f69722c730485e89a0ab85988c9be11cd446a0bd0248ee64e0688a25c3dd91f?d=identicon)[blackfyre](/maintainers/blackfyre)

---

Top Contributors

[![Naoray](https://avatars.githubusercontent.com/u/10154100?v=4)](https://github.com/Naoray "Naoray (59 commits)")[![blackfyre](https://avatars.githubusercontent.com/u/1991410?v=4)](https://github.com/blackfyre "blackfyre (12 commits)")[![wotta](https://avatars.githubusercontent.com/u/13332240?v=4)](https://github.com/wotta "wotta (11 commits)")[![jyrkidn](https://avatars.githubusercontent.com/u/2447042?v=4)](https://github.com/jyrkidn "jyrkidn (7 commits)")[![AbdullahiAbdulkabir](https://avatars.githubusercontent.com/u/33360580?v=4)](https://github.com/AbdullahiAbdulkabir "AbdullahiAbdulkabir (2 commits)")[![algethamy](https://avatars.githubusercontent.com/u/9952761?v=4)](https://github.com/algethamy "algethamy (1 commits)")

---

Tags

naorayblueprint-nova-addonblackfyre

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/blackfyre-blueprint-nova-addon/health.svg)

```
[![Health](https://phpackages.com/badges/blackfyre-blueprint-nova-addon/health.svg)](https://phpackages.com/packages/blackfyre-blueprint-nova-addon)
```

###  Alternatives

[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M210](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M858](/packages/illuminate-pagination)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[naoray/blueprint-nova-addon

7123.2k](/packages/naoray-blueprint-nova-addon)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)[igorsgm/laravel-git-hooks

🪝• Efficiently manage Git hooks in Laravel projects. Enhance code quality, save time on reviews, and prevent bugs from entering your repository.

2931.7k1](/packages/igorsgm-laravel-git-hooks)

PHPackages © 2026

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