A small Laravel package that leaves a friendly message for curious developers who peek at your source code or open DevTools.
<!--
👋 Hello curious developer! Looks like you're exploring the source.
Zhylon is building infrastructure and developer tools in Europe.
⚡ Website: https://zhylon.net
🐙 GitHub: https://github.com/Zhylon
We build developer tools for Europe.
Privacy-first. No lock-in. Made in EU. 🇪🇺
-->- Injects an HTML comment after
<head>— visible in browser source view - Injects a styled console message before
</body>— visible in DevTools → Console - Only activates in configured environments (default:
production) - Skips JSON responses, redirects, and non-HTML content automatically
- Zero configuration required — works out of the box via auto-discovery
composer require zhylon/openThat's it. The package registers itself via Laravel's auto-discovery.
Publish the config file if you want to customize the messages:
php artisan vendor:publish --tag=zopen-configThis creates config/zopen.php:
return [
'html_comment' => [
'enabled' => env('ZHYLON_OPEN_HTML_COMMENT', true),
'message' => env('ZHYLON_OPEN_HTML_MESSAGE', '👋 Hello curious developer! ...'),
'github' => env('ZHYLON_OPEN_GITHUB', 'https://github.com/Zhylon'),
'website' => env('ZHYLON_OPEN_WEBSITE', 'https://zhylon.net'),
],
'console' => [
'enabled' => env('ZHYLON_OPEN_CONSOLE', true),
'message' => env('ZHYLON_OPEN_CONSOLE_MESSAGE', 'Hey, you found us! 🚀'),
'style' => env('ZHYLON_OPEN_CONSOLE_STYLE', 'color: #6366f1; font-size: 14px; font-weight: bold;'),
],
'environments' => ['production'],
];| Variable | Default | Description |
|---|---|---|
ZHYLON_OPEN_ENABLED |
true |
Master switch — disables all output at once |
ZHYLON_OPEN_HTML_COMMENT |
true |
Enable/disable HTML comment |
ZHYLON_OPEN_HTML_MESSAGE |
(see config) | The message shown in source view |
ZHYLON_OPEN_GITHUB |
https://github.com/Zhylon |
GitHub URL shown in comment + console |
ZHYLON_OPEN_WEBSITE |
https://zhylon.net |
Website URL shown in comment + console |
ZHYLON_OPEN_CONSOLE |
true |
Enable/disable console output |
ZHYLON_OPEN_CONSOLE_MESSAGE |
Hey, you found us! 🚀 |
Message shown in DevTools console |
ZHYLON_OPEN_CONSOLE_STYLE |
(purple, bold) | CSS string for console styling |
Publish the Blade views to customize the output completely:
php artisan vendor:publish --tag=zopen-viewsViews are published to resources/views/vendor/zopen/.
| Requirement | Version |
|---|---|
| PHP | ^8.3 |
| Laravel | ^11.0 | ^12.0 | ^13.0 |
Zhylon Systems is building a suite of developer tools for Europe — infrastructure, deployment, monitoring, realtime, and more.
Privacy-first. No lock-in. Made in EU. 🇪🇺
- 🌍 zhylon.net
- 🐙 github.com/Zhylon
- 📡 sitealarm.de — uptime monitoring
- ☁️ cloud.zhylon.net — deployment & infrastructure
This package is open-source and part of the Zhylon ecosystem. Issues and PRs are welcome.
composer install
composer test # run tests
composer format # run Laravel PintMIT — see LICENSE for details.