Skip to content

Missing Builds on Homepage #6864

Closed

Description

@Bernhard-Krop

Hi there,

the most recent builds are missing on the website. The most recent build there available is 5.1.20240307. When will the more recent builds added to the website?

Kind regards,

Bernhard

Activity

  1. TavoNiievez commented on May 31, 2025

    @TavoNiievez
    Member

    @Naktibalda is it possible to generate the phar of the previous tags or is it only possible with the last one?

  2. Naktibalda commented on Jun 2, 2025

    @Naktibalda
    Member

    You would have to hardcode specific version in https://github.com/Codeception/codeception.github.com/blob/master/RoboFile.php to achieve that, but why bother?

    Robofile.php changes are required to implement buildPhar82 method and handle builds requiring PHP 8.2 differently in updateBuildsPage

  3. Bernhard-Krop commented on Sep 9, 2025

    @Bernhard-Krop
    Author

    Hi there,

    are there any updates on this ticket? New builds are still not available.

    Kind regards,

    Bernhard

  4. llaville commented on Sep 12, 2025

    @llaville
    Contributor

    Hi all,

    There is another alternative (see https://github.com/box-project/box) that can build a PHAR distribution easily.

    I've generated a quick box.json config file (as follow), if you want to test the PHAR version.

    {
        "main": "codecept",
        "compression": "GZ",
        "directories": [
            "ext",
            "package",
            "src",
            "vendor"
        ],
        "files": [
            "codecept",
            "app.php",
            "autoload.php",
            "functions.php"
        ]
    }

    Put the json config file with previous contents at root of the Codeception repo.
    You can download the most recent BOX phar version at https://github.com/box-project/box/releases/download/4.6.7/box.phar

    And then compile the Codeception PHAR distribution with following command :

    php box.phar compile (default uses the box.json config filename)

    You'll get something like :

        ____
       / __ )____  _  __
      / __  / __ \| |/_/
     / /_/ / /_/ />  <
    /_____/\____/_/|_|
    
    
    Box version 4.6.7@190d527 2025-09-06 15:45:56 UTC
    
     // Loading the configuration file "/shared/backups/github/Codeception/box.json".
    
    🔨  Building the PHAR "/shared/backups/github/Codeception/codecept.phar"
    
    ? Checking Composer compatibility
        > Supported version detected
    ? No compactor to register
    ? Adding main file: /shared/backups/github/Codeception/codecept
    ? Adding requirements checker
    ? Adding binary files
        > No file found
    ? Auto-discover files? No
    ? Exclude dev files? Yes
    ? Adding files
        > 4647 file(s)
    ? Generating new stub
      - Using shebang line: #!/usr/bin/env php
      - Using banner:
        > Generated by Humbug Box 4.6.7@190d527.
        >
        > @link https://github.com/humbug/box
    ? Dumping the Composer autoloader
    ? Removing the Composer dump artefacts
    ? Compressing with the algorithm "GZ"
        > Warning: the extension "zlib" will now be required to execute the PHAR
    ? Setting file permissions to 0755
    * Done.
    
    💡  1 recommendation found:
        - The "main" setting can be omitted since is set to its default value
    No warning found.
    
     // PHAR: 4680 files (4.60MB)
     // You can inspect the generated PHAR with the "info" command.
    
     // Memory usage: 76.69MB (peak: 77.98MB), time: 11secs
    

    I've not tested all features to see if it's running as expected, but at least the run Unit command seems to work fine.
    Tested on my project (https://github.com/llaville/sarif-php-sdk/tree/2.3) where I've recently introduced support of Codeception v5.

    codecept.phar run Unit --bootstrap vendor/autoload.php
    Codeception PHP Testing Framework v5.3.2 https://stand-with-ukraine.pp.ua
    
    Tests.Unit Tests (72) --------------------------------------------------------------------------------------------------------------------------
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/message/embedded links" (0.04s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/message/formatted" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/message/plain text" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/message/string lookup" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/address" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/artifact" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/attachment" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/code flow" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/configuration override" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/conversion" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/exception" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/external properties" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/external property file references" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/fix" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/graph" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/graph traversal" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/location relationship" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/logical location" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/physical location" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/rectangle" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/reporting configuration" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/reporting descriptor" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/reporting descriptor reference" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/reporting descriptor relationship" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/result" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/result provenance" (0.01s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/run" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/run automation details" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/sarif log" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/special locations" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/stack" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/suppression" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/tool" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/translation metadata" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/version control details" (0.00s)
    ✔ BuilderFactoryTest: Builder factory | "examples/builder/web request" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/message/embedded links" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/message/formatted" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/message/plain text" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/message/string lookup" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/address" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/artifact" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/attachment" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/code flow" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/configuration override" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/conversion" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/exception" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/external properties" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/external property file references" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/fix" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/graph" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/graph traversal" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/location relationship" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/logical location" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/physical location" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/rectangle" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/reporting configuration" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/reporting descriptor" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/reporting descriptor reference" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/reporting descriptor relationship" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/result" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/result provenance" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/run" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/run automation details" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/sarif log" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/special locations" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/stack" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/suppression" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/tool" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/translation metadata" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/version control details" (0.00s)
    ✔ NativeJsonSerializerTest: Build report | "examples/web request" (0.00s)
    ------------------------------------------------------------------------------------------------------------------------------------------------
    Time: 00:01.193, Memory: 22.61 MB
    
    OK (72 tests, 360 assertions)
    

    Hope it will help, and enjoy !

  5. DeliriousMonad commented on May 12, 2026

    @DeliriousMonad

    The above mentioned phar build instructions using box did not work for me.

    This worked for me:

    1. Clone the specific version, here "5.3.5", from github into a local directory, here "Codeception":
    git clone -b 5.3.5 https://github.com/Codeception/Codeception.git Codeception
    
    1. Use composer to add vendor dependencies:
    cd Codeception
    wget https://github.com/composer/composer/releases/download/2.9.7/composer.phar
    php composer.phar update
    rm composer.phar
    
    1. Use phar-composer to create the phar:
    cd ..
    wget https://github.com/clue/phar-composer/releases/download/v1.4.0/phar-composer-1.4.0.phar
    php phar-composer-1.4.0.phar build Codeception
    

    This will result in a file codeception.phar.

  6. W0rma commented on Nov 18, 2026

    @W0rma
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions