Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8493089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:54:40+00:00 2026-06-10T22:54:40+00:00

I am trying to bake models, controllers and views for my plugin in my

  • 0

I am trying to bake models, controllers and views for my plugin in my app called: admin. I am using windows 7. Bake works when baking an app and within the app.

This is what I am doing:

  1. cd c:\wamp\www\propharm\app (also tried without \app)
  2. cake bake plugin admin model

This is the folder my plugin resides in: C:\wamp\www\propharm\app\Plugin

I get this in response from the console.

Create the directory structure, AppModel and AppController classes for a
new plugin. Can create plugins in any of your bootstrapped plugin paths.

Usage:
cake bake plugin [-h] [-v] [-q] [<name>]

Options:

--help, -h     Display this help.
--verbose, -v  Enable verbose output.
--quiet, -q    Enable quiet output.

Arguments:

name  CamelCased name of the plugin to create.
      (optional)

I tried this:
in bootrap.php

CakePlugin::load('Admin');

Its still not working. If someone knows what I am doing wrong, please help. thanks.
Louis

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:54:41+00:00Added an answer on June 10, 2026 at 10:54 pm

    1) Bake your plugin:

    cake bake plugin PluginNameInCamelCase
    

    2) Bake everything else:

    cake bake controller ControllerName --plugin PluginNameInCamelCase
    

    See this page for further documentation in baking plugins: Creating Your Own Plugins with CakePHP

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

guys. I've been trying to bake some models, controllers, and views in CakePHP 1.3
Trying to write a windows speech recognition macro. Written using XML and scripting language
I'm trying to bake my controllers but I keep getting the following error: It's
Trying to understand how EDE works by using it to generate Makefiles for a
I'm trying to set up 'cake bake' on OS X. I'm using MAMP and
i am using Cakephp2 and i am trying to baking my application using commandprompt
Trying to install rattle on a windows server 2008 R2 64bit machine, using 64-bit
Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to figure out how I can do this properly. The print_r looks like
trying to figure out why this is happening - I have an input text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.