Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Can't include class through PHP #90

Open
ghost opened this issue Nov 23, 2017 · 10 comments
Open

Can't include class through PHP #90

ghost opened this issue Nov 23, 2017 · 10 comments

Comments

@ghost
Copy link

ghost commented Nov 23, 2017

It seems it's impossible to include this class with the require function within PHP, without getting a error message! How can I include the function to my website?! Please, tell us others how to do this, in your guide!

@mimmi20
Copy link

mimmi20 commented Nov 23, 2017

@edgren Did you try composer?

@ghost
Copy link
Author

ghost commented Nov 23, 2017

No. I just want to download the files and include them to my project, like almost everything else.

@mimmi20
Copy link

mimmi20 commented Nov 23, 2017

I dont think that will work, except you include every file from the project.

@grantmucha
Copy link

grantmucha commented Nov 23, 2017 via email

@jasomdotnet
Copy link

I want also do a manual include without composer autoload. Any tutorial on topic would be welcome :-)

@beroso
Copy link

beroso commented Mar 28, 2018

If you don't use composer, you'll need to figure out the individual require_once statements, in the correct order.
Why don't you want to use composer?

@jasomdotnet
Copy link

Ideal PHP script contains no require or include (it reduce script run times).

I want to avoid composer because it increase run time.

@ghost
Copy link
Author

ghost commented Apr 1, 2018

Thank you for your answers. I tried out Composer a while ago and today I love it :)

Why I didn't like Composer at first, was because I want kind of anti against installing new things to a library that have basically everything already.

@jasomdotnet
Copy link

great, keep loving it..

@faizanakram99
Copy link

I think this issue can be closed, it makes no sense in 2022 to not use composer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants