fuel/fuel — pull request #279 by lukearmstrong (2013-02-01 02:00:32+00:00)
Title: Replacing git submodules with composer

I stumbled across [composer/installers](https://github.com/composer/installers/) the other day, and I figured out how to use it to install core, modules and packages. I have submitted a PR to them [ https://github.com/composer/installers/pull/57 ] so that they can enable support, but you should be able to test what I have done as I have used [composer/satis](https://github.com/composer/installers/) to create my own temporary repository for installing composer packages.

[lukearmstrong/satis](https://github.com/lukearmstrong/satis) >> http://lukearmstrong.co.uk/satis/

```
lukea@ft02
/var/www/fuel $ composer install
Loading composer repositories with package information
Installing dependencies
- Installing fuelphp/upload (dev-master 7c8158a)
Cloning 7c8158a71d690013f57e796ee8a287cb8b6b5c4a

- Installing composer/installers (dev-fuelphp-support 7941e25)
Cloning 7941e25f5ef72870337bbe427b302823e82c6a66

- Installing fuel/core (dev-composer-installers cae0ffb)
Cloning cae0ffba70fa87a3ee671aefd5a43b679c6f220b

- Installing fuel/auth (dev-composer-installers 76ee813)
Cloning 76ee813763fb6d4f35885c1f0b90f19c36eca2da

- Installing fuel/email (dev-composer-installers 2233333)
Cloning 223333377bcfdc7d13f381deedbda1fc04fb8dd7

- Installing fuel/oil (dev-composer-installers 5da935e)
Cloning 5da935e28e610ef46a70307d883620c8696114dc

- Installing fuel/orm (dev-composer-installers c5d2787)
Cloning c5d27874b2671098c349292b37acc4ae2a58b550

- Installing fuel/parser (dev-composer-installers 920ed81)
Cloning 920ed81a6b53e3cea8d7d4c1b1a5537b7141a7e4

- Installing psr/log (1.0.0)
Loading from cache

- Installing monolog/monolog (1.3.1)
Loading from cache

monolog/monolog suggests installing mlehner/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
Writing lock file
Generating autoload files
```

I have submitted 6 other PRs to you.

https://github.com/fuel/core/pull/1310
https://github.com/fuel/auth/pull/46
https://github.com/fuel/email/pull/36
https://github.com/fuel/oil/pull/168
https://github.com/fuel/orm/pull/216
https://github.com/fuel/parser/pull/64

I am aware that the PRs aren't correct, as the composer.json files point to my personal repository and my branches, but this is just so that you can simply clone and run `composer install` to see it work.

If you like the idea, all you need to do is add the `fuel/*` repositories to https://packagist.org/

As a fair bit of effort went into this, I would appreciate being able to fix these PRs to make them point to the packages on packagist once you have added them, so please don't rewrite my commits as I won't get any "credit" for my work.