Download the PHP package cultuurnet/culturefeed without Composer

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

Culturefeed

Build Status

Important note

In november 2019, publiq vzw (formerly known as CultuurNet) starts the End of Support phase of the Culturefeed Drupal 7 module suite. This means that you can continue to use Culturefeed, but publiq vzw will not invest anymore in this Drupal 7 module suite.

As an exception, critical security updates will still be provided if needed.

The End of Life (EOL) date of the module suite is set to the same date as the EOL of Drupal 7 core, ie. November 2021 (https://www.drupal.org/psa-2019-02-25).

We built this final 4.0 release, which contains a major security update, and some incompatible changes compared to the latest 3.10.2 release. Some less used modules are moved to a separate repository. If you update to this version please check & should you use one of these modules, reinstall them from a separate repository. After that all things should work as usual.

Alternatives

As an alternative for the Culturefeed Drupal 7 module suite, publiq vzw focused on:

We also have a Drupal 8 version on https://github.com/cultuurnet/culturefeed_d8 with the most commonly used modules culturefeed_agenda, culturefeed_content, culturefeed_search, culturefeed_search_api and culturefeed_user.

However, these modules will not contain the full functionality as was provided in the Drupal 7 edition, and it will not be heavily extended by publiq the same way we did this for the Drupal 7 edition. We are still happy to review and accept pull requests from external developers or partners, though.

Info

Drupal module suite for building an event site based on events gathered in an external backoffice "outdatabase" (UiTdatabank), but with the extra tools you can do a lot more. For this version you can only use it having a key and secret from the UiTdatabank or use the demo key from this page.

Live demo connecting production API only available from 7:00 till 20:00 (Brussels timezone)

Live demo connecting acceptance API only available from 7:00 till 20:00 (Brussels timezone)

Important note
Since the culturefeed 3.6 release PHP v5.5 is the minimum requirement and also the PHP INTL extension is needed. To install the extension on your system take a look at this blogpost.

Culturefeed-kickstart

When you start with a clean Drupal install or just for setting up a quick demo site we created a Drupal install profile ("Installation profiles provide specific site features and functions for a specific purpose or type of site distributions"). This included also a shell script (Build.sh) which downloads:

Install

Prerequisites:

Place the module suite in your sites/*/modules folder, you can do this with GIT or download it here.

Afterwards copy the composer.json file from the root of the module suite to the root directory of your Drupal. If you use already composer.json you have to add the required libraries.

After that run composer install or composer update if already using composer. This will download our libraries and add a theme to a vendor directory. It will also create a composer.lock file. Typical we add vendor/* to the .gitignore file.

Last step is to include autoload.php in your settings.php file of your site.

You should now be able to enable the modules (typically you start with culturefeed, culturefeed_ui, culturefeed_search, culturefeed_search_ui and culturefeed_agenda) and fill in your key and secret:

It's a good practice to connect your user/1 (admin) user with a UiTID account:

If this works culturefeed core is configured well. And if you get results at the path agenda/search culturefeed_search is working as well.

Tutorials

We created 3 tutorials to integrate the most common use cases:

PHP libraries

Most of the modules have an dependency on these PHP libraries. See "Install" how to install theme with composer.

CultuurNet\Cdb

Fluent PHP library for manipulating, serializing and deserializing data present in CultuurNet's CdbXML 3.2 or 3.3 format

https://github.com/cultuurnet/cdb

CultuurNet\Search

Php library for creating SOLR queries (basic SOLR queries and custom business logic)

https://github.com/cultuurnet/Search

CultuurNet\Auth

The consumer-side of the authentication flow of CultuurNet's UiTID, which is based on OAuth 1.0a Core solid base for consumers of various OAuth-protected resources provided by CultuurNet

https://github.com/cultuurnet/Auth

CultuurNet\CultureFeed-PHP

Integration of all UiTID API calls.

https://github.com/cultuurnet/culturefeed-php

CultuurNet\calendar-summary

The calendar-summary PHP takes a CultureFeed_Cdb_Data_Calendar object (hence the dependency on cultuurnet/cdb, and formats it. Right now there's a HTML formatter and a plain text formatter. Current options: 'lg' (for permanent events only this option is available), 'md', 'md', 'sm', 'xs'.

https://github.com/cultuurnet/calendar-summary

CultuurNet\sitemap-xml-php

PHP library for writing sitemap XML conform with the sitemaps.org schema. Example see http://www.uitinvlaanderen.be/sitemap.xml. Only needed when you turn on the culturefeed_sitemap module.

https://github.com/cultuurnet/sitemap-xml-php

Theme

Culturefeed Bootstrap is the only supported and recommended base theme for Culturefeed. It's a responsive subtheme of the Bootstrap Framework and has it's own subtheme to start from. But of course you can implement Culturefeed in your prefered theme as well.

https://github.com/cultuurnet/culturefeed_bootstrap

Modules

Please enable only the modules you need.

Culturefeed core

Core of the module suite and is required by the other modules. It provides the settings form where you can enter the API Information.

More info at wiki page

Culturefeed_search

Base framework to enable searches on your site. Out of the box this module doesn't provide any interface elements (use Culturefeed Search UI and Culturefeed Agenda instead). It provides some drush commands and caching.

More info at wiki page

Culturefeed_agenda

Provides a Culturefeed search page available on 'agenda/search' and detail pages. The blocks provided by this module can be used to extend the detail pages of events, actors and productions. Includes also a simple search form.

More info at wiki page

Culturefeed_search_ui

Basic elements to build up an event search (such as provided by Culturefeed Agenda).

More info at wiki page

To integrate a search page we also wrote a tutorial.

Culturefeed_search_views

Views integration to list events, actors or productions. To create culturefeed views, create a new view and configure it to show Cdb items. Once the view is created, following handlers can be set:

More info at wiki page

Culturefeed_devel

This module logs every query to our API, on the screen for admins or to the watchdog. Handy tool to check which is the performance killer, your Drupal install or our API's.

Culturefeed_entry_ui

Functions to do a CRUD on events are already in library, but we are building a form to create, update and delete events in our UiTdatabank as well.

More info at wiki page

Culturefeed_pages

User can create a page (locations, performers, families, schools, …) or become member and follower.

Wiki page not yet available

Culturefeed_ui

Provides a collection of pages and blocks to enhance the user pages with UiTID information. To do this it will override and/or enhance the default Drupal user pages. Some features:

More info at wiki page

To integrate UiTID we also wrote a tutorial.

Culturefeed_social

All ‘social’ features: likes, comments, attends, etc.

More info at wiki page

Culturefeed_uitpas

Integration with the UiTPAS card system. It contains multiple pages and blocks that can be used to build an interface that allows:

More info at wiki page

To integrate UiTPAS we wrote a tutorial.

Culturefeed_mailing

To create mailings with search results from event (based on lifestyleprofile, Vlieg weekendflash, …). Not yet available for partners. Please contact us if interested.

Culturefeed_messages

Send messages to other users (most likely page owners), interesting when actors become pages.

Culturefeed_userpoints_ui

Collect on line userpoints (for specific actions like writing reviews) and claim promotions (Vlieg). Not yet available for partners. Please contact us if interested.

Culturefeed_roles

Pre-assign roles to UiTID users that have not logged in yet. Drush integration.

Culturefeed_calendar

UiTkalender functionality not yet released on UiTinVlaanderen (some extra features are going to be added in next release)

Culturefeed_content

Adds a CultureFeed content field to add a search query to any of your content types.

Culturefeed_saved_searches

With this functionality your user can save a search and create alerts from it.

Culturefeed_sitemap

Creates a sitemap for events, productions and actors, see example http://www.uitinvlaanderen.be/sitemap.xml.

Examples

There already a lot of integrations live on the 3.x version (and still counting):

License

Apache-2.0


All versions of culturefeed with dependencies

PHP Build Version
Package Version
Requires composer/composer Version ~1.0
cultuurnet/search Version ~1.2
cultuurnet/cdb Version ~2.1
cultuurnet/culturefeed-php Version ~1.6
cultuurnet/calendar-summary Version ~1.0
cultuurnet/sitemap-xml Version ~1.0
cultuurnet/data-validation Version dev-master
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 cultuurnet/culturefeed contains the following files

Loading the files please wait ....