PHPackages                             apility/netflex-calendar-sync - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. apility/netflex-calendar-sync

ActiveLibrary

apility/netflex-calendar-sync
=============================

Sync calendar with Netflex Structures

v1.0.0(6y ago)035[1 PRs](https://github.com/apility/netflex-calendar-sync/pulls)PHP

Since May 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/apility/netflex-calendar-sync)[ Packagist](https://packagist.org/packages/apility/netflex-calendar-sync)[ RSS](/packages/apility-netflex-calendar-sync/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Netflex Calendar Sync
=====================

[](#netflex-calendar-sync)

A simple library for performing a one way sync from a provider to netflex structures.

Installation
------------

[](#installation)

Include the repository from Composer.

```
  $ composer require apility/netflex-calendar-sync

```

Calendars
---------

[](#calendars)

### Google Calendar

[](#google-calendar)

In order to scrape a calendar, Create an Api Key at the google cloud platform [Here](https://console.cloud.google.com/). This is a generic API key and its not Google Calendar specific. Enable access to the Google Calendar API through the same console.

Open your calendar app, ([Google Calendar](https://calendar.google.com)) and enter settings section for that calendar.

[![](https://raw.githubusercontent.com/apility/netflex-calendar-sync/master/docs/google_cal_settings.png)](https://raw.githubusercontent.com/apility/netflex-calendar-sync/master/docs/google_cal_settings.png)

Find the ID of the calendar

[![](https://raw.githubusercontent.com/apility/netflex-calendar-sync/master/docs/google_cal_id.png)](https://raw.githubusercontent.com/apility/netflex-calendar-sync/master/docs/google_cal_id.png) and make the calendar public.

Create a calendar instance like this;

```
/*
  First option is the calendar ID.
  Second option is the API key,
  Third option is an associative array of key values found in the Google API documentation
*/
$calendar = new GoogleCalendar($openingHourEntry->calendarId, \get_setting("google_calendar_sync_api_key"), [
  'singleEvents' => true,
]);
```

[Google API Explorer/documentation](https://developers.google.com/apis-explorer/#p/calendar/v3/calendar.events.list)

The items in the calendar is accessable as a Laravel Collection.

```
$openingHours = $calendar
  ->map(function($event) {
    return [
      "eventId" => $event->id,
      "name" => "Åpningstid",
      "start" => Carbon::parse($event->start->dateTime)->format(DateTime::ISO8601),
      "end" => Carbon::parse($event->end->dateTime)->format(DateTime::ISO8601),
      "allDay" => false,
    ];
  });
```

Resolvers
---------

[](#resolvers)

Resolvers are ways to immediately transfer a resolved object into Netflex.

### EntrySync Resolver

[](#entrysync-resolver)

The entry resolver takes any `Netflex\Structure` object and lets you inject any JSON serializeable data into it. (For example a Laravel Collection).

```
$resolver = new EntrySync(Models\Calendar::find(10000));
$resolver->syncData($openingHours);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74035fef93c6f1dc3128da722f75f878350aed2d90cefcb7ed5b998eef4a32d5?d=identicon)[tommysolsen](/maintainers/tommysolsen)

---

Top Contributors

[![tommysolsen](https://avatars.githubusercontent.com/u/1438488?v=4)](https://github.com/tommysolsen "tommysolsen (3 commits)")

### Embed Badge

![Health badge](/badges/apility-netflex-calendar-sync/health.svg)

```
[![Health](https://phpackages.com/badges/apility-netflex-calendar-sync/health.svg)](https://phpackages.com/packages/apility-netflex-calendar-sync)
```

###  Alternatives

[kitetail/zttp

A developer-experience focused HTTP client, optimized for most common use cases.

1.7k1.2M72](/packages/kitetail-zttp)[cpriego/valet-linux

A more enjoyable local development experience for Linux.

1.5k135.9k](/packages/cpriego-valet-linux)[freearhey/wikidata

A PHP client for working with Wikidata API.

5628.6k](/packages/freearhey-wikidata)[mvdnbrk/dhlparcel-php-api

DHL Parcel API client for PHP

3957.9k5](/packages/mvdnbrk-dhlparcel-php-api)[jofrysutanto/windsor

YAML-ised Configuration for ACF

549.2k](/packages/jofrysutanto-windsor)[agungsugiarto/codeigniter4-authentication

Provides an API for authentication and includes concrete authentication adapters for common use case scenarios

494.5k2](/packages/agungsugiarto-codeigniter4-authentication)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
