ant-go / ant

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

Home Page:https://imlht.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://imlht.com

License:MIT License


Languages

Language:C 98.6%Language:Go 1.4%Language:Shell 0.0%Language:Makefile 0.0%