jaxon-php / jaxon-codeigniter

Jaxon library integration for the CodeIgniter framework https://www.jaxon-php.org.
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

plugin fails CI3/applications/composer.json... installed with composer.json #2

Closed zigmoo closed 7 years ago

zigmoo commented 7 years ago

At http://zigmoo.us/ci3/index.php/demo, Using CodeIgniter 3.0.4 and the jaxon-codeigniter "demo" controller from https://github.com/jaxon-php/jaxon-codeigniter/blob/master/README.md:

composer.json:

{
    "description": "The CodeIgniter framework",
    "name": "codeigniter/framework",
    "type": "project",
    "homepage": "https://codeigniter.com",
    "license": "MIT",
    "support": {
        "forum": "http://forum.codeigniter.com/",
        "wiki": "https://github.com/bcit-ci/CodeIgniter/wiki",
        "irc": "irc://irc.freenode.net/codeigniter",
        "source": "https://github.com/bcit-ci/CodeIgniter"
    },
    "require": {
        "php": ">=5.2.4",
        "jaxon-php/jaxon-codeigniter": "~2.0",
        "jaxon-php/jaxon-core": "~2.0"
    },
    "suggest": {
        "paragonie/random_compat": "Provides better randomness in PHP 5.x"
    },
    "minimum-stability": "dev"
  }

error output:

Fatal error: Trait 'Jaxon\Module\Traits\Module' not found in /application/libraries/Jaxon.php on line 6
A PHP Error was encountered

Severity: Error

Message: Trait 'Jaxon\Module\Traits\Module' not found

Filename: libraries/Jaxon.php

Line Number: 6

Backtrace:
feuzeu commented 7 years ago

The version 3 of the CodeIgniter framework does not natively support Composer. The Composer vendor/autoload.php file must therefore be manually included in the application.

The README file was updated.