ant

module
v0.0.0-...-57897a3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2021 License: MIT

README

ant

Build Status codecov Go Report Card

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL