Download the PHP package legrisch/statamic-graphql-events without Composer

On this page you can find all versions of the php package legrisch/statamic-graphql-events. 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 statamic-graphql-events

Statamic GraphQL Events

Statamic GraphQL Events is a Statamic addon that provides a fieldset and the corresponding GraphQL Queries and fields to handle recurring events with ease.

Index

Install

Setup

This addon assumes that you want to use a single collection and entries of a single blueprint as the source of your events.

How to Use

Concepts

An event may have an arbitrary amount of recurrence rules, however there are two limitations:

Queries

Fields and Queries that use dates as an input accept everything that Carbon::parse accepts.

All query results are sorted by the first occurrence in the given timeframe.

eventsAfter

Returns events that have occurrences after a certain date.

Example

eventsAfterNow

Returns events that have occurrences after now.

Example

eventsBetween

Returns events that have occurrences between two provided dates.

Example

Fields

Besides the queries, this addon adds fields to the GraphQL type of your entries.

occurrences

Returns the occurrences of an event starting from the first occurrence.

Example

occurrencesAfter

Returns the occurrences of an event starting from a provided date.

Example

occurrencesAfterNow

Returns the occurrences of an event starting from now.

Example

occurrencesBetween

Returns the occurrences of an event between two provided dates.

Example

License

This project is licensed under the MIT License.


All versions of statamic-graphql-events with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
statamic/cms Version ^3.3
rlanvin/php-rrule Version ^2.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 legrisch/statamic-graphql-events contains the following files

Loading the files please wait ....