En vous promenant sur Beamreactor, nous stockons votre IP 48h pour des raisons de sécurité.

Lecteur Markdown

versions Documentation › VERSIONS_DOCUMENTATION_EN

VERSIONS_DOCUMENTATION_EN

Feature: Versions #

Scans PHP project files and displays their version metadata (`@version`, `@date`, `@author`). Allows checking version consistency across the entire installation.

---

Installation and Configuration #

Via FTP: Upload the `versions/` directory into `/plugins/`.

Via package manager: Select `versions` from the available plugins list.

Paths:

  • Main plugin: `/plugins/versions/versions.php`
  • Configuration: `/plugins/versions/conf/versions.conf.inc.php`

Configuration parameters (`versions.conf.inc.php`):

| Variable | Default | Description |

|---|---|---|

| `$basedatadisplay` | `'yes'` | Display in management interface |

| `$basedisplevel` | `BASE_LEVEL_MODERATOR` | Minimum required level |

| `$ftype` | `3` | Plugin type (system) |

| `filetypes` | `['php', 'inc', 'sdp']` | Scanned extensions |

| `items_per_page` | `50` | Pagination |

---

Usage #

The plugin recursively traverses the project tree and presents a paginated table with:

  • File path
  • Version (`@version`)
  • Date (`@date`)
  • File type (coloured badge)

Badge colour codes:

| Type | Colour |

|---|---|

| Plugin | Blue |

| Include | Purple |

| Module | Green |

| Library | Amber |

Status indicators:

  • Green: file with version set
  • Red: file without version
  • Orange: deprecated version format

---

Hooks and Entry Points #

?obj=versions.php           — Paginated view
?obj=versions.php&page=N    — Page N

---

Dependencies #

  • `Beamreactor\Sanitizer\Parser`
  • Read access to the entire project tree
de en fr