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

Installation via composer with Symfony 2.3.x #759

Open
mysterty opened this issue Jun 19, 2014 · 4 comments
Open

Installation via composer with Symfony 2.3.x #759

mysterty opened this issue Jun 19, 2014 · 4 comments

Comments

@mysterty
Copy link

hello, i'm having trouble installing the bundle.
I followed all step from https://github.com/symfony2admingenerator/AdmingeneratorGeneratorBundle/blob/master/Resources/doc/installation/installation-via-composer.md.
So added :

    "require": {
        "php": ">=5.3.3",
        "symfony/symfony": "2.3.*",
        ...,
    "cedriclombardot/admingenerator-generator-bundle": "2.3.*@dev"
    },
    "config": {
        "bin-dir": "bin",
        "component-dir": "web/components"
    },
    "minimum-stability": "dev",
   ...

but when i run composer update, i have this message :

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package cedriclombardot/admingenerator-generator-bundle could not be found in any version, there may be a typo in the package name.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see  for more details.

Read  for further common problems.

could you please help me ?

@ioleo
Copy link
Member

ioleo commented Jun 19, 2014

@mysterty Hi. This part of documentation needs an update. Sorry for your trouble.

There are only two major branches right now:

  • v1.1 with Twitter Bootstrap3 styles - I recommend this, as the other branch will not get more updates
  • v1.0 with old Twitter Bootstrap2 styles -> new features will not be added to this branch

So, add to your composer "cedriclombardot/admingenerator-generator-bundle": "~1.1"

@ioleo ioleo closed this as completed Jun 19, 2014
@ioleo ioleo reopened this Jun 19, 2014
@ioleo
Copy link
Member

ioleo commented Jun 19, 2014

TODO: update the documentation

@mysterty
Copy link
Author

Thx Loostro.

I tried also to follow the entire doc unless using : "1.2.*@dev" as bundle version, it works. But wich is the best ?

@ioleo
Copy link
Member

ioleo commented Jun 20, 2014

@mysterty 1.1 and 1.0 branches share the same functionality, they just use diffrent version of Bootstrap

however, future versions will be built upon 1.1 branch (bootstrap3) so I suggest you use that branch, as it will be easier to update to next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants