PHPR

Recommend this page to a friend!

      PHPR  >  PHPR package blog  >  How to Write Consiste...  >  All threads  >  PHPR  >  (Un) Subscribe thread alerts  
Subject:PHPR
Summary:missing files
Messages:3
Author:Marco Barbato
Date:2015-12-22 09:34:12
 

  1. PHPR   Reply   Report abuse  
Picture of Marco Barbato Marco Barbato - 2015-12-22 09:34:12
Hi,
I would like to test this library, but every sample begins with

require_once "../vendor/autoload.php";

and I cannot find that file anywhere inside the tarball...

something missing?

Cheers

Marco

  2. Re: PHPR   Reply   Report abuse  
Picture of Eustaquio Rangel de Oliveira Jr. Eustaquio Rangel de Oliveira Jr. - 2015-12-22 10:55:12 - In reply to message 1 from Marco Barbato
Hi Marco!

The autoload feature is used by Composer, if you're not using Composer you can safely remove that line and require all the files inside the src directory. I'll try to make this works if detected Composer is not used.

  3. Re: PHPR   Reply   Report abuse  
Picture of Marco Barbato Marco Barbato - 2015-12-22 14:04:38 - In reply to message 2 from Eustaquio Rangel de Oliveira Jr.
Thanks Eustaquio!
I'll let you know.

Merry Christmas!

 
For more information send a message to info at phpclasses dot org.