Welcome Guest, Not a member yet? Register   Sign In
Composer question
#15

Yes, the heart and soul of CodeIgniter are in the /vendor/codeigniter4 folder. You don't need to specify the /vendor/codeigniter4 folder when extending it. CodeIgniter knows where it are located and will find itself. You can always extend \CodeIgniter, \App etc no matter where CodeIgniter files are located.

Your own code are in /app and you should NEVER touch the files in /vendor.

If we have replaced some app specific files for example /app/Config/Routes.php you will need to grab that file from /vendor/codeigniter4/app/Config/Routes.php, and patch the changes in your file.

At the time of writing these folders needs to be checked for changes:
/app/Config/
/app/Controllers
/app/Views/

There can however (of course) be new files (or directories) added to the default /app folder, or /tests, /writable etc.
https://codeigniter.com/user_guide/insta...#upgrading
Reply


Messages In This Thread
Composer question - by muuucho - 03-17-2020, 06:32 AM
RE: Composer question - by jreklund - 03-17-2020, 12:19 PM
RE: Composer question - by muuucho - 03-18-2020, 04:54 AM
RE: Composer question - by jreklund - 03-18-2020, 12:06 PM
RE: Composer question - by muuucho - 03-20-2020, 03:27 AM
RE: Composer question - by jreklund - 03-20-2020, 10:58 AM
RE: Composer question - by muuucho - 03-21-2020, 10:06 AM
RE: Composer question - by jreklund - 03-21-2020, 10:20 AM
RE: Composer question - by muuucho - 03-21-2020, 02:13 PM
RE: Composer question - by jreklund - 03-21-2020, 02:18 PM
RE: Composer question - by muuucho - 03-22-2020, 06:00 AM
RE: Composer question - by MGatner - 03-23-2020, 09:30 AM
RE: Composer question - by muuucho - 03-24-2020, 02:21 AM
RE: Composer question - by elserra - 04-17-2020, 04:00 PM
RE: Composer question - by jreklund - 04-18-2020, 02:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB