Download the PHP package juanjimeneztj/countdown without Composer

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

gswebCountDown4.0.0

CountDown version 4.0.0

Use:

Initialize the div wherever you need the counter with the following lines:

Script required

The following lines of code are required to run this plugin:

Or you can use this from our server

Parameters

We can use parameters in this counter, below you have all the parameters you can use:

Description of all parameters

Parameter Description
theme You have two options in this parameter, the default option and the red one, in the default option you will have a counter with the following example:

In the red option you will have a counter with the following example:

here is an example:

type In this case, 'type' you can receive two additional parameters to the default one that is 'default', it is used for the way you want to receive the values in the counter, you can receive them within a DIV if you pass the parameter type: 'div', or you can receive them inside SPAN tags if you pass the parameter type: 'span'.
lbldays This parameter is to choose if you want the Days to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to false.
lblhours This parameter is to choose if you want the Hours to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to false.
lblminutes This parameter is to choose if you want the Minutes to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to false.
lblseconds This parameter is to choose if you want the Seconds to be shown in the counter, if you do not want this parameter to be shown in the counter, only change the value to false.
labels This parameter is to choose if you want the labels to be shown in the counter, if you do want this parameter to be shown in the counter, only change the value to true.
date This parameter is optional. If you want to use the counter using the date format, you must pass to this parameter 'date' in the following format: date: "May 23, 2020 23:59:59 GMT-0400" . If you want to manually add the days, hours, minutes and seconds to the counter, you can leave the value of 'date' in 'null' and use the parameters below.
days Set this parameter to the days you want to start the counter.
hours Set this parameter to the Hours you want to start the counter.
minutes Set this parameter to the Minutes you want to start the counter.
seconds Set this parameter to the Seconds you want to start the counter.

Default Parameters

Parameter Default Values
theme default
type default
lbldays true
lblhours true
lblminutes true
lblseconds true
labels false
date null
days 0
hours 0
minutes 0
seconds 0

All versions of countdown 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 juanjimeneztj/countdown contains the following files

Loading the files please wait ....