AGENCY WEBSITE & MANAGEMENT PLATFROM

Agency Website & Management Platfrom
ELMA Core combines a Laravel backend, Next.js website, dynamic CMS, lead management, and AI assistance in one multilingu
ELMA Core — Agency Website & Management Platform
ELMA Core is a self-developed full-stack platform that connects an agency’s public website with a centralized management backoffice. It brings content publishing, project enquiries, media management, and AI-assisted workflows into one application.
Project Overview
- Project type: Independent portfolio project
- My role: Full-stack developer
- Backend: Laravel 12 · PHP 8.3+
- Public frontend: Next.js 16 · React 19 · TypeScript
- Backoffice: Laravel Blade
- Languages: English, French, and Arabic, with RTL support
The Problem
An agency needs more than a public website. Its team also needs a practical way to update services, publish projects, manage enquiries, and maintain consistent content across multiple languages.
ELMA Core addresses these needs through a public-facing experience connected to a structured administrative system.
What I Built
Public Website
A responsive website presenting the agency’s services, projects, articles, and company information.
Key capabilities include:
- Service listings and individual service pages.
- Project portfolio with category filtering.
- Blog articles and moderated comments.
- General contact and project enquiry forms.
- Newsletter subscriptions.
- Dynamic SEO metadata and structured data.
- English, French, and Arabic interfaces.
- AI chat with streamed responses.
- Full-text and semantic search.
Dynamic Content Management
The backoffice allows administrators to manage website content through dedicated editors.
Capabilities include:
- Editing page sections, text, images, and translated content.
- Controlling section visibility and supported ordering.
- Managing homepage sliders, testimonials, and partner logos.
- Updating page headers and company information.
- Configuring branding, navigation, footer, and theme settings.
- Managing media assets and image alternative text.
Content is delivered to the public frontend through Laravel API endpoints, keeping presentation separate from content management.
Enquiry Management
Public forms connect directly to administrative workflows.
The platform supports:
- Contact submissions and read/unread tracking.
- Project requests with service, budget, timeline, and attachment information.
- Request status management and administrative replies.
- Export capabilities for supported records.
- Dashboard summaries and recent activity.
Administration
The management interface includes:
- Role-based access for administrators, editors, and users.
- Policy-based authorization.
- Two-factor authentication.
- Content CRUD and supported bulk actions.
- Activity logging.
- Notifications.
- Soft deletion and restoration.
- Dashboard overview and analytics views.
System Architecture
The platform uses a decoupled public frontend with a layered Laravel backend.
Public Application
Next.js uses the App Router and server-rendered pages to present content obtained from the Laravel REST API.
Administrative Application
The Blade backoffice runs within Laravel and uses the application’s business services to manage content and operational records.
Backend Layers
Responsibilities are organized across:
- Middleware and request validation.
- Controllers and API resources.
- Services, actions, and data transfer objects.
- Repositories and Eloquent models.
- Relational persistence and supporting infrastructure.
This structure separates HTTP handling, business logic, and data access.
AI Integration
An AI provider abstraction supports Google Gemini and OpenAI.
The subsystem includes:
- Runtime provider and model configuration.
- Reusable prompt management.
- Retrieval-augmented generation using website content.
- Streaming chatbot responses.
- Semantic search.
- Administrative content generation and SEO assistance.
Provider-specific integrations sit behind a shared interface, reducing coupling between application workflows and external AI services.
Data and Infrastructure
| Component | Purpose | |---|---| | PostgreSQL 15 | Development database | | MySQL 8 | Database in the production configuration | | Redis 7 | Caching, sessions, and queues | | Meilisearch | Full-text search through Laravel Scout | | Cloudinary | Media uploads and delivery | | Docker Compose | Containerized environment configuration | | Nginx and PHP-FPM | Laravel request serving | | Queue worker | Background processing | | Task scheduler | Scheduled application tasks |
The public Next.js application is a separate runtime. Its deployment must be configured alongside the Laravel environment.
Security Measures
Security controls described in the implementation include:
- Authentication through Laravel Fortify and Sanctum.
- Two-factor authentication.
- Role and policy-based authorization.
- CSRF protection for session-based forms.
- Form Request validation.
- API rate limiting.
- Server-side and client-side HTML sanitization.
- Security headers and CORS configuration.
- Validation of uploaded files.
These controls support the application’s security posture; they are not a substitute for an independent security audit.
Testing and Code Quality
The project includes feature and unit tests covering areas such as:
- API endpoints and administrative CRUD.
- Authentication and authorization.
- CMS behavior.
- File uploads.
- AI provider selection.
- Retrieval and chatbot streaming.
The development toolchain includes PHPUnit, Larastan, Laravel Pint, and ESLint.
Test results, coverage percentages, and performance measurements should be reported separately using outputs from a dated execution.
Key Engineering Decisions
Separate Public and Administrative Interfaces
Next.js handles the public experience while Blade supports the administrative workflows. Both connect to the same Laravel business domain.
Centralize Content Management
Website content is managed through structured records and editors, allowing routine updates without changing frontend source code.
Isolate Business Logic
Services and repositories organize application responsibilities and make important workflows easier to maintain and test.
Abstract AI Providers
A common provider interface allows AI integrations to evolve without rewriting each consuming feature.
Manage Cache Invalidation
Selective invalidation supports content freshness while retaining the benefits of cached responses.
Demonstration Workflows
Content Publishing
- Open a section in the CMS.
- Update its text, image, or translated content.
- Save the changes.
- Open the public page and verify the updated result.
Project Enquiry
- Submit a project request through the public website.
- Open the resulting request in the backoffice.
- Review its requirements and attachment.
- Manage its status and follow-up.
Website Organization
- Change a supported section’s visibility or order.
- Save the configuration.
- Verify the public page reflects the change.
Project Outcome
ELMA Core demonstrates my ability to build a connected full-stack application spanning public interfaces, backend APIs, administrative workflows, content management, and external integrations.
It is presented as an independent engineering project. Demo records and illustrative assets do not represent verified clients, commercial results, or production usage.