Version 4.0.0 – 25 July 2025
⚠ Breaking Changes
1. Upgraded to Laravel 12
Improved performance, security, and compatibility with modern PHP versions.
All custom packages and service providers must be reviewed for Laravel 12 compatibility.
2. New Folder Structure for Enhanced Shared Hosting Compatibility
Old Structure:
app/
modules/
public/
...
New Structure:
bc-cms/
public_html/
+ public_html/ maps directly to the public_html folder used by shared hosting providers.
+ bc-cms/ contains all backend and Laravel core files and must be placed outside public_html/.
This structure significantly enhances security by keeping sensitive Laravel files outside the public web root.
* Migration Guide (From Previous Version)
To migrate your existing BookingCore installation to the new structure:
1. Backup
Backup your current .env file.
Backup your public/uploads folder.
Backup your storage/installed file.
2. File Movement
Move .env file to: bc-cms/.env
Move public/uploads/ to: public_html/uploads/
Move storage/installed file to: bc-cms/storage/installed
Make sure bc-cms/storage and its subdirectories are writable (chmod -R 775 storage).
3. Update NGINX Configuration
Ensure your NGINX root points to the new public_html directory:
server {
root /path/to/public_html;
index index.php index.html;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/run/php/php8.2-fpm.sock; # Adjust based on your PHP version
fastcgi_param SCRIPT_FILENAME /path/to/public_html$fastcgi_script_name;
}
}
Update index.php in public_html to reference Laravel paths correctly:
require __DIR__.'/../bc-cms/vendor/autoload.php';
$app = require_once __DIR__.'/../bc-cms/bootstrap/app.php';
Additional Notes
Double-check for any hardcoded paths in custom code referring to app/, public/, or modules/.
Ensure public_html has the correct permissions to serve uploads, assets, etc.
4. New Features
- Added Visa Module
A new module to manage visa-related booking and content.
- Frontend Now Powered by Livewire
Livewire integration improves dynamic UI rendering and performance.
- Some frontend components may need adjustment if overridden.
- Template Builder Enhancements
Added Section and Column components.
- More flexible layout and content customization for landing pages and templates.