marshmallow / pages
Deze package geeft de mogelijkheid om gemakkelijk pagina's te beheren in Laravel. Dit is eigelijk een verzameling van handinge composer packages van derde en samengevoegd om snel te kunnen hergebruiken.
Installs: 10 357
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 0
Open Issues: 2
Requires
- php: ^8.0
- laravel/helpers: ^1.2
- laravel/nova: ^4.0
- marshmallow/commands: ^1.0
- marshmallow/helpers: ^2.0
- marshmallow/nova-flexible: ^2.0
- marshmallow/nova-fontawesome: ^2.0
- marshmallow/nova-multiselect-field: ^5.0
- marshmallow/nova-tabs: ^2.0
- marshmallow/nova-tinymce: ^2.1
- marshmallow/redirectable: ^2.0
- marshmallow/seoable: ^3.0
- marshmallow/sluggable: ^1.0
- marshmallow/translatable: ^2.0
- dev-master
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.1.0
- v3.0.1
- v3.0.0
- v2.8.1
- v2.8.0
- v2.7.1
- v2.7.0
- v2.6.0
- v2.5.0
- v2.4.1
- v2.4.0
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.8
- v1.1.7
- v1.1.6
- v1.1.5
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-dependabot/github_actions/overtrue/phplint-9.4
- dev-fixes
- dev-nova4
- dev-dependabot/composer/marshmallow/nova-tabs-tw-2.0or-tw-9999999.0
- dev-development
- dev-stefvanesch-patch-1
This package is auto-updated.
Last update: 2024-12-05 09:24:26 UTC
README
Laravel Nova Pages
This page provides you with the ability to easily create and manage pages and its content in Laraval Nova.
Installation
Composer
You can install the package via composer:
composer require marshmallow/pages
Run the artisan commands
Publish the configs from the flexible package, migrate to create the pages table and create your Laravel Nova resource to manage your pages.
php artisan pages:install
Usage
You can add {!! Page::render($page) !!}
to your blade file to render the layouts that are connected to the page.
You can also loop through them yourself if that is helpfull like;
@foreach ($layouts as $layout) {{ $layout->render() }} @endforeach
Add a new layout
You can generate new layouts via the command provided by the marshmallow/flexible
package that is included in this package. Run the command below to generate a new layout.
php artisan marshmallow:layout
Next you will need to add the newly generated layout to your flexible
config.
/** * config/flexible.php */ return [ /** * Your custom layouts. Please check the readme.md file for more * information about these custom layouts. */ 'layouts' => [ 'sluggable-name-of-your-layout' => \App\Flexible\Layouts\LayoutClassName::class ], ];
Changelog
Please see CHANGELOG for more information what has changed recently.
Security
If you discover any security related issues, please email stef@marshmallow.dev instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.