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
Site Discovery

Site Discovery Laravel Package

capell-app/site-discovery

Site discovery for Laravel: publish sitemaps, robots.txt, and other discovery files so search engines and AI crawlers can find and index your Capell-powered site. Simple configuration, automatic generation, and integration with your existing site setup.

View on GitHub
Deep Wiki
Context7

capell-app/site-discovery resolves which Capell site should handle an incoming request, mapping hosts, domains and paths to the correct site in multi-site Laravel installations. It hooks into the request lifecycle so the right site, locale and settings are booted before routing, with sensible fallbacks when no match is found.

  • Domain and subdomain matching, including wildcard subdomains
  • Path/prefix-based site resolution for shared hosts
  • Configurable fallback site for unmatched requests
  • Cached lookups for fast, repeatable resolution
  • Seamless integration with Capell's site-aware routing and settings
Frequently asked questions about Site Discovery
What is capell-app/site-discovery used for?
It is a Laravel package that adds site discovery features to Capell sites. It exposes XML and HTML sitemaps, robots directives, canonical public URLs, and well-known endpoints so search engines and AI crawlers can find and index your content.
How do I install capell-app/site-discovery?
Install the package with Composer by running composer require capell-app/site-discovery. Then follow the repository setup instructions for registering the service provider and publishing any configuration your Laravel version requires.
Does it generate both XML and HTML sitemaps?
Yes, the package supports XML sitemaps for search engine crawlers and HTML sitemaps for human visitors. The XML output follows sitemap conventions, while the HTML sitemap provides a browsable index of public pages.
How does canonical public URL discovery work?
The package discovers canonical public URLs for your Capell site so sitemaps and crawler-facing endpoints use consistent, indexable addresses. This helps keep internal or duplicate URLs out of the discovery output.
Can I customize the robots.txt directives it exposes?
Yes, the package exposes robots directives that can be configured for your site. You can use them to point crawlers at your sitemap and control which areas should be indexed, subject to the package's configuration options.
What well-known endpoints does it provide?
It provides well-known endpoints that help crawlers discover site metadata and sitemap locations. The exact paths and response formats are defined by the package, so check its routes and configuration for the current list.
Which Laravel versions does capell-app/site-discovery support?
The package is built for Laravel applications and follows framework-native integration patterns. Check the repository's composer.json and README for the exact Laravel version constraint before adding it to your project.
How do I exclude private or non-indexable pages from the sitemap?
Use the package configuration to control URL discovery and which public routes are exposed to crawlers. Review your Capell routing and the published config file to keep private, admin, or duplicate pages out of sitemap and discovery output.
Is it useful for AI crawlers as well as search engines?
Yes, the package is designed to make your Capell site discoverable by both search engines and AI crawlers. It combines sitemaps, robots directives, canonical URLs, and well-known endpoints so crawlers have clear public discovery paths.
How should I test sitemap and robots output before production?
Write Laravel feature tests that request the sitemap and robots routes and assert the expected XML or plain-text responses. Also verify canonical URL discovery against your Capell site's public routes in a staging environment before deploying.
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.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle