PHPackages                             roots/sage-woocommerce - 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. [API Development](/categories/api)
4. /
5. roots/sage-woocommerce

AbandonedArchivedLibrary[API Development](/categories/api)

roots/sage-woocommerce
======================

WooCommerce integration for Sage 9

1.0.5(4y ago)211265.8k↓25%56[8 issues](https://github.com/roots/sage-woocommerce/issues)2MITPHP

Since Aug 2Pushed 4y ago19 watchersCompare

[ Source](https://github.com/roots/sage-woocommerce)[ Packagist](https://packagist.org/packages/roots/sage-woocommerce)[ GitHub Sponsors](https://github.com/roots)[ Patreon](https://www.patreon.com/rootsdev)[ RSS](/packages/roots-sage-woocommerce/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)DependenciesVersions (7)Used By (2)

WooCommerce integration for Sage 9 themes
=========================================

[](#woocommerce-integration-for-sage-9-themes)

This package enables WooCommerce integration with Sage 9 themes and Blade templates.

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

[](#installation)

Install the package **in your theme folder**:

```
cd wp-content/themes/your-sage-theme-folder
composer require roots/sage-woocommerce
```

Usage
-----

[](#usage)

Create `/resources/views/woocommerce` folder in your theme and place there any template used by WooCommerce with `.blade.php` extension. This template will be loaded instead of a template from the WooCommerce plugin. If you want to replace particular template, please have a look into plugin folder `woocommerce/templates` and use same folder structure and file name (and change the extension to `.blade.php`) as the original template.

By default, you will get an error message that themes without `header.php`, `footer.php` and `sidebar.php` are deprecated. You have to replace `single-product.php` and `archive-product.php` templates with your Blade template. You can find those two files in `/examples/resources/views/woocommerce` folder of this package. The trick is not to use `get_header`, `get_footer` or `get_sidebar` functions, because it's handled differently with Blade. Instead of that, you can use actions:

```
do_action('get_header', 'shop');
do_action('get_sidebar', 'shop');
do_action('get_footer', 'shop');
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity52

Moderate usage in the ecosystem

Community29

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~236 days

Recently: every ~291 days

Total

6

Last Release

1664d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/2104321?v=4)[QWp6t](/maintainers/QWp6t)[@QWp6t](https://github.com/QWp6t)

---

Top Contributors

[![mmirus](https://avatars.githubusercontent.com/u/524994?v=4)](https://github.com/mmirus "mmirus (7 commits)")[![mejta](https://avatars.githubusercontent.com/u/498441?v=4)](https://github.com/mejta "mejta (6 commits)")[![kingkero](https://avatars.githubusercontent.com/u/2728418?v=4)](https://github.com/kingkero "kingkero (2 commits)")[![retlehs](https://avatars.githubusercontent.com/u/115911?v=4)](https://github.com/retlehs "retlehs (1 commits)")[![knowler](https://avatars.githubusercontent.com/u/6908001?v=4)](https://github.com/knowler "knowler (1 commits)")[![khaiknievel](https://avatars.githubusercontent.com/u/5792500?v=4)](https://github.com/khaiknievel "khaiknievel (1 commits)")[![GiulioPecorella](https://avatars.githubusercontent.com/u/7009761?v=4)](https://github.com/GiulioPecorella "GiulioPecorella (1 commits)")

### Embed Badge

![Health badge](/badges/roots-sage-woocommerce/health.svg)

```
[![Health](https://phpackages.com/badges/roots-sage-woocommerce/health.svg)](https://phpackages.com/packages/roots-sage-woocommerce)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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