Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support CakePHP 3.0 #5

Merged
merged 4 commits into from
Apr 2, 2015
Merged

Support CakePHP 3.0 #5

merged 4 commits into from
Apr 2, 2015

Conversation

justinyost
Copy link
Contributor

⚠️ WIP ⚠️

  • Move File Structure Around
  • Update to use Namespaces
  • Verify/Update code as needed to ensure working
  • Other things I'm not thinking of at the moment

@beporter
Copy link
Contributor

beporter commented Feb 3, 2015

Signal boost: #6 (comment)

@beporter beporter added review and removed wip labels Mar 31, 2015
@beporter
Copy link
Contributor

This should be operational, with the caveat that since you can't install the 3.0 version of this plugin via composer yet, you need to monkey with your consuming app's composer.json file.

To test manually in a base Cake 3.0 skeleton app:

  • Clone into myapp/plugins/ConfigRead/.

  • Edit myapp/composer.json to include:

    "autoload": {
        "psr-4": {
            "ConfigRead\\": "./plugins/ConfigRead/src"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "ConfigRead\\Test\\": "./plugins/ConfigRead/tests"
        }
    },
    
  • Edit config/bootstrap.php to include Plugin::load('ConfigRead');

@justinyost
Copy link
Contributor Author

Verified as basic feature set working in Cake3.

screen shot 2015-03-31 at 5 27 29 pm

@justinyost justinyost assigned beporter and unassigned justinyost Apr 1, 2015
beporter added a commit that referenced this pull request Apr 2, 2015
@beporter beporter merged commit b0c2a01 into master Apr 2, 2015
@beporter beporter deleted the cake-3.x branch April 2, 2015 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants