tareqcodex / lazy-cms-rebuild
A reusable WordPress-like admin dashboard package.
Package info
github.com/tareqcodex/lazy-cms-rebuild
Language:Blade
pkg:composer/tareqcodex/lazy-cms-rebuild
Requires
- php: ^8.1
- illuminate/support: ^10.0|^11.0|^12.0|^13.0
- dev-main
- v3.9.0
- v3.8.3
- v3.8.2
- v3.8.1
- v3.8.0
- v3.7.0
- v3.6.2
- v3.6.1
- v3.6.0
- v3.5.1
- v3.5.0
- v3.4.0
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.8
- v3.2.7
- v3.2.6
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.9
- v3.1.8
- v3.1.7
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.0
- v3.0.5
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.0.2
- v2.0.1
- v2.0.0
- v1.5.1
- v1.5.0
- v1.4.9
- v1.4.8
- v1.4.7
- v1.4.6
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- 1.1.1
- 1.1.0
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- dev-master
This package is auto-updated.
Last update: 2026-05-06 09:02:17 UTC
README
A powerful, modular, and easy-to-use CMS package for Laravel applications with built-in multi-language support and a WordPress-like hook system.
🚀 Installation
To install the package in a fresh Laravel project, follow these steps:
-
Require the package via Composer:
composer require tareqcodex/lazy-cms-rebuild
-
Run the installation command:
php artisan lazy-cms:install
This command handles migrations, asset publishing, storage linking, and default user creation.
🔄 Updating
When you update the package via composer, run the following command to sync migrations and refresh assets:
php artisan lazy-cms:update
This command automates: migrate, vendor:publish (force), and optimize:clear.
🌐 Multi-Language Support
Lazy CMS supports dynamic localization. You can enable or disable multi-language support from the Admin Settings.
- Clean URLs: When multi-language is disabled, URLs are clean (e.g.,
/my-post). - ISO Prefixes: When enabled, URLs include the language code (e.g.,
/en/my-post,/bn/আমার-পোস্ট). - Dynamic Admin UI: The language selection metabox automatically hides when multi-language is disabled to keep the UI clean.
🛠 Features
- Consolidated Migrations: Clean and optimized database structure.
- Dynamic Post Types (CPT): Create custom post types from the dashboard.
- Advanced Hook System: WordPress-like Action and Filter hooks.
- Headless Mode: Full REST API support for React, Vue, and Mobile apps.
- Theme Overrides: High priority for local
resources/views/themesfiles. - Role-Based Access Control: Manage user permissions effortlessly.
⚓ Hook System
Actions & Filters
Standard usage for modifying core logic or injecting content.
Removing Hooks
remove_lazy_action('tag_name', 'callback', $priority); remove_lazy_filter('tag_name', 'callback', $priority);
🎨 Theme Development
📂 Theme Structure
Your themes should be located in resources/views/themes/{theme-name}/.
index.blade.php: Primary template.functions.php: Theme-specific hooks.
🪄 Dynamic Admin Fields
Inject fields into settings pages:
add_lazy_filter('lazy_general_settings_fields', function($fields) { $fields['my_field'] = ['type' => 'text', 'label' => 'My Label']; return $fields; });
📜 Commands Summary
| Command | Description |
|---|---|
php artisan lazy-cms:install |
Full installation (Migrations, Assets, User). |
php artisan lazy-cms:update |
Post-update sync (Migrations, Assets, Cache). |
php artisan lazy-cms:seed |
Seeds default demo data. |
php artisan make:lazy-page |
Scaffolds a new dashboard page. |
Developed by Tareq Codex