PHPackages                             netflex/newsletter-foundation - 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. [Templating &amp; Views](/categories/templating)
4. /
5. netflex/newsletter-foundation

ActiveLibrary[Templating &amp; Views](/categories/templating)

netflex/newsletter-foundation
=============================

Templates and components for Netflex Newsletters

v1.1.0(10mo ago)0399MITBladePHP ^7.4||^8.0

Since Jan 3Pushed 10mo agoCompare

[ Source](https://github.com/apility/netflex-newsletter-foundation)[ Packagist](https://packagist.org/packages/netflex/newsletter-foundation)[ RSS](/packages/netflex-newsletter-foundation/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (4)Versions (17)Used By (0)

Netflex Newsletter Foundation
=============================

[](#netflex-newsletter-foundation)

**The documentation and features are a work in progress!**

Boilerplate with tested markup for newsletters and components for easy integration with Netflex marketing.

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

[](#installation)

Install with composer, using `composer require netflex/newsletter-foundation`Package will be installed with standard components, and without header and footer.

Edit config
-----------

[](#edit-config)

To edit config, first copy the config file to your project using `php artisan vendor:publish --tag=config`The config can then be found in `config/newsletter-foundation.php`The config is documented with context for the different settings.

Setting up templates and components in Netflex
----------------------------------------------

[](#setting-up-templates-and-components-in-netflex)

To register the default template in Netflex, use the artisan command `php artisan nnf:register:template` *(not implemented yet)*This will create a view in resources/views/newsletters and register it in Netflex as the default newsletter template.

To register all components in the package in Netflex, use the command `php artisan nnf:register:components` *(not implemented yet)*Please note that component images must be added manually in netflex, as adding this via API is not supported.

To register a template manually that uses the foundation template, add a view in your `resources/views/newsletters` folder with the following content:

```
@include('netflex-newsletter-foundation::templates.foundation')

```

This includes the foundation template from the package. You can then register the template as normal in Netflex.

You may also extend the foundation layout using

```
@extends('netflex-newsletter-foundation::layouts.foundation')

```

If you want to register one of the package components inside netflex, you should use the prefix `netflex-newsletter-foundation::` as a part of the path, in example `netflex-newsletter-foundation::one-column`

**Remember to fill the code-field with "newsletter\_component" on all components registered in netflex, and on all block builder areas added to a newsletter template to filter out these components from page builder templates.**

Base components
---------------

[](#base-components)

The base components are foundation blocks that are used as building blocks inside components. These can not be added directly as an editable component.

ComponentFilename/classDescriptionImageNetflex\\NewsletterFoundation\\ View\\Components\\ImageBase image component for newsletter. Implements responsivity, image formats and links.Buttonbutton.blade.phpBase button component. Implements button element that will work in most e-mail clients. Must be used via other component, not inline configurable.Content rowcontent-row.blade.phpWraps content in blockContent blockcontent-block.blade.phpWraps content rows as a block inside a grid or tableDefault contentdefault-content.blade.phpDefault setup for grid, includes editable image, inline editable title and content.Entry contentNetflex\\NewsletterFoundation\\ View\\Components\\EntryContentHandles content from entries to entry-list and main-entry components. Implements variables that depends on NewsletterEntryListContract.Default components
------------------

[](#default-components)

The following components are included as default:

ComponentFilename/classDescriptionOne columnone-columns.blade.phpOne wide column, configurable with or without image, text and titleTwo columnstwo-columns.blade.phpTwo columns, highly configurable by width on columns and setup for content and image in different columns. Possible to turn responsivity (collapsible columns) on/off in config.Three columnsthree-columns.blade.phpThree column component with image and content. Configurable for image/content on/off.Four columnsfour-columns.blade.phpFour column component. Same as three column componentFive columnsfive-columns.blade.phpFive column component. Same as three and four column component. Should only be used for small texts and icons, as columns are very narrow on desktopOne imageone-image.blade.phpSingle full width image implemeting base button module. Used for header images/bannersButton Rowbutton-row.blade.phpButton row component, that enables creation of multiple configurable buttons in a row.Customizing default components
------------------------------

[](#customizing-default-components)

You may publish the assets to your project using the command `php artisan vendor:publish --tag=views`This will copy templates, layouts and components to `resources/views/vendor/netflex-newsletter-foundation`

Extending
---------

[](#extending)

To implement your own components, you may reuse the existing anonymous base components with the `netflex-newsletter-foundation::` prefix when using a component from your project, in example ``For using class components, use `x-netflex-newsletter-foundation-` , in example ``

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance54

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73% 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 ~49 days

Recently: every ~134 days

Total

13

Last Release

309d ago

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v1.0.1PHP ^7.4||^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/302a7896c289b5381b87e0777b9eb3b1f475ee8333f471b0e65e9b1202fc6159?d=identicon)[olavoyen](/maintainers/olavoyen)

---

Top Contributors

[![erikdju](https://avatars.githubusercontent.com/u/1689799?v=4)](https://github.com/erikdju "erikdju (27 commits)")[![cathrinevaage](https://avatars.githubusercontent.com/u/8112742?v=4)](https://github.com/cathrinevaage "cathrinevaage (6 commits)")[![codekriss](https://avatars.githubusercontent.com/u/70336161?v=4)](https://github.com/codekriss "codekriss (2 commits)")[![olavoyen](https://avatars.githubusercontent.com/u/3416810?v=4)](https://github.com/olavoyen "olavoyen (2 commits)")

### Embed Badge

![Health badge](/badges/netflex-newsletter-foundation/health.svg)

```
[![Health](https://phpackages.com/badges/netflex-newsletter-foundation/health.svg)](https://phpackages.com/packages/netflex-newsletter-foundation)
```

###  Alternatives

[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[moonshine/moonshine

Laravel administration panel

1.3k239.9k75](/packages/moonshine-moonshine)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k449.3k30](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

9782.1M161](/packages/laravel-ai)

PHPackages © 2026

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