# boubacarnanky-pixel/portfolio_php architecture

> Architecture diagram of the GitHub repository boubacarnanky-pixel/portfolio_php, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/boubacarnanky-pixel/portfolio_php
- Repository: https://github.com/boubacarnanky-pixel/portfolio_php

## Overview

Portfolio_php is a French-language personal portfolio site implemented as PHP-rendered pages. Visitors can browse the profile, services, projects, skills and experience, then use either of two contact forms; the contact page validates submissions and renders errors or a success summary. Shared navigation and footer are included by the main pages. The project collection is represented by linked HTML examples. The README and sampled code show no database writes, message delivery or other external processing; several page relationships are evidenced by the SOURCE INDEX rather than inspected excerpts.

Main entry points: [`composants/navigation.php`](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/composants/navigation.php) (Site navigation), [`composants/footer.php`](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/composants/footer.php) (Site footer), [`index.php`](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/index.php) (Profile home), [`contact.php`](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/contact.php) (Contact forms)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Portfolio pages"]
  node_home["Profile home<br/>[index.php]"]
  node_services["Services<br/>[services.php]"]
  node_portfolio["Project catalog<br/>[portfolio.php]"]
  node_skills["Skills<br/>[competences.php]"]
  node_experience["Experience<br/>[experience.php]"]
end

subgraph group_shared["Shared presentation"]
  node_navigation["Site navigation<br/>[navigation.php]"]
  node_footer["Site footer<br/>[footer.php]"]
end

subgraph group_contact["Contact handling"]
  node_contact_page["Contact forms<br/>[contact.php]"]
  node_validation["Form validation<br/>[fonctions.php]"]
end

subgraph group_work["Project examples"]
  node_projects["Linked project pages"]
  node_cv["Downloadable CV<br/>[CV.pdf]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"submits forms"| node_contact_page
node_home -->|"includes"| node_navigation
node_home -->|"includes"| node_footer
node_services -->|"includes"| node_navigation
node_services -->|"includes"| node_footer
node_portfolio -->|"includes"| node_navigation
node_portfolio -->|"includes"| node_footer
node_skills -->|"includes"| node_navigation
node_skills -->|"includes"| node_footer
node_experience -->|"includes"| node_navigation
node_experience -->|"includes"| node_footer
node_contact_page -->|"includes"| node_navigation
node_contact_page -->|"includes"| node_footer
node_contact_page -->|"validates with"| node_validation
node_portfolio -->|"links to"| node_projects
node_footer -->|"links to"| node_projects
node_home -->|"offers download"| node_cv
node_footer -->|"offers download"| node_cv
node_services -->|"links to"| node_portfolio
node_navigation -->|"links to"| node_home
node_navigation -->|"links to"| node_services
node_navigation -->|"links to"| node_portfolio
node_navigation -->|"links to"| node_skills
node_navigation -->|"links to"| node_experience
node_navigation -->|"links to"| node_contact_page

click node_home "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/index.php"
click node_services "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/services.php"
click node_portfolio "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/portfolio.php"
click node_skills "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/competences.php"
click node_experience "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/experience.php"
click node_contact_page "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/contact.php"
click node_navigation "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/composants/navigation.php"
click node_footer "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/composants/footer.php"
click node_validation "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/fonctions.php"
click node_projects "https://github.com/boubacarnanky-pixel/portfolio_php/tree/main/Projets"
click node_cv "https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/images/CV.pdf"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_home,node_services,node_portfolio,node_skills,node_experience toneBlue
class node_navigation,node_footer toneAmber
class node_contact_page,node_validation toneMint
class node_projects,node_cv toneRose
class node_visitor toneIndigo
```

## Components

### Portfolio pages

- [Profile home](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/index.php): `index.php`
- [Services](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/services.php): `services.php`
- [Project catalog](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/portfolio.php): `portfolio.php`
- [Skills](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/competences.php): `competences.php`
- [Experience](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/experience.php): `experience.php`

### Shared presentation

- [Site navigation](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/composants/navigation.php): `composants/navigation.php`
- [Site footer](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/composants/footer.php): `composants/footer.php`

### Contact handling

- [Contact forms](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/contact.php): `contact.php`
- [Form validation](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/fonctions.php): `fonctions.php`

### Project examples

- [Linked project pages](https://github.com/boubacarnanky-pixel/portfolio_php/tree/main/Projets): `Projets`
- [Downloadable CV](https://github.com/boubacarnanky-pixel/portfolio_php/blob/main/images/CV.pdf): `images/CV.pdf`

### Other components

- **Visitor**

## Connections

- Visitor → Profile home: opens (evidence: `index.php`)
- Visitor → Contact forms: submits forms (evidence: `contact.php`)
- Profile home → Site navigation: includes (evidence: `index.php`)
- Profile home → Site footer: includes (evidence: `index.php`)
- Services → Site navigation: includes (evidence: `services.php`)
- Services → Site footer: includes (evidence: `services.php`)
- Project catalog → Site navigation: includes (evidence: `portfolio.php`)
- Project catalog → Site footer: includes (evidence: `portfolio.php`)
- Skills → Site navigation: includes (evidence: `competences.php`)
- Skills → Site footer: includes (evidence: `competences.php`)
- Experience → Site navigation: includes (evidence: `experience.php`)
- Experience → Site footer: includes (evidence: `experience.php`)
- Contact forms → Site navigation: includes (evidence: `contact.php`)
- Contact forms → Site footer: includes (evidence: `contact.php`)
- Contact forms → Form validation: validates with (evidence: `contact.php`)
- Project catalog → Linked project pages: links to (evidence: `portfolio.php`)
- Site footer → Linked project pages: links to (evidence: `composants/footer.php`)
- Profile home → Downloadable CV: offers download (evidence: `index.php`)
- Site footer → Downloadable CV: offers download (evidence: `composants/footer.php`)
- Services → Project catalog: links to (evidence: `services.php`)
- Site navigation → Profile home: links to (evidence: `composants/navigation.php`)
- Site navigation → Services: links to (evidence: `composants/navigation.php`)
- Site navigation → Project catalog: links to (evidence: `composants/navigation.php`)
- Site navigation → Skills: links to (evidence: `composants/navigation.php`)
- Site navigation → Experience: links to (evidence: `composants/navigation.php`)
- Site navigation → Contact forms: links to (evidence: `composants/navigation.php`)
