定制 tiendanube/sample-php-app 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

tiendanube/sample-php-app

Composer 安装命令:

composer require tiendanube/sample-php-app

包简介

Sample app for Tienda Nube/Nuvem Shop.

README 文档

README

This is a sample app for the API of Nuvem Shop / Tienda Nube using the official SDK for PHP.

This app was made using Laravel. Be sure to check their documentation.

Installation

First, you will need to install Composer following the instructions on their site.

Then, simply run the following command:

composer create-project tiendanube/sample-php-app sample-app --prefer-dist

Alternatively, you may download the contents of this repository and run composer install from your project's root directory.

Configuration

Make sure to define your database connection in app/config/database.php, then run the provided migration:

php artisan migrate

Then add your app_id and app_secret to app/config/tiendanube.php. You might also want to change the auth filter in app/filters.php to use the login URL in Spanish or Portuguese.

Now you can test your app! Just set your redirect_uri to http://localhost:8000/auth and run a PHP server:

php artisan serve

When you visit http://localhost:8000 you will be taken to Tienda Nube/Nuvem Shop's login page. Log into your store and you will be prompted to install your app. Install it and the provided auth route will take care of obtaining and storing an access token.

统计信息

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

GitHub 信息

  • Stars: 10
  • Watchers: 11
  • Forks: 32
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固