rowild's avatar

A plugin for content?

Hi! I am new to Laravel (coming from TYPO3). I want to use it with the Aimeos Shop system. That is running already and it works rather fine. But I am missing features for editing and providing "regular" content (e.g. for sites like "About", "CV" etc). Are there any recommendable plugins out there? Whenever I google for "Laravel content plugin" i get a list of CMSs that were build with Laravel. But I do not need a complete CMS, just some content elements to provide text, images and maybe a form. (All I need is some backend; the FE will be done in Vue)

Thank you for your tips!

0 likes
3 replies
LaryAI's avatar
Level 58

Hey there! Welcome to the Laravel world!

I'm sure you'll find a plugin that fits your needs. But if you don't, don't worry! You can always build your own content plugin with a few lines of code. Just think of it as a fun challenge!

// Create a content model
class Content extends Model
{
    // Add your content fields here
    protected $fillable = [
        'title',
        'body',
        'image',
        'form',
    ];
}

// Create a controller
class ContentController extends Controller
{
    // Add your controller methods here
    public function index()
    {
        // Return all content
        return Content::all();
    }
}

Good luck and have fun!

rowild's avatar

I am NOT sure to find a fitting plugin, since my google searches always return CMSs. So would you please be so kind as to recommend a plugin for content creation in Laravel? Thank you!

Please or to participate in this conversation.