X
X
xaam2016-02-01 14:30:20
PHP
xaam, 2016-02-01 14:30:20

How to connect DiDOM without composer?

Good afternoon, dear, I am writing my own parser, I was advised to use this one:
https://github.com/imangazaliev/didom
As I understand it, to install it on the hosting, there must be a composer.
On my hosting ( hostingru.net/) it is apparently not there, that's what the support responded to the installation question

Tell me, I want to use the composer library in my project
. How can I install it locally? it says that you need to run the command curl -s https://getcomposer.org/installer | php
But did not understand where it should be performed?
From: Alexander - 2016-02-01 14:37:51
Hello!
You can install your libraries on dedicated servers.

How can I connect DiDOM without composer?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg Ostovsky, 2016-02-01
@xaam

https://github.com/Imangazaliev/DiDOM/archive/mast...

V
Vladislav Chernyshov, 2017-12-15
@vlad4ernyshov

Download the file from the link.
https://github.com/Imangazaliev/DiDOM/archive/mast... Include
in the required file like this:
require_once('DiDom/ClassAttribute.php');
require_once('DiDom/Document.php');
require_once('DiDom/Element.php');
require_once('DiDom/Encoder.php');
require_once('DiDom/Errors.php');
require_once('DiDom/Query.php');
require_once('DiDom/StyleAttribute.php');
require_once('DiDom/Exceptions/InvalidSelectorException.php');
use DiDom\ClassAttribute;
use DiDom\Document;
use DiDom\Element;
use DiDom\Encoder;
use DiDom\Errors;
use DiDom\Query;
use DiDom\StyleAttribute;
use DiDom\Exceptions\InvalidSelectorException;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question