G
G
gladich2017-06-23 14:36:56
API
gladich, 2017-06-23 14:36:56

How to use the library after including it in composer?

I need to get order information through the retailCRM API using composer, but I don't know how to use it.
The Readme file has an example with code on how to get info. about the order, but where to insert it and how to work is not indicated.
I would appreciate a specific code action plan, as well as links to composer articles for beginner programmers :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita Bulochkin, 2017-09-26
@Nikitich369

Everything is very simple. If you are making a web application, then create a file in the root of the site (for example, retail.php). In which include the file autoload.php

<?php
require 'vendor/autoload.php';
?>

And that's it, you can use the API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question