Search by

trafficops / tops-infra

igor.olshevsky

Laravel integrations for Cloudflare accounts, DNS and Laravel Cloud domains.

v0.1.0 2026-09-17 11:51 UTC

This package is auto-updated.

Last update: 2026-09-17 11:57:41 UTC


README

CI Release Packagist

Laravel integrations for Cloudflare accounts, DNS and Laravel Cloud domains.

One Composer package, trafficops/tops-infra, with focused modules in packages/. The modules share releases and dependency resolution; no repository splitting or sibling path repositories are needed.

Module Documentation
cloudflare Usage and API
laravel-cloud Usage and API

Install

Requires PHP 8.4 or later and Laravel 12.

composer require trafficops/tops-infra

Laravel discovers the included service providers automatically. Read each module’s configuration and migration instructions before using it in an application.

Development

Run commands from the repository root:

composer install
composer check
composer build

composer check validates the manifest, checks PHP formatting and runs every module’s PHPUnit suite. composer format applies the formatting rules. composer build writes the distributable ZIP to dist/. The committed lock file makes contributor and CI installs reproducible; consumers resolve their own dependency set.

Releases and Packagist

The initial release line is v0.1.0; versions come from Git tags, not a hard-coded Composer version.

  1. Publish this repository at trafficops-io/tops-infra.
  2. A maintainer must submit the repository to Packagist once and keep its GitHub auto-update integration enabled.
  3. Enable GitHub private vulnerability reporting in the repository settings.
  4. Push a semantic version tag, for example v0.1.0. The release workflow reruns CI on that exact tag for PHP 8.4 and 8.5, builds the archive, and publishes a GitHub release with the ZIP attached. Packagist indexes the tag through its GitHub integration.

PHP packages are indexed from this repository by Packagist; there is no archive upload to Packagist.

Contributing and security

See CONTRIBUTING.md, SECURITY.md and the MIT license.