承接 sandipchandela/bigcommerce-php 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sandipchandela/bigcommerce-php

最新稳定版本:1.0.1

Composer 安装命令:

composer require sandipchandela/bigcommerce-php

包简介

The bigcommerce php based on PHP

README 文档

README

Overview

This is a basic BigCommerce app built with PHP 8.3 that handles installation, uninstallation, and various callbacks.

Prerequisites

  • PHP 8.3
  • Composer
  • MongoDB or MySQL
  • Ngrok (for local testing)

Setup

  1. Clone the repository:

    git clone https://github.com/sandipchandela/bigcommerce-php.git
    cd bigcommerce-php
  2. Install dependencies:

    composer install -vvv
  3. Configure environment variables:

Create a .env file in the root directory with the following content:

APP_HOSTNAME=<your_ngrok_hostname>	
DB_URI=<your_mongo_db_uri>	
BC_CLIENT_SECRET=<your_bigcommerce_client_secret>	
SCOPES=store_v2_content,store_v2_information,store_v2_settings

DB_HOST=localhost
DB_NAME=bigc-app
DB_USER=root
DB_PASS="@)@$CatchMe123
BC_CLIENT_SECRET=<bigcommerce_client_secret>
  1. local server with Ngrok
    ngrok http 80

Routes

  • Auth Callback URL: /bigcommerce/install
  • Load Callback URL: /bigcommerce/load
  • Uninstall Callback URL: /bigcommerce/uninstall
  • Webhook Listener URL: /bigcommerce/webhook

Testing

Run PHPUnit tests:

./vendor/bin/phpunit tests -vvv

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-08-04