Laraberg is a Laravel package by Maurice Wijnia that aims to provide an easy way to integrate the Gutenberg editor in Laravel projects.
Laraberg aims to provide an easy way to integrate the Gutenberg editor with your Laravel projects. It is built on top of the GutenbergJS project, implements all the necessary communication and adds an easy to use API.
Here’s the basic gist for how you render the editor: first we render/hide an input element:
<input id="[id_here]" type="textarea" name="[name_here]" hidden>
And then we initialize Gutenberg with a helper provided by this package referencing the
id attribute from our input:
Check out the full installation documentation from the readme for setup and usage instructions. This package simplifies using Gutenberg, but there are a few steps you need to understand to make it work with a Laravel application; for example, Gutenberg requires the following JS libraries: React, React DOM, Moment, and jQuery. You must also configure your models and understand how to get and render the content generated from Gutenberg.
You can learn more about this package and check out the source code on GitHub at VanOns/laraberg.
Filed in: News
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
- Senior PHP/Laravel Developer: Your Dream Work Environment
iPhone Photography School
- Senior Software Engineer
Remote or San Francisco
- Laravel Developer
Las Vegas, NV
- R&D Developer
- Full-Stack Developer
- Full Stack Developer
- Contract Senior Software Developer
Elevation Energy Group