<!DOCTYPE html>
<html class="homepage">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="docsearch:version" content="4.0">
    <meta name="description" content="{{ site.data.project.description }}">
    <meta http-equiv="refresh" content="0; url={{ page.redirect.to }}">
    <title>{{ site.data.project.tagline }} - {{ site.data.project.title }}</title>
    <link rel="icon" type="image/x-icon" href="//theme.thephpleague.com/img/favicon.ico" />
    <link rel="apple-touch-icon-precomposed" href="//theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
    <link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?12">
    <link rel="stylesheet"href="{{ site.data.manifest['docs.css'] }}">
    <link rel="canonical" href="{{ page.redirect.to }}">
    <script async src="https://www.googletagmanager.com/gtag/js?id={{  site.data.project.google_analytics_tracking_id }}"></script>
    <script>
        window.dataLayer = window.dataLayer || [];
        function gtag() { dataLayer.push(arguments);}
        gtag('js', new Date());
        gtag('config', '{{  site.data.project.google_analytics_tracking_id }}');
    </script>
</head>

<body>
<header>
    <div class="inner-content">
      <h1>{{ site.data.project.title }}</h1>
      <h2>{{ site.data.project.tagline }}</h2>
      <p class="composer"><span>{{ site.data.project.composer }}</span></p>
    </div>
</header>

<main>
  <div class="highlights">
    <div class="inner-content">
      <h1>Redirecting…</h1>
      <div class="content">
      <a href="{{ page.redirect.to }}" style="color:#ff4043">Click here if you are not redirected.</a>
      <script>location="{{ page.redirect.to }}"</script>
      </div>
    </div>
  </div>
    <div class="flex-auto max-w-2xl min-w-0 px-4 py-10 lg:max-w-4xl lg:pr-0 lg:pl-8 xl:px-16">
        <article class="content">
            {% if version == site.data.project.releases.next.version %}
            <p class="message-notice">This is the documentation for the upcoming <code>version {{ version }}</code>. This is a work in progress</p>
            {% endif %}

            {% if version == site.data.project.releases.previous.version %}
            <p class="message-notice">This is the documentation for <code>version {{ version }}</code> which will be supported until <strong>{{ site.data.project.releases.previous.supported_until }}</strong>. Please consider upgrading your code to <a href="{{ site.data.project.releases.current.documentation_link }}">the latest stable version</a></p>
            {% endif %}

            {% if version == site.data.project.releases.legacy.version %}
            <p class="message-notice">This is the documentation for the unsupported <code>version {{ version }}</code>. Please consider upgrading your code to <a href="{{ site.data.project.releases.current.documentation_link }}">the latest stable version</a></p>
            {% endif %}
            {{ content }}
        </article>
    </div>
</main>
<footer class="p-6 max-w-7xl mx-auto pb-32">
    <hr class="border-t border-light border-opacity-50 max-w-7xl mx-auto" />

    <div class="flex flex-col lg:flex-row gap-12 my-16 px-6 md:px-0">
        <a href="https://csv.thephpleague.com/" class="flex gap-3 lg:justify-between items-start transition-all hover-block">
            <img src="/assets/img/csv-logo.svg" alt="CSV Logo" class="" />

            <div class="flex flex-col">
                <div class="font-black text-lg text-dark">CSV</div>

                <p class="text-light">Data manipulation made easy in PHP</p>
            </div>
        </a>

        <a href="https://uri.thephpleague.com/" class="flex gap-3 lg:justify-between items-start transition-all hover-block">
            <img src="/assets/img/uri-logo.svg" alt="URI Logo" class="" />

            <div class="flex flex-col">
                <div class="font-black text-lg text-dark">URI</div>

                <p class="text-light">Modern API to process URIs in PHP</p>
            </div>
        </a>

        <a href="https://period.thephpleague.com/" class="flex gap-3 lg:justify-between items-start transition-all hover-block">
            <img src="/assets/img/period-logo.svg" alt="Period Logo" class="" />

            <div class="flex flex-col">
                <div class="font-black text-lg text-dark">PERIOD</div>

                <p class="text-light">Time range API for PHP</p>
            </div>
        </a>
    </div>

    <hr class="border-t border-light border-opacity-50 max-w-7xl mx-auto mb-16" />

    <div class="gap-12 sm:gap-32 grid sm:grid-cols-1 md:grid-cols-3 lg:grid-cols-4">
        <div class="flex flex-col gap-3 sm:col-span-3 lg:col-span-1">
            <div class="text-csv-base font-black text-xl">Copyright</div>

            <a href="//thephpleague.com" class="font-mono tracking-tighter text-sm underline transition-all hover-text">The League of <br />Extraordinary Packages</a>
        </div>

        <div class="flex flex-col gap-3">
            <div class="text-dark font-black text-xl">Questions?</div>
            <p class="font-mono text-sm tracking-tighter">
                <a href="https://phpc.social/@nyamsprod" target="_blank" class="transition-all hover-text">
                    Package created and maintained by <span class="underline">Ignace Nyamagana Butera.</span>
                </a>
            </p>
        </div>

        <div class="flex flex-col gap-3">
            <div class="text-dark font-black text-xl">Design</div>

            <p class="font-mono text-sm tracking-tighter">
                <a href="https://twitter.com/sandr" target="_blank" class="transition-all hover-text">
                    Brand and site design by <span class="underline">Sander van der Kolk</span>
                </a>
            </p>
        </div>

        <div class="flex flex-col gap-3">
            <div class="font-black text-xl">License package</div>

            <p class="font-mono text-sm tracking-tighter">
                <a href="https://github.com/thephpleague/uri/blob/master/LICENSE" target="_blank" class="transition-all hover-text underline">
                    The MIT License (MIT)
                </a>
            </p>
        </div>
    </div>
</footer>
