Submit Your Project / Idea

We are actively looking for cool ideas of packages / projects to develop. Have an idea, or need a specific package developed that you're having trouble finding elsewhere? Drop a message on the Reddit forum and let us know!

Your idea may get developed free of charge and open sourced, or maybe will be developed and released commercially for a small license fee, or maybe will spawn a great discussion and even better ideas! If your idea is picked up, it will be listed on the Projects page.

Jump in and share your ideas! Don't be left behind, get modern and professional with Apex!

Visit Reddit Forum

Admin Screenshot

Global Functions

There are a handful of global functions available, which help facilitate development within Apex. All functions are available within the /src/app/sys/functions.php library, and are explained below.

Method Description
tr($message, $args) Used to format messages to be sent for output to the web browser. This does both, replaces placeholders as needed, and if necessary translates the message into another language. Supports both, sequential and name based place holders.
fdate($date, bool $add_time) Formats a date into the proper, readable format for the web browser, plus also changes it to the correct timezone. All dates within Apex are stored in UTC, this function will check the authenticated user's preferred timezone, and update the time as necessary to display the time and date in the correct timezone. Should always be used when displaying any date / time within the web browser.
fmoney($amount, $currency, $include_abbr) Formats a decimal into an amount using the proper currency symbol and decimals. Always use this function when displaying an amount.
exchange_money(float $amount, string $from_currency, string $to_currency) Exchanges the amount specified from the one currency, to the specified currency using the latest exchange rates in the database.
check_package($alias) Checks whether or not a package alias is installed on the system, and returns a boolean. Useful when developing packages that act / display things differently depending on whether or not a certain package is installed.
<