Download the PHP package ft-ugm/google-calendar without Composer

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

FT UGM Google Calendar

PHP client library for the Faculty of Engineering UGM calendar service.

Requirements

Installation

Install via Composer:

Usage

Create a GoogleCalendar instance with the Calendar API URL and API token:

Create Event

The start and end values can also be provided using DateTime:

When using DateTime, the timezone is automatically taken from the DateTime instance.

When using the array format, the dateTime value should follow the RFC 3339 format. The timeZone field is optional. When omitted, the Calendar API uses Asia/Jakarta as the default timezone.

The start and end values support both timed events and all-day events:

Event type start / end format Description
Timed event dateTime An event with a specific start and end time.
All-day event date An event that covers one or more whole days.

For a timed event, use dateTime:

For an all-day event, use date:

For all-day events, the end date is exclusive. This means the end date is the day after the last day of the event.

For example:

Event start.date end.date
September 15 only 2026-09-15 2026-09-16
September 15–16 2026-09-15 2026-09-17
September 15–17 2026-09-15 2026-09-18

In other words, start.date is the first day of the event, while end.date is the exclusive end date and is not included in the event.

[!IMPORTANT] Each start and end value must contain either date or dateTime, but not both.

Get Event

Update Event

Replaces the event data with the provided representation.

Patch Event

Updates only the fields provided.

Delete Event

Error Handling

API and connection errors throw a GoogleCalendarException.

The exception provides the API response through getResponse() when available:

License

MIT


All versions of google-calendar with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 ft-ugm/google-calendar contains the following files

Loading the files please wait ...