Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Create symfony bundle using command line

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1
    • 0
    • 407
    Comment on it

    Create new bundle using commands:

    Run the following command to create new bundle:

    # php app/console generate:bundle

     

    Following are some options which need to fill after running the above command:

     

    Welcome to the Symfony bundle generator!                                

    - Are you planning on sharing this bundle across multiple applications? [no]: yes

    - Bundle namespace: BundleName(provide bundle name)

    - Target Directory [src/]: leave blank  for default

    - What format do you want to use for your generated configuration?
      Configuration format (annotation, yml, xml, php) [xml]: yml

     

    Following are the structure of bundle folder and files to change:

    Bundle location: symfony/src/App/BundleName

    Bundle is created with all the basic files and entries. You can change the bundle files as per your requirement.

    Create symfony bundle using command line

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: