Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

This module allows users to find their waste collection schedules by entering their postcode and selecting their address. It can display schedules, allow downloads in iCal format, and includes plugins for integrating with different data providers like CSV files or Whitespace.

This module provides an interface for the viewing of waste collection schedules. It consists of a postcode-based property search form, an address selector, and a schedule viewer.

Features

  • Postcode-based property search
  • UPRN-based canonical URLs for easy linking to schedules
  • Download of calendar in ICS (iCal) format
  • Optional download of PDF collection calendar (uploaded, not generated)
  • Print-styled calendar
  • Plugin support for additional data providers
  • Optional public holiday support

Data provider plugins are included in sub-modules for:

A very simple example plugin is also provided.

A Webaspx (Routeware) plugin is in development.

Installing

Installation

You can install this module with the following composer command:

composer require drupal/localgov_waste_collection

No data providers are installed by default. Install the included CSV provider sub-module (README) via the Drupal UI or drush:

drush en localgov_waste_collection_csv_provider

Or the Whitespace sub-module (README) provider:

drush en localgov_waste_collection_whitespace_provider

Or the example provider sub-module (README):

drush en localgov_waste_collection_example_provider

Note that a data provider must be installed and configured for the module to operate.

Further details of these modules are in their respective module README.md files and the Data providers documentation.

Configuration

Install and configure a data provider plugin first.

The base module settings can be found in the Drupal admin UI under:

Configuration > Web services > Waste collection > Settings

Path: /admin/config/services/waste-collection/settings

Use this form to set the data provider and the base path for the module, and optionally public holiday support.

By default the base path is:

/waste-collection-schedule

If you prefer to set configuration via settings.php, add these lines to the settings file for your environment, replacing the values as required:

$config['localgov_waste_collection.settings']['active_data_provider'] = 'example_data_provider';
$config['localgov_waste_collection.settings']['waste_collection_path'] = '/my-custom-path';

Paths

If the UPRN is known for a property, the schedule can be accessed directly at:

{base_path}/view/{uprn}

A postcode search returning matching properties can be accessed directly at:

{base_path}/find?postcode={postcode}

Public holidays

If public holidays are enabled, the list of public holidays from https://www.gov.uk/bank-holidays.json will be used to detect any routine collection dates that fall on a holiday.

Use the Ignored holidays field to exclude any of the gov.uk supplied holidays.

Funding

The work to build this module and the Whitespace integration were funded by Dumfries and Galloway Council

The CSV and Webaspx integrations were funded by Westmorland and Furness Council

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
13
Tracked since
May 2025
Latest release
2 months ago
Releases (12 mo)
7 ▲ from 6
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.0-alpha12 Pre-release 10–11 Jun 4, 2026
1.0.0-alpha11 Pre-release 10–11 May 18, 2026
1.x-dev Dev 10–11 May 18, 2026
1.0.0-alpha10 Pre-release 10–11 Apr 16, 2026
1.0.0-alpha9 Pre-release 10–11 Apr 15, 2026
1.0.0-alpha8 Pre-release 10–11 Sep 16, 2025
1.0.0-alpha7 Pre-release 10–11 Sep 15, 2025
1.0.0-alpha6 Pre-release 10–11 Aug 12, 2025
1.0.0-alpha5 Pre-release 10–11 Jul 15, 2025
1.0.0-alpha4 Pre-release 10–11 Jun 30, 2025
1.0.0-alpha3 Pre-release 10–11 Jun 19, 2025
1.0.0-alpha2 Pre-release 10–11 May 22, 2025
1.0.0-alpha1 Pre-release 9–10 May 6, 2025