Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Hosting Laravel Package

becklyn/hosting

Becklyn Hosting eases hosting integration for Symfony apps: configure tier, project, installation, and TrackJS; access HostingConfig; auto-inject uptime monitor comments into HTML; embed monitoring JS via Twig; and use the @hosting namespace.

View on GitHub
Deep Wiki
Context7

Hosting Bundle

Coverage Status

Eases the integration with several hosting-related topics.

Config

  • tier (required): the tier the app is currently deployed to. Normally something like "production", "staging" or "development".
  • project (required): the clear text name of the project
  • installation (required): the key of this installation (used for tokens and uptime monitoring)
    • Should be unique per installation.
    • Should be a technical key (only a-z 0-9 -_).
  • trackjs: the token for the integration with TrackJS.

Getting the Hosting Config

Just fetch the Becklyn\Hosting\Config\HostingConfig service and you have access to the hosting configuration.

Features

  • The bundle automatically adds a <!-- uptime monitor: $project_name --> comment to all HTML responses. Use this for integration into uptime monitors.

  • If you set a trackjs token, you can include the monitoring JS:

    {% block javascripts %}
        {{- hosting_embed_monitoring() -}}
    
        {# .. your other JS imports #}
    {% endblock %}
    

Assets Bundle Integration

This bundle registers a @hosting namespace in the becklyn assets bundle.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core