PHPackages                             riccardomel/woocommerce-sage-10 - 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. riccardomel/woocommerce-sage-10

ActiveLibrary[API Development](/categories/api)

riccardomel/woocommerce-sage-10
===============================

WooCommerce integration for Sage 10

1.0.0(4y ago)027MITPHP

Since May 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/riccardomel/woocommerce-sage-10)[ Packagist](https://packagist.org/packages/riccardomel/woocommerce-sage-10)[ RSS](/packages/riccardomel-woocommerce-sage-10/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

WooCommerce integration for Sage 10 themes
==========================================

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

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

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

[](#installation)

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

```
cd wp-content/themes/your-sage-theme-folder
```

open composer.json and add:

```
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/riccardomel/woocommerce-sage-10"
    }
  ],
  "require": {
    ... OTHER  REQUIRE HERE ...
     "riccardomel/woocommerce-sage-10": "1.0.0"
  },
```

then:

```
composer install

```

Add package path to Sage view namespaces in config/view.php:

```
'namespaces' => [
   'SageWoocommerce' => get_theme_file_path('/vendor/riccardomel/woocommerce-sage-10/src/views'),
],

```

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');
```

Useful Links
------------

[](#useful-links)

Templates: [WooComm templates](https://docs.woocommerce.com/document/template-structure/)

Original: [Woocommerce for Sage 9](https://github.com/roots/sage-woocommerce)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

1823d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9898704?v=4)[Riccardo Mel](/maintainers/riccardomel)[@riccardomel](https://github.com/riccardomel)

---

Top Contributors

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

### Embed Badge

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

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

###  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)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

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

PHP wrapper for the Meilisearch API

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

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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