Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 2.28 KB

File metadata and controls

73 lines (53 loc) · 2.28 KB

libphp

🐘 PHP library compiled for many platform and cloud providers, especially for AWS and ▲ Vercel.

🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x


⚙️ Runtimes

Amazon Linux 2

Amazon Linux 2023

AlmaLinux 9 (EL9)

Archived Versions

The following versions have been archived and are no longer actively maintained:

⚙️ Usage

This repository contains libraries for building PHP layers in clouds (AWS, ...). You can build your package/library based on these libraries.

For example @libphp/amazon-linux-2-v83. Used in vercel-php a PHP runtime for Vercel platform.

import * as php from "@libphp/amazon-linux-2-v83";

// @libphp/amazon-linux-2-v82
// ├── dist
// │   └── *.js
// └── native
//     ├── lib
//     │   └── * (shared libs)
//     └── php
//         ├── modules
//         │   └── *.so (php modules)
//         ├── composer
//         ├── php.ini
//         ├── php
//         ├── php-cgi
//         ├── php-fpm
//         └── php-fpm.ini

php.getRoot(); // root folder
php.getComposer(); // composer bin
php.getPhpFiles(); // list of all PHP files
php.getPhpModulesFiles(); // list of all PHP modules
php.getSharedLibsFiles(); // list of all shared libs
php.getFiles(); // list of all related files

📝 License

Copyright © 2020 f3l1x. This project is MIT licensed.