Site CMS extension for Ave Admin Panel
This package is designed to work with Ave Admin Panel as a separate extension.
- PHP 8.2+
- Laravel 11.0 or 12.0+
- Ave Admin Panel 2.0+ (required dependency)
The easiest way to install Ave Site CMS is using the installation command:
# 1. Install Ave Admin Panel first (if not installed)
composer require monstrex/ave
# 2. Install Ave Site CMS
composer require monstrex/ave-site
# 3. Run the installation command
php artisan ave-site:installThe installation command will:
- Check if Ave Admin Panel is installed
- Run database migrations
- Publish configuration file
- Create admin menu items
- Seed default pages (
Home,Error 404) - Optionally publish views
If you prefer manual installation:
# 1. Install the package
composer require monstrex/ave-site
# 2. Run migrations
php artisan migrate
# 3. Publish configuration
php artisan vendor:publish --tag=ave-site-config
# 4. (Optional) Publish views
php artisan vendor:publish --tag=ave-site-viewsFor local development with path repository:
"repositories": [
{
"type": "path",
"url": "../ave-site.package",
"options": {
"symlink": false
}
}
]Then run: composer require monstrex/ave-site:@dev
- Pages: Hierarchical page management with SEO
- Blocks: Content blocks with Liquid templates
- Forms: Form handling with email notifications and reCAPTCHA
- Settings: JSON-schema based settings management
- Localizations: Database-driven translations with caching
- Redirects: URL redirect management (301, 302, 307, 308) with hit tracking
- Scripts: JavaScript/CSS injection management (head, body_start, body_end)
- DataSources: Dynamic data loading from models
- Liquid Engine: Template engine with custom filters and shortcodes
- Image Processing: On-the-fly image manipulation, WebP conversion
- Sitemap: Automatic sitemap.xml generation
The package creates the following tables:
ave_site_pages- Hierarchical pages with SEOave_site_blocks- Content blocks with Liquid templatesave_site_block_regions- Block groups/positionsave_site_forms- Form definitions with validationave_site_settings- JSON-schema based site settingsave_site_localizations- Database translationsave_site_redirects- URL redirects with hit trackingave_site_scripts- JavaScript/CSS code snippets
See SITE-CMS-ARCHITECTURE.md for detailed architecture documentation.
MIT