Content manager by pages for Laravel 5.6

1.2.12 2021-03-04 19:40 UTC

This package is auto-updated.

Last update: 2024-05-05 02:21:56 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install

Via Composer

$ composer require sirgrimorum/pages

This package requires:

  • sirgrimorum/transarticles link-transarticles: For the localization of the pages, wich also requires orangehill/iseed link-iseed for seeding the pages when replicating the site.
  • sirgrimorum/crudgenerator link-crudgenerator: For managing the pages in an autogenerated CRUD platform (Please follow the install instruction in the repository for the crudgenerator to work)

Then publish de configuration files for:

  • Pages dinamics: app/config/sirgrimorum/pages.php
  • The configuration file for the crud of pages and sections in crudgenerator: app/config/sirgrimorum/models/pagina.php and section.php
$ php artisan vendor:publish --tag=config

Then the lang file for specifiing the localized route group (resources/lang/vendor/pages/en/pages.php) and the localized labels in the crud (resources/lang/vendor/crudgenerator/en/pagina.php and section.php)

$ php artisan vendor:publish --tag=lang

And registerin the crud configuration files in sirgrimorum/crudgenerator

$ php artisan pages:registercrud

Optionally, you can publish the blade views for the not found page error (resources/views/vendor/sirgrimorum/pages/error.blade.php) and the page basic template (resources/views/vendor/sirgrimorum/pages/show.blade.php)

$ php artisan vendor:publish --tag=views

Usage

$skeleton = new League\Skeleton();
echo $skeleton->echoPhrase('Hello, League!');

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email andres.espinosa@grimorum.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.