A Laravel package for GrapesJS + Filament block builder integration.
streats22/laragrape is a Laravel package for a laravel package for grapesjs + filament block builder integration..
It currently has 4 GitHub stars and 145 downloads on Packagist (latest version 1.5.0).
Install it with composer require streats22/laragrape.
Discover more Laravel packages by streats22
or browse all Laravel packages to compare alternatives.
Last updated
LaraGrape combines the visual power of GrapesJS with the modern admin experience of Filament to deliver a seamless, developer-friendly CMS-like system for Laravel.
composer require streats22/laragrape
php artisan laragrape:setup --all
php artisan make:filament-user
npm install
npm run build
php artisan serve
/admin to access Filament/ to see your sitepages - Page content and metadatacustom_blocks - User-created blockssite_settings - Site configurationtailwind_configs - Theme configurationsThe laragrape:setup command provides comprehensive setup with error handling:
php artisan laragrape:setup [options]
| Option | Description |
|--------|-------------|
| --all | Complete setup (publish, migrate, seed) |
| --migrate | Run migrations after publishing |
| --seed | Run seeders after publishing |
| --force | Overwrite existing files |
# Complete setup
php artisan laragrape:setup --all
# Publish only
php artisan laragrape:setup
# Publish and migrate
php artisan laragrape:setup --migrate
The laragrape:update command allows you to selectively update LaraGrape components without doing a full installation:
php artisan laragrape:update [options]
| Option | Description |
|--------|-------------|
| --all | Update all components |
| --config | Update configuration files only |
| --views | Update view files only |
| --migrations | Update migration files only |
| --filament | Update Filament components only |
| --assets | Update frontend assets only |
| --controllers | Update controllers only |
| --services | Update services only |
| --routes | Update routes only |
| --models | Update models only |
| --seeders | Update seeders only |
| --console | Update console commands only |
| --run-migrate | Run migrations after updating |
| --run-seed | Run seeders after updating |
| --force | Overwrite existing files without asking |
# Interactive update (select components from menu)
php artisan laragrape:update
# Update all components
php artisan laragrape:update --all
# Update specific components
php artisan laragrape:update --filament --assets
# Update with database operations
php artisan laragrape:update --all --run-migrate
php artisan laragrape:update --all --run-seed
php artisan laragrape:update --all --run-migrate --run-seed
# Force update without confirmation
php artisan laragrape:update --all --force
Note: The update command doesn't install Filament (assumes it's already installed). Use the setup command for initial installation.
.blade.php files in resources/views/filament/blocks/resources/css/site.cssWe welcome contributions! Please see our Contributing Guide for details.
# Clone the repository
git clone https://github.com/your-org/laragrape.git
# Install dependencies
composer install
npm install
# Run tests
php artisan test
This package is open-sourced software licensed under the MIT license.
LaraGrape: The easiest way to add a modern, visual CMS to your Laravel projectβwithout sacrificing developer control. π