Discover Packages
github.com/ant-go/ant
module
Version:
v0.0.0-...-57897a3
Opens a new window with list of versions in this module.
Published: Sep 11, 2021
License: MIT
Opens a new window with license information.
README
README
¶
ant
ant is a framework that can help PHP developers quickly switch to the Go language.
It’s small, but powerful.
Commonly used PHP's built-in functions will be implemented first in the plan, some modules of the most popular framework Laravel will also be implemented later.
Install
go mod download github.com/ant-go/ant
Requirements
Go 1.7+.
PHP built-in functions
Array(Slice/Map) Functions
in_array()
array_keys()
array_values()
DateTime Functions
strtotime()
date()
gmdate()
Hash Functions
md5() | md5_file()
sha1() | sha1_file()
crc32()
hash_equals()
hash()
sha224
sha384
sha512/244
sha512/256
sha512
sha3-224
sha3-256
sha3-384
sha3-512
fnv132
fnv1a32
fnv164
fnv1a64
hash_hmac()
md5
sha1
sha224
sha384
sha512/224
sha512/256
sha512
sha3-224
sha3-256
sha3-384
sha3-512
LICENSE
MIT Licence.
Expand ▾
Collapse ▴
Directories
¶
Click to show internal directories.
Click to hide internal directories.