Skip to content

TLS 1.2 not supported error #522

@gorthol217

Description

@gorthol217

What were you trying to do?

I created a new Laravel app with the react template and tried to start the app with
composer native:dev -vvv

What happened?

i get the error
Error in PHP: Invalid crypto_method request option: TLS 1.2 not supported by your version of cURL (0) in ...\vendor\guzzlehttp\guzzle\src\Handler\CurlFactory.php:568
Im on Windows 11 using the most recent Laravel and Nativephp version.

How to reproduce the bug

create a new laravel project with laravel new Project, add nativephp and do composer native:dev -vvv

Package Versions

{
    "installed": [
        {
            "name": "nativephp/electron",
            "direct-dependency": true,
            "homepage": "https://github.com/nativephp/electron",
            "source": "https://github.com/NativePHP/electron/tree/1.0.0-beta.5",
            "version": "1.0.0-beta.5",
            "description": "Electron wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/laravel",
            "direct-dependency": true,
            "homepage": "https://github.com/nativephp/laravel",
            "source": "https://github.com/NativePHP/laravel/tree/1.0.0-beta.2",
            "version": "1.0.0-beta.2",
            "description": "Laravel wrapper for the NativePHP framework.",
            "abandoned": false
        },
        {
            "name": "nativephp/php-bin",
            "direct-dependency": false,
            "homepage": "https://nativephp.com",
            "source": "https://github.com/NativePHP/php-bin/tree/0.6.0",
            "version": "0.6.0",
            "description": "PHP binaries used by the NativePHP framework",
            "abandoned": false
        }
    ]
}

PHP Version

8.4.5

Laravel Version

12.0

Node Version

22.14.0

Which operating systems have you seen this occur on?

Windows

OS version

win11 (24H2)

Notes

No response

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions