16235369cb
Highlights include configurable menus, specials, cart/checkout, taxes, customer accounts with email 2FA, newsletters, analytics, refunds, PDF/CSV exports, Square/Mailgun adapters, and optional MySQL migration. See README.md for setup and production configuration. Verified PHP/JavaScript syntax, responsive layouts, registration, 2FA, checkout, dashboard workflows, settings persistence, and PDF generation. Real Square, Mailgun, and MySQL connections require credentials/server access. Square implementation follows the official Payments API and Refunds API.
50 lines
1.3 KiB
PHP
50 lines
1.3 KiB
PHP
<?php
|
|
|
|
return [
|
|
'app' => [
|
|
'name' => 'Fat Bottom Grille',
|
|
'url' => 'http://localhost:8080',
|
|
'key' => '',
|
|
'timezone' => 'America/New_York',
|
|
'environment' => 'development',
|
|
],
|
|
'business' => [
|
|
'name' => 'Fat Bottom Grille',
|
|
'phone' => '',
|
|
'email' => '',
|
|
'street' => '410 W Piedmont St',
|
|
'city' => 'Keyser',
|
|
'state' => 'WV',
|
|
'postal_code' => '26726',
|
|
'hours' => 'Hours coming soon',
|
|
'announcement' => 'Big flavor, made right here in Keyser.',
|
|
],
|
|
'ordering' => [
|
|
'accepting_orders' => true,
|
|
'pickup_eta_minutes' => 25,
|
|
'minimum_order_cents' => 0,
|
|
],
|
|
'square' => [
|
|
'enabled' => false,
|
|
'environment' => 'sandbox',
|
|
'application_id' => '',
|
|
'location_id' => '',
|
|
'access_token' => '',
|
|
],
|
|
'mailgun' => [
|
|
'enabled' => false,
|
|
'domain' => '',
|
|
'api_key' => '',
|
|
'from_name' => 'Fat Bottom Grille',
|
|
'from_email' => 'orders@fatbottomgrille.com',
|
|
],
|
|
'database' => [
|
|
'driver' => 'sqlite',
|
|
'mysql_host' => '127.0.0.1',
|
|
'mysql_port' => 3306,
|
|
'mysql_database' => 'fatbottomgrille',
|
|
'mysql_username' => '',
|
|
'mysql_password' => '',
|
|
],
|
|
];
|