Download the PHP package webcito/jquery-bs-calendar without Composer

On this page you can find all versions of the php package webcito/jquery-bs-calendar. 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 jquery-bs-calendar

jquery-bs-calendar

The event calendar was created with JQuery and Boostrap 5. It does not need any additional CSS file.
The calendar can be included in all Boostrap elements (.card, .navbar, .offcanvas, .dropdowns, ...).

options

prop type default description
locale string 'en' Sets the language of days and months
url null|string| function null When a function is implemented, an array of event objects is expected. A string represents the path to the server. If the value remains at zero, no appointments will be loaded.
queryParams function see example below Additional parameters can be sent to the server here. From and To are always sent.
width string '310px' Sets the width of the container. All subelements are calculated from the width of the container.
icons object see example below Here you can change the icon classes. Bootstrap icons are set as default.
showTodayHeader boolean true Show or hide the header of the calendar, which contains information about today.
eventListContainer null|string null If a selector is specified here, the appointment list will be transferred to this selector.
classes object see example below Here you can set your own CSS classes for the elements in the calendar to stylishly adapt your container to your page. The calendar is built with a table and can therefore easily inherit the themes from Bootstrap.
event object see example below The object event expects 2 properties. Firstly the function formatted(event){} which expects a string as return and secondly the event handler list as object[]
popoverConfig object|null see example below The popover configuration can be set here, more at https://getbootstrap.com/docs/5.3/components/popovers/#options. If the value is null, no popover will be initialized.
formatPopoverContent function see example below The content of the popover can be formatted here. The condition for this is that the showPopover attribute is set to true.
formatNoEvent function see example below The display when there are no appointments on the selected date.

full options example

the event object

The event object must have a start and an end attribute

set defaults

This function can be used to define default values, such as the language before initialization.

methods

methodName Params Description
refresh - Reloads the dates
updateOptions (object) {new:options} Updates the options of the calendar
setDate (string) '2024-12-24' Switches the calendar to the month given in the date.

events

eventName params Description
init - Fires when the calendar is fully initialized
change-day date, events Fires when a date was clicked manually
events-loaded events Fires when the data has been loaded from the server
show-event-list events Fires before building the appointment list
shown-event-list events Fires when the appointment list has been created and displayed
click-current-month - Fires when the button for the current month is pressed
click-prev-month - Fires when the button for the previous month is pressed
click-next-month - Fires when the button for the next month has been pressed
change-month - Fires when the month is changed

Satisfied customers of the plugin

Schulz von Thun Institut
für Kommunikation
Perspekto Coaching GmbH
Institut für berufliche Entwicklung
Uniquo Coaching
webcito UG

All versions of jquery-bs-calendar with dependencies

PHP Build Version
Package Version
Requires components/jquery Version 3.6.0
twbs/bootstrap Version ~v5.3.3
twbs/bootstrap-icons Version ~v1.11.3
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 webcito/jquery-bs-calendar contains the following files

Loading the files please wait ....