Download the PHP package hanifhefaz/dcter without Composer

On this page you can find all versions of the php package hanifhefaz/dcter. 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 dcter

Dcter :calendar: Dates Converter

Latest Stable Version Total Downloads Tests GitHub Issues

A composer package that is used to convert dates between Hijri, Jalali, Gregorian and Julian calendars.

Please consider a :star: as your support if you think this is helpful.

:beginner: Installation

:question: Usage

This package currently consists of 8 methods namely, , , , , , , , to convert dates to each other, and method to make a carbon date object from any date in format, which comes from the popular Carbon package.

each method can be used the same way as we used the one in example, but the takes the input parameter in julian format, where the output will be a hijri date and the takes the input parameter as hijri date, and the output will be a julian format.

  1. Jalali (Hijri Shamsi) :twisted_rightwards_arrows: Gregorian

  2. Gregorian :twisted_rightwards_arrows: Jalali (Hijri Shamsi)

  3. Gregorian :twisted_rightwards_arrows: Hijri (Hijri Qamari)

  4. Hijri (Hijri Qamari) :twisted_rightwards_arrows: Gregorian

  5. Hijri (Hijri Qamari) :twisted_rightwards_arrows: Julian

  6. Julian :twisted_rightwards_arrows: Hijri (Hijri Qamari)

  7. Hijri :twisted_rightwards_arrows: Jalali (Persian)

  8. Jalali :twisted_rightwards_arrows: Hijri (Hijri Qamari)

  9. YYYY-MM-DD :twisted_rightwards_arrows: Carbonize

:performing_arts: Contributions

Contributions are most welcome!

Please read the Contributions file.

❤️ Contributors

People who contributed to this package:


Hanif Hefaz

All versions of dcter with dependencies

PHP Build Version
Package Version
Requires nesbot/carbon Version ^2.16
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 hanifhefaz/dcter contains the following files

Loading the files please wait ....