Download the PHP package particle-academy/fancy-seo without Composer

On this page you can find all versions of the php package particle-academy/fancy-seo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fancy-seo

particle-academy/fancy-seo

Server-rendered SEO + crawlability for Laravel + Inertia apps.

An Inertia/React SPA applies per-page <Head> meta after hydration — so a crawler, social scraper, or LLM bot that hits a URL sees only the bare root view on the first byte. fancy-seo computes the per-route head (title, description, canonical, Open Graph, Twitter, JSON-LD) on the server and renders it into the first byte, plus a dynamic sitemap.xml / robots.txt / llms.txt and an optional per-page Markdown variant.

It's the PHP baseline that pairs with @particle-academy/fancy-inertia/seo's client <Seo> component: the package renders the default head; <Seo> overrides it per page via Inertia's head-key dedupe.

Install

Laravel auto-discovers the service provider + FancySeo facade. Publish the config if you want to tune it:

Wire it up

1. Drop the head component into your root Blade template (e.g. app.blade.php), inside <head>:

That renders <title>, description, canonical, robots, the full Open Graph + Twitter set, the llms.txt alternate link, and one <script type="application/ld+json"> per JSON-LD node — all from the resolved per-route payload.

2. Register defaults + per-route SEO from a service provider:

A controller can also set the payload for the current request:

Precedence: defaults() → per-route resolver → resolveUsing()for(). jsonLd accumulates across layers; everything else overrides.

Discovery endpoints

Auto-registered (toggle each in config/fancy-seo.php):

Route What
/sitemap.xml every URL you register via FancySeo::sitemap(...) — paths in robots_txt.disallow are auto-excluded (a sitemap must never advertise a blocked path)
/robots.txt crawl policy — welcomes LLM bots (each gets its own group with the disallow set re-applied, so a private path can't leak), references the sitemap
/llms.txt, /llms-full.txt the llmstxt.org Markdown index you register via FancySeo::llms(...)
/.well-known/security.txt RFC 9116 (only when a contact is configured)
/humans.txt colophon
/{path}.md per-page raw Markdown (opt-in) via FancySeo::markdownUsing(...)

Well-known files vs. SEO meta. fancy-seo's job is the per-route SEO <head> + JSON-LD + the dynamic sitemap data. For richer, leak-proof management of the files — robots / sitemap / security / humans / llms / AGENTS with an admin-editable model and a protect() rail that keeps private paths disallowed for every bot group — pair it with particle-academy/fancy-x-files: turn off the routes you delegate (config/fancy-seo.phproutes) and let x-files own them, feeding it FancySeo::sitemapUrls() for a dynamic, leak-safe sitemap. That is the recommended pairing — fancy-seo for meta, x-files for files.

JSON-LD builders

FancySeo\JsonLd mirrors @particle-academy/fancy-inertia/seo's builders — website, organization, softwareApplication, softwareSourceCode, article, breadcrumbList, faqPage, howTo, collectionPage. Each returns a plain array with the @context/@type set; pass them to defaults() / route() / for().

howTo() and faqPage() no longer render as Google rich results, but the markup still strengthens machine understanding + AI answers — emit them only on pages whose visible content genuinely is an ordered how-to / Q&A.

Social images

Set richer Open Graph / Twitter card metadata via the resolved payload (or the image_alt / image_width / image_height / image_type config defaults):

The head component emits og:image:alt|width|height|type + twitter:image:alt. Declaring the real card dimensions (1200×630) + MIME type helps scrapers like LinkedIn pick the large-card layout instead of falling back to a small square.

Content Security Policy

Under a strict script-src 'nonce-…' CSP, pass the nonce so the inline JSON-LD isn't dropped: <x-fancy-seo::head :nonce="$cspNonce" /> (or set a static fancy-seo.csp_nonce in config).

Validate in CI

php artisan fancy-seo:validate lints every parameter-less, named GET route the way <x-fancy-seo::head> renders it — missing/duplicate titles, thin or over-long descriptions, missing/relative canonicals, noindex leaks, and malformed JSON-LD. Use --format=json|junit for machine output and --strict to fail on warnings:

Roadmap

Not yet shipped (open an issue if you need them sooner):

License

MIT


⭐ Star Fancy UI

If this package is useful to you, a quick ⭐ on the repo really helps us build a better kit. Thank you!


All versions of fancy-seo with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^11.0|^12.0|^13.0
illuminate/http Version ^11.0|^12.0|^13.0
illuminate/routing Version ^11.0|^12.0|^13.0
illuminate/support Version ^11.0|^12.0|^13.0
illuminate/view Version ^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package particle-academy/fancy-seo contains the following files

Loading the files please wait ...