Replies: 3 comments 1 reply
-
Duplicate of #309 |
Beta Was this translation helpful? Give feedback.
-
@simonhamp Hey sorry for the duplicate, I will build the binaries as you recommended here #309 |
Beta Was this translation helpful? Give feedback.
-
@simonhamp, I built a binary (at least for my OS) and it works well. For future reference, here are steps I followed to build a PHP binary for macOS arm64: # Clone static-php-cli repository
git clone https://github.com/crazywhalecc/static-php-cli.git
cd static-php-cli # Download PHP sources
bin/spc download --with-php=8.3 --for-extensions "bcmath,ctype,curl,dom,fileinfo,filter,gd,mbstring,opcache,openssl,pdo,pdo_sqlite,phar,session,simplexml,sockets,sqlite3,tokenizer,xml,xmlreader,xmlwriter,zip,zlib" In my specific case, I had missing commands, # https://formulae.brew.sh/formula/cmake
brew install cmake
# https://formulae.brew.sh/formula/autoconf
brew install autoconf # Build
bin/spc build --build-cli --build-embed "bcmath,ctype,curl,dom,fileinfo,filter,gd,mbstring,opcache,openssl,pdo,pdo_sqlite,phar,session,simplexml,sockets,sqlite3,tokenizer,xml,xmlreader,xmlwriter,zip,zlib" # Delete all downloaded sources
bin/spc download --clean Then following NativePHP documentation section Building apps with custom binaries to respect directories structure and that is pretty much it. |
Beta Was this translation helpful? Give feedback.
-
Using Laravel Excel, generating an xlsx export file throws a
Class "XMLWriter" not found
Error.Enabling xml extensions will allow xlsx files import/export using this package.
Reading the Laravel Excel requirements,
iconv
extension might also be needed for some use cases.Regarding xml manipulation in general,
xsl
extension might also be useful.Beta Was this translation helpful? Give feedback.
All reactions