PHPackages                             codicastudio/unlayer-editor - 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. codicastudio/unlayer-editor

ActiveLibrary

codicastudio/unlayer-editor
===========================

A random Codica Studio package.

1.0.0(5y ago)13MITVuePHP ^7.4 || ^8.0

Since Sep 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/codicastudio/unlayer-editor)[ Packagist](https://packagist.org/packages/codicastudio/unlayer-editor)[ Docs](https://github.com/codicastudio/unlayer-editor)[ RSS](/packages/codicastudio-unlayer-editor/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Nova Unlayer Field
==================

[](#nova-unlayer-field)

Adds a Laravel Nova field for Unlayer to compose emails and landing pages.

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require idf/nova-unlayer-field
```

Usage
-----

[](#usage)

This package assumes that your Model has an attribute to store design config (it's better to use `json` or `longtext` SQL type to store it).

On submit, the package sends two fields:

- design (stringified json object)
- html code. If you want to store HTML to your model, please use `savingCallback()`

```
public function fields()
{
    return [
        Unlayer::make('Content', 'design')->config([
            'projectId' => config('unlayer.project_id'),
            'templateId' => config('unlayer.newsletter_template_id'), // Optional, used only if bound attribute is empty (e.g. $newsletter->design)
            'displayMode' => 'email', // Optional, "email" by default
            'locale' => app()->getLocale(), // Optional
        ]),
     ];
}
```

### Options

[](#options)

- `->config(array|callable $config)`: Specify [Unlayer config](https://docs.unlayer.com/docs/getting-started#section-configuration-options).
- `->savingCallback(?callable $callback)`: Specify callback on saving a Model. Useful to store HTML result HTML code.
- `->height(string $height)`: Set height of the editor (with units). E.g. '1000px' (800px by default).

### Changelog

[](#changelog)

Please see [Releases](https://github.com/InteractionDesignFoundation/nova-unlayer-field/releases) for more information on what has changed recently.

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

[](#contributing)

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

### Compiling Assets

[](#compiling-assets)

```
# Compile and minify your assets:
npm run prod

# Compile your assets for local development:
npm run dev

# Run the NPM "watch" command to auto-compile your assets when they are changed:
npm run watch
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

2061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a33b354bea681b74be49f37bbe9f3c4f145dbefe0f2b5cbb705b0731bf13fd3?d=identicon)[codicastudio](/maintainers/codicastudio)

### Embed Badge

![Health badge](/badges/codicastudio-unlayer-editor/health.svg)

```
[![Health](https://phpackages.com/badges/codicastudio-unlayer-editor/health.svg)](https://phpackages.com/packages/codicastudio-unlayer-editor)
```

PHPackages © 2026

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