npm.io
0.0.4 • Published 10h ago

@libphp/almalinux-9-v85

Licence
MIT
Version
0.0.4
Deps
0
Size
145.7 MB
Vulns
0
Weekly
0
Stars
19

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.