Skip to content

How to Install Shield for CodeIgniter 4 without composer #581

Answered by datamweb
datamweb asked this question in Q&A
Discussion options

You must be logged in to vote

Step 1: Download the latest version of Codeigniter4.
Extract file framework-4.x.x.zip in any path (eg. P:\ShieldTest)

Step 2: Download the latest version of Settings.
Extract file settings-2.x.x.zip in P:\ShieldTest\framework-4.x.x\app\ThirdParty

Step 3: Download the latest version of Shield.
Extract file shield-1.0.0-beta.3.zip in P:\ShieldTest\framework-4.x.x\app\ThirdParty

Step 4: Edit file P:\ShieldTest\framework-4.x.x\app\Config\Autoload.php :

    public $psr4 = [
        APP_NAMESPACE => APPPATH, // For custom app namespace
        'Config'      => APPPATH . 'Config',
        // add this lines
        'CodeIgniter\\Settings' => APPPATH . 'ThirdParty/settings-2.1.0/src',
        'Cod…

Replies: 3 comments 10 replies

Comment options

datamweb
Jan 4, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by datamweb
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
10 replies
@Mashen23
Comment options

@kenjis
Comment options

@Mashen23
Comment options

@kenjis
Comment options

@Mashen23
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants