Coder Social home page Coder Social logo

Without Composer about flintstone HOT 3 CLOSED

fredtempez avatar fredtempez commented on June 5, 2024
Without Composer

from flintstone.

Comments (3)

damijanc avatar damijanc commented on June 5, 2024

One way would be to do composer dump-autoload -o This will create an file that you can then use in the use statement.

Other option would be to autoload files yourself spl-autoload-register

Third option would be to include all the files in the code.

What is the reason for not using the composer?

from flintstone.

fredtempez avatar fredtempez commented on June 5, 2024

The project (ZwiiCMS) don't use composer but an original loading system. I'd like to keep this tree folder without composer structure.

Obviously I can run Flintstone with composer but not without it.

I tried first and third option without success.
first - what file should I find and how use it ?
third - I loaded the 5 php file, but I still get error, should I download files in sub-dirs ?

Sorry for all theses questions and thanks giving me a sample.

from flintstone.

fredtempez avatar fredtempez commented on June 5, 2024

I made it with a handy autoload.php in flintstone folder and spl_autoload_register() !

Thank for you help, you showed me the way :)

from flintstone.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.