# tibounise/freemobilenotificationsender architecture

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

- Interactive diagram: https://gitdiagram.com/tibounise/freemobilenotificationsender
- Repository: https://github.com/tibounise/freemobilenotificationsender

## Overview

FNS is a small PHP library for sending SMS through Free Mobile’s API. An integrating application supplies its account credentials and message to the sender; the sender normalizes line breaks, makes an HTTPS request, and interprets the response. The source also configures a bundled CA certificate for TLS verification. The README documents account setup and API testing; the graph focuses on runtime behavior rather than the demo script.

Main entry points: [`FreemobileNotificationSender.php`](https://github.com/tibounise/freemobilenotificationsender/blob/master/FreemobileNotificationSender.php) (SMS sender), [`freemobile.crt`](https://github.com/tibounise/freemobilenotificationsender/blob/master/freemobile.crt) (CA certificate)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_application(("Integrating application"))
node_sender["SMS sender"]
node_free_api["Free Mobile API"]
node_ca_certificate["CA certificate<br/>[freemobile.crt]"]

node_application -->|"sends messages"| node_sender
node_sender -->|"sends HTTPS request"| node_free_api
node_sender -->|"configures TLS"| node_ca_certificate

click node_sender "https://github.com/tibounise/freemobilenotificationsender/blob/master/FreemobileNotificationSender.php"
click node_ca_certificate "https://github.com/tibounise/freemobilenotificationsender/blob/master/freemobile.crt"

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_application toneIndigo
class node_sender,node_ca_certificate toneTeal
class node_free_api toneMint
```

## Components

### Other components

- **Integrating application**
- [SMS sender](https://github.com/tibounise/freemobilenotificationsender/blob/master/FreemobileNotificationSender.php): `FreemobileNotificationSender.php`
- **Free Mobile API**
- [CA certificate](https://github.com/tibounise/freemobilenotificationsender/blob/master/freemobile.crt): `freemobile.crt`

## Connections

- Integrating application → SMS sender: sends messages (evidence: `README.md`)
- SMS sender → Free Mobile API: sends HTTPS request (evidence: `FreemobileNotificationSender.php`)
- SMS sender → CA certificate: configures TLS (evidence: `FreemobileNotificationSender.php`)
