Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12051

Optimise Composer Autoloader on Build

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-RC3
    • Build System
    • None

    Description

      Instead of just installing vendors using `php composer.phar install` when building final packages we should use the `--optimize-autoloader` flag as it will turn the PSR-0 autoloading into a static classmap of the libraries we use through composer, improving performance (a bit).

      Attachments

        1. t1
          1 kB
        2. t1p
          1 kB
        3. t2
          1 kB
        4. t2p
          1 kB
        5. t3
          1 kB
        6. t3p
          1 kB

        Issue Links

          Activity

            People

              nicofuma nicofuma [X] (Inactive)
              MichaelC Michael Cullum [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: