PHPackages                             dnadesign/silverstripe-googlesitesearch - 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. [Search &amp; Filtering](/categories/search)
4. /
5. dnadesign/silverstripe-googlesitesearch

ActiveSilverstripe-vendormodule[Search &amp; Filtering](/categories/search)

dnadesign/silverstripe-googlesitesearch
=======================================

Add Google Site Search to your SilverStripe Site.

1.0.0(9y ago)96.2k10[1 issues](https://github.com/dnadesign/silverstripe-googlesitesearch/issues)BSD-3-ClausePHP

Since Aug 12Pushed 7y ago14 watchersCompare

[ Source](https://github.com/dnadesign/silverstripe-googlesitesearch)[ Packagist](https://packagist.org/packages/dnadesign/silverstripe-googlesitesearch)[ Docs](https://github.com/dnadesign/silverstripe-googlesitesearch)[ RSS](/packages/dnadesign-silverstripe-googlesitesearch/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (1)Used By (0)

Google Site Search Module
=========================

[](#google-site-search-module)

Requirements
------------

[](#requirements)

- SilverStripe 4

Documentation
-------------

[](#documentation)

Adds the ability for a user to search the site through Google Site Search. This is done via a new Page in the CMS (GoogleSiteSearchPage) and results are fetched from Google via ajax. The search form and results are free to style via CSS.

1. Sign up for [www.google.com/sitesearch](http://www.google.com/sitesearch)
2. Install this module to your site root folder named `googlesitesearch`
3. Rebuild your database using `dev/build`
4. Enter your Google CSE CX and key values in the CMS under a new instance of the newly added GoogleSiteSearchPage or through the config flag `GoogleSiteSearchPage.cse_key` and `GoogleSiteSearchPage.cse_cx` respectively.
5. Add the default search form to your controller (or use your own extension for styling / changing the form). In mysite/\_config/googlesitesearch.yml add the following:

    Controller: extensions:

    - GoogleSiteSearchDefaultFormExtension
6. Add a search form to your `Page.ss` template $GoogleSiteSearchForm

Ensure you read the Google Custom Search Terms before installing the module and agree to the terms and conditions

Customization
-------------

[](#customization)

Full HTML control is available by providing a custom `GoogleSiteSearchPage`template on the page. Since the results are loaded via AJAX, [John Resig's Micro Templating](http://ejohn.org/blog/javascript-micro-templating/)is used to provide basic utility templates in results, header and footer templates.

Out of the box a basic header message and pagination in the footer is provided but you are free to alter the page as you need to. More documentation on the available data to output to the template (such as file information) is at [developers.google.com/custom-search/v1/using\_rest](https://developers.google.com/custom-search/v1/using_rest)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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

3561d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/efd88fa106982bcf2e3cd689e6a37d352c54308d14dedeac4ac477a47a432363?d=identicon)[DNADesign](/maintainers/DNADesign)

---

Top Contributors

[![wilr](https://avatars.githubusercontent.com/u/101629?v=4)](https://github.com/wilr "wilr (20 commits)")[![jonom](https://avatars.githubusercontent.com/u/1079425?v=4)](https://github.com/jonom "jonom (3 commits)")[![meurashka](https://avatars.githubusercontent.com/u/8304360?v=4)](https://github.com/meurashka "meurashka (1 commits)")[![muskie9](https://avatars.githubusercontent.com/u/870751?v=4)](https://github.com/muskie9 "muskie9 (1 commits)")

---

Tags

searchsilverstripeseogooglesitesearch

### Embed Badge

![Health badge](/badges/dnadesign-silverstripe-googlesitesearch/health.svg)

```
[![Health](https://phpackages.com/badges/dnadesign-silverstripe-googlesitesearch/health.svg)](https://phpackages.com/packages/dnadesign-silverstripe-googlesitesearch)
```

###  Alternatives

[quinninteractive/silverstripe-seo

An all-in-one SEO module for SilverStripe

3328.2k](/packages/quinninteractive-silverstripe-seo)[silverstripe/solr

Solr integration for SilverStripe. Note that this is NOT related to the silverstripe/fulltext package.

1914.0k](/packages/silverstripe-solr)[g4b0/searchable-dataobjects

This module adds DataObjects to frontend search

254.9k](/packages/g4b0-searchable-dataobjects)

PHPackages © 2026

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