<commit_before>{% extends "layout.html.twig" %}

{% block content %}
    <h1 role="heading">Download Composer <span class="latest">Latest: v{{ latestStable }}</span></h1>

    {% if windows %}
        <h2>Windows Installer</h2>
        <p>
            The installer will download composer for you and set up your PATH environment variable
            so you can simply call <code>composer</code> from any directory.
        </p>
        <p>
            Download and run
            <a href="/Composer-Setup.exe"
               title="Click here to download Composer-Setup installer for Windows"
               aria-label="Click here to download Composer-Setup installer for Windows">Composer-Setup.exe</a>
            - it will install the latest composer version whenever it is executed.
        </p>

        <h2>Command-line installation</h2>
    {% endif %}

    <p>
        To quickly install Composer in the current directory, run the following script in your terminal.<commit_msg>Add note about windows installer requiring php, closes #160<commit_after>{% extends "layout.html.twig" %}

{% block content %}
    <h1 role="heading">Download Composer <span class="latest">Latest: v{{ latestStable }}</span></h1>

    {% if windows %}
        <h2>Windows Installer</h2>
        <p>
            The installer - which requires that you have PHP already installed - will download Composer for you and set up your PATH environment variable
            so you can simply call <code>composer</code> from any directory.
        </p>
        <p>
            Download and run
            <a href="/Composer-Setup.exe"
               title="Click here to download Composer-Setup installer for Windows"
               aria-label="Click here to download Composer-Setup installer for Windows">Composer-Setup.exe</a>
            - it will install the latest composer version whenever it is executed.
        </p>

        <h2>Command-line installation</h2>
    {% endif %}

    <p>
        To quickly install Composer in the current directory, run the following script in your terminal.
{'fraction_non_alphanumeric': 0.09734939759036144, 'fraction_numerical': 0.007228915662650603, 'mean_word_length': 2.442786069651741, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7453871', 'n_tokens_mistral': 564, 'n_tokens_neox': 524, 'n_words': 205}