Download the PHP package opencafe/datium without Composer

On this page you can find all versions of the php package opencafe/datium. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package datium

Datium

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads Join the chat at https://gitter.im/opencafe/datium [npm]()

Awesome DateTime package written in PHP, with generalization support in calendar and translation, which makes Datium powerful and simple.

Support

Installation

Via Composer

Manual

Just require in your project and use Datium namespace as following example:

Usage

Simply get what you want:

As datium output

Or working with date as simple as you need:

Get

Get Datium as DateTime PHP object:

Or return it as simple date and time string:

And even with custom PHP YMD format:

Timestamp format:

Easy usage:

Create

You can also simply create new time:

Add Date

This method allow you add some year, month, week, day, hour, minute and second to current date.

Sub Date

Sub some year, month, day, hour, minute and second from current date.

Date Difference

This method will return the difference between two specific date with php date interval type.

Human readable time difference

Datium also supports human readable date and time difference.

Leap year

Define leap year of current year with generalization support.

Get day of date

This method returns day of week or day of year with generalization support, you can add this feature to your custom calendars like other supported calendars in Datium.

Day of Year

What the day is in current year:

Day of Week

What day of week is current day:

Last Day of Month

How many days is current month

Generalization

Calendar generalization

Datium supports calendar generalization, you can add customized calendars to Datium and used them as it's own default calendars.

Convert all calendars which supported on Datium or event your customized calendars as simple as possible:

Translation Generalization

Generalization in translation is another Datium generalization support.

Change Configuration

You can change any configuration after initialize Datium object.

Default configuration


All versions of datium with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package opencafe/datium contains the following files

Loading the files please wait ....