Create your own project project with a composer

I would like to clone symfony-standard-edition to create a project call, but with some user requirements.
Therefore, I do not need a Swiftmailer or Doctrine ORM, but I would like to have a PaginatorBundle.

I tried to copy and edit the .json composer from the standard edition and did:

composer.phar install

but it just set the provider directory and not everyone else, like the application folder, etc.

So how can I run:

composer.phar create-project symfony/framework-standard-edition myproject

with my edited composer .json?

+5
source share
1 answer

You can simply do composer.phar create-project symfony/framework-standard-edition myprojectto download the entire project, and then remove the packages that you do not need from composer.json, and run the update to remove them.

git symfony/symfony-standard github, , , composer.json.

+8

All Articles