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

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

sairamc/laravel-spark-pages
===========================

Easy CMS-like page creation and editing for Laravel Spark

v0.6(9y ago)315PHP

Since Sep 16Pushed 9y ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (7)Used By (0)

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

[](#laravel-spark-pages)

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

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.

This package is compatible with both **Spark 1.x** and **Spark 2.x** versions.

[![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 kirschbaum/laravel-spark-pages

```

Add the following to the `providers` array in `config/app.php`:

```
Kirschbaum\LaravelSparkPages\PagesServiceProvider::class

```

Publish migrations:

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

```

Run migrations:

```
php artisan migrate

```

Publish assets:

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

```

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

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

```

Run gulp:

```
gulp

```

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 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.2% 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 ~27 days

Recently: every ~34 days

Total

6

Last Release

3389d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57f39642c6ee1e8ca36d9df4e153d57e55629c533ee6a4343e9f8c4e4ae77d34?d=identicon)[chilzap](/maintainers/chilzap)

---

Top Contributors

[![kirschbaum](https://avatars.githubusercontent.com/u/3734258?v=4)](https://github.com/kirschbaum "kirschbaum (32 commits)")[![bryanjamesmiller](https://avatars.githubusercontent.com/u/8781182?v=4)](https://github.com/bryanjamesmiller "bryanjamesmiller (21 commits)")[![sairamc](https://avatars.githubusercontent.com/u/230535?v=4)](https://github.com/sairamc "sairamc (5 commits)")

---

Tags

pagescontent managementlaravel spark

### Embed Badge

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

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

###  Alternatives

[professional-wiki/network

MediaWiki extension for adding interactive network visualizations to your wiki pages

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

Kirby Section to display recently modified content pages

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

Generate static html pages from your symfony application

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

Collection of useful and reusable SilverStripe Elemental stylings properties

1416.4k1](/packages/fractas-elemental-stylings)[2createstudio/carbon-pagination

A handy WordPress library for building all kinds of paginations.

152.4k](/packages/2createstudio-carbon-pagination)

PHPackages © 2026

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