Download the PHP package arckinteractive/events_api without Composer

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

Events API Elgg 2.3

This plugin provides a data structure and convenience function for building an events application. As each project's requirements tend to be different this is made as generic as extensible as possible to act as a base back-end. UI and integration should be performed by a project specific helper plugin.

All functions take arguments in terms of formatted dates 'Y-m-d' and times 'g:ia' to keep timezone calculations to a minimum. Timezone functionality can be added and calculated client-side.

Calendar

The calendar is an ElggObject with the subtype 'calendar'. It is contained by another entity, usually a user or a group. The edit permissions are inherited by write access to the container. The calendar holds events. Events are linked to the calendar using relationships, this way it's possible that an event can show on multiple calendars.

Each user and group has one "public" calendar. This calendar is automatically created, and can not be deleted or edited by non-admin users. All new events that do not explicitly define a calendar, will be added to "public" calendar.

Users can create other calendars with custom visiblity/access settings. Additionally, public calendar can contain non-public events, which will only be visible to viewers that have permissions to see them.

Event

The event is an ElggObject with the subtype 'event'. It is contained by another entity and is attached to calendars via a relationship.

Actions

This action adds/edits an event.

Required inputs are:

Optional inputs are:

eg.

$reminders = array(
    'value' => array(
        15,
        1,
        ''
    ),
    'increment' => array(
        'minute',
        'hour',
        ''
    )
)

describes reminders of 15 minutes, and 1 hour prior the meeting. The last item of each array is ignored as a template value.

This action moves an event

Required inputs are:

After validation an event is triggered: before the changes are made. Returning false will stop the move. Handlers returning false are expected to provide their own error message.

Note this is a convenience action, see for an equivalent method

This action resizes an event (changes just the end date/time)

Required inputs are:

After validation an event is triggered: before the changes are made. Returning false will stop the resize. Handlers returning false are expected to provide their own error message.

Note this is a convenience action, see for an equivalent method

Reminders

Reminders are stored as metadata on the event as a delta of number of seconds prior to the event in which to notify the user. On daily cron and plugin activation a script determines upcoming reminders and stores them as annotations on the event. The sending of reminders is left to the UI, the expected method is to register for minute cron, look for annotations coming up in the next minute - and send a reminder for any events that show up. Deleting the reminder annotation on each pass.

Installation / Tests

If downloading from GitHub:


All versions of events_api with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
ext-json Version *
ext-xml Version *
ext-curl Version *
composer/installers Version 1.*
kigkonsult/icalcreator Version v2.22.5
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 arckinteractive/events_api contains the following files

Loading the files please wait ....