Skip to content

Commit f274b02

Browse files
Rebrand visible PHPeek strings to Cbox
Cosmetic but user-facing — these strings appear in: * /etc/nginx/conf.d/default.conf header (visible via `nginx -T` inside any pod that runs this base image) * ImageMagick policy file headers (php-base + php-fpm-nginx) * test verify-features.php section headings * test fixture artisan-stub comment * LICENSE copyright holder LICENSE bumped to 'Cbox 2024-2026' with an explicit fork-history note pointing back at gophpeek/phpeek-pm so the upstream MIT attribution is preserved correctly. NOT touched in this commit (deeper rebrand, separate effort): * go.mod module path 'github.com/gophpeek/phpeek-pm' — renaming requires updating every internal import and may break the release-tag download URLs the cbox-init binary fetches. * scripts/update-versions.sh fetches cbox-init releases from the upstream gophpeek/phpeek-pm repo. The cbox-init binary itself is upstream's; rebranding it requires forking + publishing a Cbox-owned binary, or accepting the upstream origin and just renaming our usage label. For the user-facing nginx/IM/license bits this commit is enough.
1 parent 20dcf84 commit f274b02

6 files changed

Lines changed: 11 additions & 6 deletions

File tree

LICENSE

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
MIT License
22

3-
Copyright (c) 2024 PHPeek
3+
Copyright (c) 2024-2026 Cbox
4+
5+
This project began as a fork of gophpeek/phpeek-pm and retains the
6+
upstream MIT license. Significant Cbox-specific changes have been
7+
contributed since the fork; the cbox-init binary is still pulled
8+
from the upstream phpeek-pm releases.
49

510
Permission is hereby granted, free of charge, to any person obtaining a copy
611
of this software and associated documentation files (the "Software"), to deal

php-base/common/imagemagick-policy.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
PHPeek Base Image - ImageMagick Security Policy
3+
Cbox Base Image - ImageMagick Security Policy
44
Prevents common ImageMagick vulnerabilities:
55
- SVG XXE attacks
66
- PDF ghostscript vulnerabilities

php-fpm-nginx/common/default.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# ╔═══════════════════════════════════════════════════════════════════════════╗
2-
# ║ PHPeek Base Image - Nginx Configuration Template ║
2+
# ║ Cbox Base Image - Nginx Configuration Template ║
33
# ║ Production-ready with security hardening ║
44
# ║ Variables substituted by envsubst at container startup ║
55
# ╚═══════════════════════════════════════════════════════════════════════════╝

php-fpm-nginx/common/imagemagick-policy.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
PHPeek Base Image - ImageMagick Security Policy
3+
Cbox Base Image - ImageMagick Security Policy
44
Prevents common ImageMagick vulnerabilities:
55
- SVG XXE attacks
66
- PDF ghostscript vulnerabilities

tests/e2e/fixtures/laravel/app/artisan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?php
33
/**
44
* Minimal artisan stub for framework detection testing
5-
* PHPeek entrypoint detects Laravel by checking for this file
5+
* cbox-init entrypoint detects Laravel by checking for this file
66
*/
77

88
$command = $argv[1] ?? 'help';

tests/verify-features.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function test($condition, $success, $failure) {
104104
test(strpos($composerVersion, "Composer") !== false, substr($composerVersion, 0, 50), "Composer NOT working");
105105

106106
// === 8. Cbox Init ===
107-
echo "\n═══ 8. PHPEEK PM ═══\n";
107+
echo "\n═══ 8. CBOX INIT ═══\n";
108108
$pmVersion = trim(shell_exec("/usr/local/bin/cbox-pm --version 2>&1") ?? "");
109109
test(strpos($pmVersion, "cbox-pm") !== false || preg_match("/\d+\.\d+/", $pmVersion), "Cbox Init: $pmVersion", "Cbox Init NOT working: $pmVersion");
110110

0 commit comments

Comments
 (0)