{"id":21916924,"url":"https://github.com/iolevel/wpdotnet-woocommerce","last_synced_at":"2026-04-09T23:33:03.571Z","repository":{"id":249803146,"uuid":"832588407","full_name":"iolevel/wpdotnet-woocommerce","owner":"iolevel","description":"WooCommerce for .NET","archived":false,"fork":false,"pushed_at":"2024-07-29T10:54:15.000Z","size":18861,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-27T09:29:39.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iolevel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T10:22:36.000Z","updated_at":"2024-11-25T09:30:58.000Z","dependencies_parsed_at":"2024-07-29T14:23:40.801Z","dependency_job_id":null,"html_url":"https://github.com/iolevel/wpdotnet-woocommerce","commit_stats":null,"previous_names":["iolevel/wpdotnet-woocommerce"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolevel%2Fwpdotnet-woocommerce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolevel%2Fwpdotnet-woocommerce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolevel%2Fwpdotnet-woocommerce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iolevel%2Fwpdotnet-woocommerce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iolevel","download_url":"https://codeload.github.com/iolevel/wpdotnet-woocommerce/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937740,"owners_count":20535124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T19:21:48.665Z","updated_at":"2026-04-09T23:32:58.536Z","avatar_url":"https://github.com/iolevel.png","language":"PHP","funding_links":["https://www.patreon.com/pchpcompiler"],"categories":[],"sub_categories":[],"readme":"# WooCommerce for .NET\n\nThis project builds WooCommerce from the sources on top of .NET. It can be used as a dependency by a regular ASP.NET Core application or self-hosted.\n\n## Background\n\nFirst, we created a project called [WpDotNet](https://github.com/iolevel/wpdotnet-sdk) - WpDotNet is the entire [WordPress](https://wordpress.org/download/) compiled to a .NET `.dll` using [PeachPie](https://peachpie.io) - the PHP to .NET compiler. In addition, it provides a few APIs written purely in C# to add _WordPress_ as [middleware](https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-8.0) to a new or existing ASP.NET Core application.\n\nWith WordPress compiled to a .NET assembly, including all the functions and classes compiled along with strongly typed metadata, we wrapped it in a NuGet package. We can then use this as a dependency to build WordPress plugins separately as .NET assemblies, as well.\n\nSee [PeachPie](https://www.peachpie.io/) for more details, and please consider supporting us on [Patreon](https://www.patreon.com/pchpcompiler) to get access to release builds and nightly builds, a private forum, custom tutorials and blogs and much more 😊\n\n## Sample App\n\nSee the `app` folder with a minimal ASP.NET Core application. It references the WpDotNet package and WooCommerce project.\n\nThe sample app requires you to start MySql by yourself, port 3306, having database `wordpress`.\n\n## How to use WooCommerce on .NET?\n\n\u003e TBD\n\n## Structure\n\n- `woocommerce`\n\n    Copy of [WooCommerce](https://woocommerce.com/download/) sources\n    \n- `woocommerce/woocommerce.msbuildproj`\n\n    MSBuild project file that utilizes [PeachPie](https://peachpie.io) compiler to compile `.php` source files to a .NET `.dll` assembly. The project references all of WordPress from a NuGet package (see [WpDotNet](https://github.com/iolevel/wpdotnet-sdk)).\n\n- `global.json`\n\n    Versions of [PeachPie](https://peachpie.io) and [WpDotNet](https://github.com/iolevel/wpdotnet-sdk) used for compilation. Versions need to correspond to each other.\n\n- `app`\n\n    Sample ASP.NET Core application. Run `dotnet run` within the directory to launch WordPress with WooCommerce. Open the app on http://localhost:5004 .\n\n## Disclaimer\n\n**Work in progress**. Based on our discussion on [discord/peachpie.io](https://discord.com/channels/1198334116182102177/1198335586222743594).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiolevel%2Fwpdotnet-woocommerce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiolevel%2Fwpdotnet-woocommerce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiolevel%2Fwpdotnet-woocommerce/lists"}