Download the PHP package respinar/contao-jalalidate without Composer

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

Iranian Date Bundle for Contao Open Source CMS

Latest Stable Version Total Downloads Latest Unstable Version License

This is the Iranian Date bundle for Contao. After installing with Composer, the Use Iranian Date setting in the root page configuration allows you to toggle the Solar Hijri date format. If enabled, all dates will be displayed in the Solar Hijri (Iranian) format site-wide, regardless of the language. If the setting is disabled or for other languages, the Georgian (Gregorian) date will be displayed.

New Feature: Iranian Date Toggle

New Feature: {{iranian_date}} Insert Tag

We've introduced a new insert tag: {{iranian_date}}. This tag allows you to display the current Iranian date in your Contao templates, and it offers flexibility in terms of date formatting.

How It Works

The {{iranian_date}} insert tag works similarly to Contao's built-in {{date}} insert tag. It allows you to display the current date in the Iranian calendar with customizable date formats.

Syntax:

Example Usage:

  1. Custom Format:

    This will display the current date in the format 15 Esfand 1403.

  2. Fallback to Default Format:

    If no format is provided, it will fall back to the global date format configured in Contao (or j F Y if no global format is set).

  3. Custom Timestamp:

    You can also pass a custom timestamp to display a specific date in Iranian format.

Features:

Installation

To install the Contao Iranian Date Bundle, run the following Composer command:

Configuration

  1. Global Date Format: You can configure the global date format in your Contao backend. This will be the default format used for the {{iranian_date}} tag when no format is provided.
  2. Custom Date Format: You can specify a custom date format directly in the {{iranian_date::[format]}} insert tag.

License

MIT License. See LICENSE for more details.


All versions of contao-jalalidate with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
contao/core-bundle Version ^5.2
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 respinar/contao-jalalidate contains the following files

Loading the files please wait ....