Set up modern PHP MVC project structure for GetYourBand platform
- Implemented clean MVC architecture with Router, Controller, and Model base classes - Created database migrations for users, bands, bookings, reviews, and availability - Set up Tailwind CSS with yellow color scheme and modern design - Added Alpine.js for reactive JavaScript components - Configured Vite for asset building and hot module replacement - Created authentication and role-based middleware - Implemented helper functions and configuration system - Added comprehensive README with setup instructions - Configured Apache with proper rewrite rules and security headers - Set up Composer and npm package management with modern dependencies
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'name' => env('APP_NAME', 'GetYourBand'),
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
'debug' => env('APP_DEBUG', false),
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
|
||||
'timezone' => 'Europe/Zurich',
|
||||
'locale' => 'de_CH',
|
||||
|
||||
'features' => [
|
||||
'email_verification' => env('REQUIRE_EMAIL_VERIFICATION', true),
|
||||
'band_approval' => env('REQUIRE_BAND_APPROVAL', true),
|
||||
'reviews' => env('ENABLE_REVIEWS', true),
|
||||
'payment' => env('PAYMENT_ENABLED', false),
|
||||
],
|
||||
|
||||
'upload' => [
|
||||
'max_size' => env('MAX_UPLOAD_SIZE', 5242880), // 5MB
|
||||
'allowed_images' => explode(',', env('ALLOWED_IMAGE_TYPES', 'jpg,jpeg,png,webp')),
|
||||
'allowed_videos' => explode(',', env('ALLOWED_VIDEO_TYPES', 'mp4,webm')),
|
||||
],
|
||||
|
||||
'pagination' => [
|
||||
'per_page' => 12,
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user