Coder Social home page Coder Social logo

milk_edi's Introduction

Milk EDI

Milk EDI is a PHP library for Amazon Vendor EDI(including 846,850,855,856, and 997). With more than a half year of pratice in an ERP system, this library should be stable to use.
However,due to the limitation on time in this project, there is still some limitation and some features are incompeleted. But it should be a good starting point for programmers who had no prior exprience with EDI implementation before.

Getting Started

These instructions will help you to get started and running on your php server for development and testing purposes.

Prerequisites

As2 protocol

We used as2 protocol to transfer EDI file between our server and Aamazon server. the following library is a 3rd party as2 protocol library for PHP.

This library is used for sending EDI file. If you have you other library to use, please change const variable

SEND_FELE_CLASS

in Class/Milk_EDIConfig.php and implment

SendFile

function in Milk_EDI.php

Built With

Milk EDI provided 3 html UI that help to access DataBase and visiualize all the data. The following libraries are only reqired to be installed if you need any UI in Controller folder to be worked properly. if you do not need any UI, this step can be skipped and Controller folder will not be working.

after install all the libraries above please configure Class/Milk_EDIConfig.php

Installing

  1. Implement MilkObject.php

GeneralDateHelper is a library for timming. OperateDBHelper.php is our server database access library.

Milk EDI use mysql and transaction. Implement and modify any function that is necessary.

  1. Run

Install.php make sure all tables are succesfully create

Running the tests

See TestCase folder for all different EDI file type testing. See Milk_EDI.php for all functions.

Contributing

For feature requests, bug reports or submitting pull requests, please ensure you first read CONTRIBUTING.md.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.