Skip to content
/ ant Public

Ant is a framework that can help PHP developers quickly switch to the Go language. It’s small, but powerful.

License

Notifications You must be signed in to change notification settings

ant-go/ant

Repository files navigation

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.

About

Ant is a framework that can help PHP developers quickly switch to the Go language. It’s small, but powerful.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published