simplydi/functions

A set of common PHP functions that can be used in any application

dev-main 2023-08-04 17:20 UTC

This package is auto-updated.

Last update: 2024-05-04 18:48:04 UTC


README

A set of common PHP functions that can be used in any application

Available Functions

  • env(string $key): returns the environment variable value of $_ENV[$key].
  • esc(string $value): escapes the html value for security
  • http_redirect(string $url): redirect to a url

More functions may be added.