Re: [fw-general] ZF2 create own library

2012-09-23 Thread Ralf Eggert
Hi again, > Two things: > > * First, use "dev-master" as the version > * Second, add a "minimum-stability" key to your composer.json. > > Here's an example: > > "minimum-stability": "dev", > "require": { > "php": ">=5.3.3", > "zendframework/zendframework": "2.*", >

Re: [fw-general] ZF2 create own library

2012-09-21 Thread Matthew Weier O'Phinney
-- Ralf Eggert wrote (on Friday, 21 September 2012, 10:59 PM +0200): > Hi, > > I have another issue which is related to composer. I guess it is not > really a ZF specific issue, but since others probably have done the same > maybe someone could help me. > > I have a repository on github https://

Re: [fw-general] ZF2 create own library

2012-09-21 Thread Matthew Weier O'Phinney
-- Ralf Eggert wrote (on Friday, 21 September 2012, 10:26 PM +0200): > > Do this. But it doesn't have to be a module. If it's library code, it's > > library code. You can setup a custom packagist repo for your own > > libraries, and use that in your project composer.json so that you can > > instal

Re: [fw-general] ZF2 create own library

2012-09-21 Thread Ralf Eggert
Hi, I have another issue which is related to composer. I guess it is not really a ZF specific issue, but since others probably have done the same maybe someone could help me. I have a repository on github https://github.com/RalfEggert/travello and cloned it to my project at /vendor/ralfeggert/tra

Re: [fw-general] ZF2 create own library

2012-09-21 Thread Ralf Eggert
Hi Matthew, > Do this. But it doesn't have to be a module. If it's library code, it's > library code. You can setup a custom packagist repo for your own > libraries, and use that in your project composer.json so that you can > install such libraries and keep them up-to-date easily. But I guess a

Re: [fw-general] ZF2 create own library

2012-09-21 Thread Matthew Weier O'Phinney
-- Ralf Eggert wrote (on Friday, 21 September 2012, 09:25 PM +0200): > within ZF1 I created my own library which was located in > /library/Travello/ parallel to /library/Zend/. In my library I had > additional filters or validators, general view helpers or extensions for > some classes like the ac

[fw-general] ZF2 create own library

2012-09-21 Thread Ralf Eggert
Hi, within ZF1 I created my own library which was located in /library/Travello/ parallel to /library/Zend/. In my library I had additional filters or validators, general view helpers or extensions for some classes like the action controller or the response object. ZF2 now has modules. It is quite