This package adds a simple CMS-like page system to 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.
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.
The ability to add/edit/delete pages is restricted to users with email addresses in the spark developers array.
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.
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".
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.