Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- setting up composer loader in eden-php
- -------------------------------
- 1. create a new folder app
- 2. put a file bootstrap.php inside folder app
- 3. put `include_once '../app/bootstrap.php';` in web/index.php file
- 4. create a composer.json file with what you need.
- 5. run php composer.phar / (or if you have installed composer) composer install
- 6. in app/bootstrap.php write the following `<?php require_once '/path/to/your/vendor/autoload.php/file'` - replace the path to your vendor autoload
- 7. check that everything runs okay.
- 8. Profit!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement