dwoo-project / dwoo

[UNMAINTAINED] php template engine
http://dwoo.org
GNU Lesser General Public License v3.0
167 stars 58 forks source link

Provide more clear explanation on using Dwoo without Composer #78

Open Juribiyan opened 6 years ago

Juribiyan commented 6 years ago

On the project's Getting started page there's mentioned that you can use Dwoo without Composer. But there's no clear explanation on how to actually do it. In a similar issue there's a comment that says that "you need to include/require all files manually" such as:

require './lib/Dwoo/Core.php';
require ...

I tried scanning Dwoo directory and requiring every php file and I got this error:

Fatal error: Interface 'Dwoo\ICompiler' not found in <...>\lib\Dwoo\Compiler.php on line 33

I suppose this happens due to wrong order in which files are required (since I used scandir the order was probably alphabetical). What order is correct?

luzrain commented 6 years ago

I also interesting this.

Loreith commented 6 years ago

Bump