Download the PHP package dipesh/calendar without Composer

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

Nepali Calendar

The Nepali Calendar is a comprehensive PHP package for generating and managing a Nepali calendar. It acts as a wrapper for the dipesh/nepali-date package, enabling users to easily create a full Nepali calendar and manage events within it, all without needing extensive knowledge of the Nepali date system.

Features

Installation

To install the Nepali Calendar package, use Composer:

Usage

Basic Setup

Create a new calendar instance. By default, it initializes to the current date, but you can provide a specific date if needed.

Setting Events

Add events for specific days using the setEvent method. You can also set multiple events at once with the setEvents method.

Adding a Single Event

Adding Multiple Events

You can use an associative array of events or a callable function for dynamic event setting.

Navigating the Calendar

Easily move through the months and years:

Using Callbacks for Dynamic Event Fetching

Define a callable function to fetch and set events dynamically, such as from a database.

Example Project

To help you get started with the Nepali Calendar package, an example project is available for you to download and inspect. This project demonstrates how to implement the calendar with event management features effectively.

Screenshot of Example Project

Download Example Project

You can download the example project from the following link:

Download Example Project

Contributing

Contributions are welcome! If you have suggestions, improvements, or bug fixes, please submit a pull request or open an issue.

License

This package is licensed under the MIT License. For more details, see the LICENSE file.


All versions of calendar with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
dipesh/nepali-date Version ^2.1
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 dipesh/calendar contains the following files

Loading the files please wait ....