trafficops / tops-infra
Laravel integrations for Cloudflare accounts, DNS and Laravel Cloud domains.
Requires
- php: ^8.4
- ext-intl: *
- illuminate/cache: ^12.0
- illuminate/contracts: ^12.0
- illuminate/database: ^12.0
- illuminate/http: ^12.0
- illuminate/queue: ^12.0
- illuminate/support: ^12.0
- laravel/framework: ^12.0
Requires (Dev)
- laravel/pint: ^1.24
- orchestra/testbench: ^10.0
- phpunit/phpunit: ^11.5.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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.
- Publish this repository at trafficops-io/tops-infra.
- A maintainer must submit the repository to Packagist once and keep its GitHub auto-update integration enabled.
- Enable GitHub private vulnerability reporting in the repository settings.
- 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.