Comments (3)
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.
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.
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)
- changing the replace method visibility HOT 2
- JSON Format HOT 1
- Object Storage HOT 7
- Cannot add key/value to same ID HOT 1
- Update only one name in database HOT 1
- flintstone Injections HOT 3
- Registration form and checking email and login HOT 6
- Where is the Distribution version? HOT 1
- Performance considerations HOT 4
- set returns void instead of bool HOT 1
- Unserialize Notice HOT 2
- Use magic methods HOT 2
- location of database? HOT 1
- package releases as phar
- Flinstone out of composer
- Add contains/has_key method to support boolean type data
- why you use flush not truncate/clearAll to clear the database? HOT 1
- Sometimes gets "stuck" setting a key/value HOT 1
- Idea: support CSV files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flintstone.