Download the PHP package ameotoko/contao-countdown without Composer

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

Countdown extension for Contao 4 CMS

Install

Install with composer as usual:

Description

The extension provides a content element and a frontend module for Contao CMS, which allow you quickly set up and show a countdown widget on your website.

The widget itself is beautifully designed and developed by @pqina. Check out the widget's website.

Current limitations

The extension primarily serves the needs of my own projects, so there's not much room for customization at the moment. However, I do plan to add more settings in the future.

You can totally override the templates etc. though.

Usage

After installation, you can add a "Countdown" content element or a frontend module in the back end. They both have same three settings:

End datetime

This is the point in time to count down to. This is set in your server's timezone, but converted to UTC under the hood, meaning – all your visitors from different timezones will see exactly the same time left to D-Day. If it's 1 hour left for you – it's the same 1 hour left for your visitor on the other side of the world, that looks at your site at the same time.

Hide when expired

When checked, the widget will disappear from the page when it reaches zero, without reloading the page, and it will not appear on any subsequent page load. If you need to show your visitors, that they missed something great – do not check this box, and they will see all zeros!

Reload

If checked, the page will refresh itself upon reaching zero on the countdown. Typical use-case:

  1. Create some content with show until = 23:59:59
  2. Create some other content with show from = 00:00:00
  3. Set countdown to 00:00:00 with reload checked
  4. Go to bed
  5. Even if your visitors keep stare at the screen at midnight, they will see old content disappear and new content show up at midnight
  6. ??????
  7. PROFIT

Contao is an Open Source PHP Content Management System for people who want a professional website that is easy to maintain. Visit the project website for more information.


All versions of contao-countdown with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 || ^8.1
contao/core-bundle Version ^4.13 || ^5.0
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 ameotoko/contao-countdown contains the following files

Loading the files please wait ...