🛠️ BookingCore version 4.0.0
2521 views
•
Updated 22 seconds ago
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 shared hosting's public\_html directory.bc-cms/contains Laravel core files and is placed outside public\_html.- This improves security by keeping sensitive files out of the web root.
🧭 Migration Guide (From Previous Version)
✅ 1. Backup
- Backup your current
.envfile. - Backup your
public/uploadsfolder. - Backup your
storage/installedfile.
📁 2. File Movement
- Move
.envtobc-cms/.env - Move
public/uploadstopublic_html/uploads - Move
storage/installedtobc-cms/storage/installed
Make sure bc-cms/storage and subdirectories are writable:
chmod -R 775 storage
🔧 3. Update NGINX Configuration
Ensure NGINX root points to public_html:
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;
fastcgi_param SCRIPT_FILENAME /path/to/public_html$fastcgi_script_name;
}
}
Update index.php in public_html:
require **DIR**.'/../bc-cms/vendor/autoload.php'; \$app = require\_once **DIR**.'/../bc-cms/bootstrap/app.php';
🔍 Additional Notes
- Review and update any hardcoded paths referring to
app/,public/, ormodules/. - Ensure
public_htmlhas the correct permissions for uploads and assets.
✨ New Features
3. ✈️ Visa Module
New module to manage visa-related booking and content.
4. ⚡ Livewire on Frontend Theme
BC Frontend theme now powered by Livewire for improved interactivity and performance.
5. 🧱 Template Builder Enhancements
- Added Section and Column components.
- Greater flexibility in customizing page layouts and landing pages.
Was this article helpful?