Agency Framework Model
This framework concept allows multiple agency websites to share one common PHP MVC foundation, while each agency keeps its own branding, content, documents, theme settings, and feature options.
Purpose of the Agency Configuration File
Each agency can have a small configuration file that defines the agency name, tagline, domain, theme colors, navigation links, and enabled features. This allows the same framework to support different websites without duplicating the entire application for every agency.
In this model, the shared framework handles routing, controllers, views, security, authentication, and reusable services. The agency configuration file controls how each individual site looks and behaves.
Example Agency Configuration
<?php
return [
'agency_name' => 'Bellamies FSD Services LLC',
'tagline' => 'Data Driven By Design',
'domain' => 'www.dbellamiesfsdservices.com',
'theme' => [
'primary_color' => '#2c3e50',
'accent_color' => '#00ffff',
'font_heading' => 'Playfair Display',
'font_body' => 'Merriweather',
],
'navigation' => [
'/' => 'Home',
'/about' => 'About',
'/services' => 'Services',
'/documents' => 'Documents',
'/contact' => 'Contact',
],
'features' => [
'contact_form' => true,
'account_requests' => false,
'blog' => false,
'admin_login' => true,
],
];
How This Would Work
Agency Identity
The agency name, tagline, and domain are stored in one place and can be reused across the header, footer, page titles, and metadata.
Theme Settings
Each agency can define its own primary color, accent color, and preferred fonts without changing the shared layout files.
Navigation
Menu links can be generated from the configuration file, allowing each agency to have a different set of pages.
Feature Flags
Features such as contact forms, account requests, blogs, and admin login can be turned on or off depending on what each agency needs.
Example Folder Structure
C:\Sites
│
├── _framework
│ ├── app
│ ├── core
│ ├── vendor
│ ├── routes
│ └── shared-views
│
├── agencies
│ │
│ ├── agency-one
│ │ ├── public
│ │ │ ├── index.php
│ │ │ ├── assets
│ │ │ │ ├── css
│ │ │ │ ├── img
│ │ │ │ └── js
│ │ │ └── docs
│ │ ├── content
│ │ │ ├── home.php
│ │ │ ├── about.php
│ │ │ ├── services.php
│ │ │ └── contact.php
│ │ ├── config
│ │ │ └── site.php
│ │ └── storage
│ │
│ ├── agency-two
│ │ ├── public
│ │ ├── content
│ │ ├── config
│ │ └── storage
│ │
│ └── agency-three
│ ├── public
│ ├── content
│ ├── config
│ └── storage
Interested in an Agency-Style Website?
Bellamies FSD Services LLC can help create a custom PHP MVC website structure for agencies, small organizations, service providers, and document-based websites.
This model is designed for sites that need clean navigation, branded pages, secure administration, organized documents, and room to grow over time.
Contact Bellamies FSD Services LLC