PHPackages                             nateritter/laravel-spark-pages - 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. nateritter/laravel-spark-pages

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

nateritter/laravel-spark-pages
==============================

Easy CMS-like page creation and editing for Laravel Spark

v0.4(8y ago)0190PHP

Since Sep 16Pushed 8y agoCompare

[ Source](https://github.com/nateritter/laravel-spark-pages)[ Packagist](https://packagist.org/packages/nateritter/laravel-spark-pages)[ RSS](/packages/nateritter-laravel-spark-pages/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (5)Used By (0)

Laravel Spark Pages
===================

[](#laravel-spark-pages)

- [Compatibility](#compatibility)
- [Overview](#overview)
- [Features](#features)
- [Installation](#installing)
- [Adding an "Add Page" Dropdown Menu Link](#dropdown)
- [Editing the Sidebar](#sidebar)
- [Editing Pages](#editing)
- [Road Map](#roadmap)

Compatibility
-------------

[](#compatibility)

Laravel SparkLaravel Spark PagesLaravel0.5.x0.4.x5.5.\*0.4.x0.3.x5.4.\*0.3.x0.3.x5.4.\*0.2.x0.2.x5.3.\*0.1.x0.1.x5.2.\*

Overview
--------

[](#overview)

This package adds a simple CMS-like page system to [Laravel Spark](https://spark.laravel.com/ "Laravel Spark"). It allows developers and non-technical users to add and edit pages (articles, blog posts, FAQ's etc.) very quickly and without the need for a deployment.

[![Alt text](https://camo.githubusercontent.com/ad219f109546b3ffe807c2eb9d5316b84be0f4e86c7d96d7a95d39b446399c18/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f357a30787233686f746b64397874352f6c61726176656c2d737061726b2d70616765732e706e673f7261773d31)](https://camo.githubusercontent.com/ad219f109546b3ffe807c2eb9d5316b84be0f4e86c7d96d7a95d39b446399c18/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f357a30787233686f746b64397874352f6c61726176656c2d737061726b2d70616765732e706e673f7261773d31)

We have purposely chosen not to overcomplicate this add-on. If your product is successful and you end up needing more bells and whistles you may want to look into building your own solution. This is meant as a minimally viable solution that can be used until the product is worth investing more resources into.

**Note that this package is under active development.** Feel free to open an issue and/or submit a pull request if you see anything amiss.

Features
--------

[](#features)

- The ability to add/edit/delete pages is restricted to users with email addresses in the spark developers array.
- Provides simple [Summernote WYSIWYG editor](http://summernote.org/ "Summernote WYSIWYG editor").
- Provides a simple editable sidebar.
- A user with appropriate permissions will see a `create` button in the dropdown options list. If the user is on a page that can be edited, an `edit` link will be visible.
- Only pages that a marked `published` will be visible to non-developers.
- Ability to delete pages (note that this is a hard delete).
- All views can be customized by editing the view file found in `resources/views/vendor/laravel-spark-pages/`.
- Supports nested folder structure slugs (e.g. /blog/my-awesome-post)

Basic Installation
------------------

[](#basic-installation)

Add the package to your existing Spark installation:

```
composer require nateritter/laravel-spark-pages

```

Add the following to the `providers` array in `config/app.php`. This provider must be **registered as the last service provider** on the `providers` array:

```
NateRitter\LaravelSparkPages\PagesServiceProvider::class

```

Publish migrations:

```
php artisan vendor:publish --provider="NateRitter\LaravelSparkPages\PagesServiceProvider" --tag='migrations'

```

Run migrations:

```
php artisan migrate

```

Publish assets:

```
php artisan vendor:publish --provider="NateRitter\LaravelSparkPages\PagesServiceProvider" --tag='assets'

```

Add the following line to `resources/assets/js/app.js`:

```
require('./laravel-spark-pages-components/delete-button');

```

Compile your assets:

```
npm run dev

```

Adding an "Add Page" Dropdown Menu Link
---------------------------------------

[](#adding-an-add-page-dropdown-menu-link)

If you'd like to add a link in your developer's dropdown menu, you can do that by adding the below "Add Page" link to your `resources/views/vendor/spark/nav/developer.blade.php` file:

```

        Kiosk

        Add Page

```

[![Alt text](https://camo.githubusercontent.com/f9394931c310d20c992a58fbebde2ec5735121ea12f95aa0132cdc3198e492e5/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f68686c663862736e6c64317432786c2f53637265656e73686f74253230323031362d30392d313825323031332e30302e35392e706e673f7261773d31)](https://camo.githubusercontent.com/f9394931c310d20c992a58fbebde2ec5735121ea12f95aa0132cdc3198e492e5/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f68686c663862736e6c64317432786c2f53637265656e73686f74253230323031362d30392d313825323031332e30302e35392e706e673f7261773d31)

Editing the Sidebar
-------------------

[](#editing-the-sidebar)

The template for the sidebar is located at `resources/views/vendor/laravel-spark-pages/sidebar.blade.php`. Modify this file to your heart's content.

Editing Pages
-------------

[](#editing-pages)

Navigate to the page you want to edit. If the user you are logged in as has their email address in the Spark developers array then you will see an admin section in the sidebar with the link "Edit this page".

[![Alt text](https://camo.githubusercontent.com/9ccf9a012c5001debab9a47de29370910e58158e8abba904d4d4ae840593b986/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f673663676d766c357536756c786b772f53637265656e73686f74253230323031362d30392d313825323031332e30342e32372e706e673f7261773d31)](https://camo.githubusercontent.com/9ccf9a012c5001debab9a47de29370910e58158e8abba904d4d4ae840593b986/68747470733a2f2f7777772e64726f70626f782e636f6d2f732f673663676d766c357536756c786b772f53637265656e73686f74253230323031362d30392d313825323031332e30342e32372e706e673f7261773d31)

Roadmap
-------

[](#roadmap)

- Build in SEO tools.
- List view for pages.
- Ability to have multipe types of sidebars and select which to use on a page-by-page basis.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55% 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 ~171 days

Total

4

Last Release

3059d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/198798?v=4)[Nate Ritter](/maintainers/nateritter)[@nateritter](https://github.com/nateritter)

---

Top Contributors

[![kirschbaum](https://avatars.githubusercontent.com/u/3734258?v=4)](https://github.com/kirschbaum "kirschbaum (33 commits)")[![bryanjamesmiller](https://avatars.githubusercontent.com/u/8781182?v=4)](https://github.com/bryanjamesmiller "bryanjamesmiller (21 commits)")[![nateritter](https://avatars.githubusercontent.com/u/198798?v=4)](https://github.com/nateritter "nateritter (5 commits)")[![luisdalmolin](https://avatars.githubusercontent.com/u/403446?v=4)](https://github.com/luisdalmolin "luisdalmolin (1 commits)")

---

Tags

pagescontent managementlaravel spark

### Embed Badge

![Health badge](/badges/nateritter-laravel-spark-pages/health.svg)

```
[![Health](https://phpackages.com/badges/nateritter-laravel-spark-pages/health.svg)](https://phpackages.com/packages/nateritter-laravel-spark-pages)
```

###  Alternatives

[professional-wiki/network

MediaWiki extension for adding interactive network visualizations to your wiki pages

3213.0k](/packages/professional-wiki-network)[bnomei/kirby3-recently-modified

Kirby Section to display recently modified content pages

3210.2k](/packages/bnomei-kirby3-recently-modified)[norberttech/static-content-generator-bundle

Generate static html pages from your symfony application

374.1k](/packages/norberttech-static-content-generator-bundle)[fractas/elemental-stylings

Collection of useful and reusable SilverStripe Elemental stylings properties

1416.5k1](/packages/fractas-elemental-stylings)

PHPackages © 2026

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