Skip to content

Instantly share code, notes, and snippets.

Top 100 PHP libraries from packagist

  1. twig/twig - Twig, the flexible, fast, and secure template language for PHP - 279287
  2. symfony/symfony - The Symfony PHP framework - 230662
  3. doctrine/common - Common Library for Doctrine projects - 230352
  4. doctrine/dbal - Database Abstraction Layer - 217097
  5. monolog/monolog - Logging for PHP 5.3 - 197983
  6. doctrine/orm - Object-Relational-Mapper for PHP - 196816
  7. swiftmailer/swiftmailer - Swiftmailer, free feature-rich PHP mailer - 172086
  8. kriswallsmith/assetic - Asset Management for PHP - 165852
  9. [sensio/distribution-bundle](https://packagist.org/packages/sen
@malarkey
malarkey / Contract Killer 3.md
Last active May 24, 2024 23:38
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………

@greystate
greystate / querystring.coffee
Created October 10, 2011 09:50
CoffeeScript QueryString class
# Provide easy access to QueryString data
class QueryString
constructor: (@queryString) ->
@queryString or= window.document.location.search?.substr 1
@variables = @queryString.split '&'
@pairs = ([key, value] = pair.split '=' for pair in @variables)
get: (name) ->
for [key, value] in @pairs