PHP extensions
オープン
まだ誰も着手していません。
question
- 主要言語
- PHP
- スター
- 2
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Currently, we compile with the following extensions enabled:
- Core
- bcmath
- ctype
- date
- fileinfo
- filter
- hash
- iconv
- json
- openssl
- pcre
- Phar
- posix
- Reflection
- session
- SPL
- standard
- tokenizer
Looking at https://bref.sh/docs/environment/php.html#extensions-installed-and-enabled and from scanning through use cases, the following could be interesting:
- gd, exif - image processing
- mbstring - prerequisite for exif anyways
- sodium - for crypto
zlib - if we want to create ZIP files, HTTP compression- see https://github.com/xp-forge/lambda/issues/8#issuecomment-1184378957- sqlite3 - for temporary data storage
libxml, dom, xml, xmlreader, xmlwriter - for processing XML and HTML- see #11
The following extensions don't seem to make sense for an AWS lambda enviromment:
- pcntl - for parallelization, you would most probably just invoke other lambdas and/or use a message queue
- readline - this is for humans sitting in front of a terminal, not for the serverside
- curl, ftp, mysqli / mysqlnd - the XP Framework has it's own protocol implementations
- sockets - the standard socket library works just as well for (most - or almost all?) cases
- opcache - we leave our code running after compiling once, caching doesn't improve this any more
SimpleXML - covered by XP Framework's XML APIs- used by AWS SDK, see https://github.com/xp-forge/lambda/issues/8#issuecomment-966497081
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Bref の PHP 拡張機能ドキュメントとリンク先の issue コメントから始め、現在コンパイルされているリストを、提案されている gd、exif、mbstring、sodium、sqlite3 の候補と比較します。リポジトリのユースケースに必要な拡張機能のセットを確認し、拡張機能の設定を更新して、合意したリストで Lambda のビルドが正常にコンパイルされることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, php
- 領域
- backend, cloud
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100