New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cirruslab/laravel-content-area

Adds an editable content area to Laravel.
19 1

Larablocks Analysis

cirruslab/laravel-content-area works with any PHP project: the latest release (1.0.0, Nov 15, 2016) doesn't depend on Laravel.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • No release in the last 12 months (last: Nov 15, 2016)
  • 0 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Nov 15, 2016.
  • No releases in the last 12 months.
  • First released: Nov 15, 2016.
  • 0 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require cirruslab/laravel-content-area
Latest Version:1.0.0
License:MIT
Last Updated:Nov 15, 2016
Links: GitHub  ·  Packagist
Maintainer: cirruslab

Editable Content Area for Laravel

Adds an editable content area directive to the Laravel Blade templating engine.

Installation

Require the package in your composer.json file

{
    "require": {
        "cirruslab/laravel-content-area": "dev-master"
    },
}

Then run composer update from your command line

Add the following to the list of service providers in app/config/app.php

Cirruslab\LaravelContentArea\ContentAreaServiceProvider::class

Run the publish command which will publish the config file and assets.

php artisan vendor:publish --tag=contentarea

And migrate the database.

php artisan migrate

Setup permissions for who has permissions to edit the content areas in app/config/contentarea.php and adding a list of email addresses to the $editors array. Alternatively you can modify the can_edit function to integrate with your existing user authorization system.

Usage

Include the CKEditor javascript file in the head of your application layout file.

    <script src="/js/ckeditor/ckeditor.js"></script>

Now you can simply use the @content_area('area_name') tag in your Blade template file. Note that the 'area_name' needs to be unique for each separate area, but you can add as many areas on a page as you want.

Note: If you change an area name, you will need to remove the cached Blade views in order for the changes to show up. You can do this by running the following command.

php artisan view:clear

Related Packages

philo/laravel-blade

Use the simple and yet powerful Laravel Blade templating engine as a standalone...

692,533 355
wapmorgan/morphos-blade

Adds @plural, @name, @numeral, @ordinal and @money tags to Blade for Russian plu...

91,988 33
alexdover/blade-set

A very simple blade extension which allows variables to be set.

58,034 23
railroad/bladesora

A blade template package for musora.

57,117 1
styde/blade-pagination

Laravel's pagination with Blade templating support

14,783 70

Version History

Version Released License
1.0.0 MIT