Skip to content

NativePHP/php-bin

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a05f898 · Apr 13, 2025
Mar 31, 2025
Apr 13, 2025
Mar 19, 2025
Mar 31, 2025
Feb 19, 2025
Sep 7, 2024
Sep 4, 2024
Jan 1, 2025
Sep 18, 2024
May 9, 2023
Dec 26, 2024
Feb 19, 2025

Repository files navigation

PHP binaries used by the NativePHP framework

Installation

You can install the package via Composer:

composer require nativephp/php-bin --dev

or NPM:

npm -i @nativephp/php-bin --save-dev

ℹ️ Heads up...

You should install this package as a dev dependency, in most cases, and simply copy what you need from it to the relevant parts of your application. This will save you distributing all of the PHP binaries with every installation.

Building

NativePHP uses static-php-cli to build minimal, statically-linked, self-contained PHP executables for each platform.

They are automatically built weekly to get the latest versions of PHP near enough as soon as they become available.

Check here for the definitive list of extensions that are compiled in.

Issues

Please raise any issues on the NativePHP/laravel repo.

Credits

License

This repository is simply a redistribution of PHP. As such its use and further distribution is subject to the various license agreements found in the licenses