Antonio Conte Posted October 2, 2013 Share Posted October 2, 2013 I've been using composer for a while know, but I felt like participating a little bit too. On a hobby project I needed a priorityQueue, and noticed SPL had one. The problem was that it would dequeue values in random order if several nodes share the same priority. Usually, this is considered a bug for a PriorityQueue, so I decided to fix that. Here the very small ThomasLarsson/PriorityQueue hosted on Packagist! And here's a small preview of how I'm using the package. Anyone else played around with composer, submitted a package or think this is interesting? Link to comment Share on other sites More sharing options...
Jonathon Posted October 2, 2013 Share Posted October 2, 2013 I like the idea of it but never used it. I'll be interested to read about it for Yii2 Link to comment Share on other sites More sharing options...
Larry Posted October 2, 2013 Share Posted October 2, 2013 I've dabbled with Composer for a while now. I just got done writing about it in the 2nd edition of the e-commerce book, as Zend Framework also uses it now (as does Yii 2). It's a welcome addition to PHP! I'll check out your package when I get the chance. Link to comment Share on other sites More sharing options...
Antonio Conte Posted October 3, 2013 Author Share Posted October 3, 2013 You better check it out, Jon. I recently implemented a shopping cart solution in under 500 lines of application code. While it was really limited to functionality, it had support for Users, categories, products, sales and general cart functionality. Throw a Stripe facade on top of that (I recently implemented one) and you have a functional Ecommerce-solution. No need to code anymore really. The packages used where Sentry, (for User auth) Eloquent (The awesome ORM shipped with Laravel). The job I built this for fell through, but I gained invaluable experience. Composer can't get enough praise from me. 1 Link to comment Share on other sites More sharing options...
HartleySan Posted October 4, 2013 Share Posted October 4, 2013 Composer is very cool. I'm still trying to learn all the ins and outs of it, but yeah, I like it. Link to comment Share on other sites More sharing options...
Recommended Posts