Welcome Guest, Not a member yet? Register   Sign In
Composer vendor folder instead system
#1

Hi , i have a project with system folder , when i try to install phpspreadsheet from GitHub It create a vendor folder , but ci work with system folder, i try to change system with vendor on config->Path but have error because CI search system..
Reply
#2

(This post was last modified: 02-25-2023, 05:39 AM by luckmoshy.)

No CI also works  with composer and creates vendor folder in order to achieve this do
Code:
composer create-project codeigniter4/appstarter your-project

otherwise find App/autoload.php

and register your repo
PHP Code:
public $psr4 = [
        APP_NAMESPACE => APPPATH// For custom app namespace
        'Config'      => APPPATH 'Config',
        'App\Thirdparty =>ROOTPATH . 'src/your/something.php',//full qualify namespace
    ]; 
Codeigniter First, Codeigniter Then You!!
yekrinaDigitals

Reply
#3

for me , i think the lesson i learned is to start from the very beginning to use composer to install Ci4 , then everything else remains ship shape and tidy , when you install further stuff.
CMS CI4     I use Arch Linux by the way 

Reply




Theme © iAndrew 2016 - Forum software by © MyBB