github.com
GitHub - padraic/mockery: Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defin
https://github.com/padraic/mockery
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Use Git or checkout with SVN using the web URL. Jul 6, 2016. Use PRETTY PRINT syntax and reorder keywords. Failed to load latest commit information. Apr 28, 2016. To instal...
fabien.potencier.org
The rise of Composer and the fall of PEAR | Articles - Fabien Potencier
http://fabien.potencier.org/the-rise-of-composer-and-the-fall-of-pear.html
The rise of Composer and the fall of PEAR. May 05, 2014. A couple of months ago, Nils Adermann. Sent me a nice postcard that reminded me that "3 years ago, we [Nils and me] met for the SymfonyLive hackday in San Francisco." Nils was attending the Symfony conference as he announced the year before that phpBB would move to Symfony at some point. And I immediately knew that this was the one. Unfortunately, libzypp is a complex library, written in C, and not really useable as is for Symfony needs. Nils did a...
payton.codes
Test spies in PHP – Payton.Codes
https://payton.codes/2016/03/29/test-spies-in-php
Musings on life, games, and code. Test spies in PHP. I think that I wrote my first unit tests in Ruby with RSpec, back in the day. But I learned most of my testing knowledge from working with mocha. In JavaScript. One of the things that I learned from these tools is that being able to express your test logic in clear, nearly-natural language brings a real comfort to the often complicated life of the test-writer. For example, here’s a line straight from the chai home page:. It’s so lovely. But Spies are h...
fabien.potencier.org
The rise of Composer and the fall of PEAR | Articles - Fabien Potencier
http://fabien.potencier.org/article/72/the-rise-of-composer-and-the-fall-of-pear
The rise of Composer and the fall of PEAR. May 05, 2014. A couple of months ago, Nils Adermann. Sent me a nice postcard that reminded me that "3 years ago, we [Nils and me] met for the SymfonyLive hackday in San Francisco." Nils was attending the Symfony conference as he announced the year before that phpBB would move to Symfony at some point. And I immediately knew that this was the one. Unfortunately, libzypp is a complex library, written in C, and not really useable as is for Symfony needs. Nils did a...
payton.codes
Payton Swick – Payton.Codes
https://payton.codes/author/sirbrillig
Musings on life, games, and code. Vegan Digital craftsman. Tea explorer. Avid learner of things. Writes code @automattic. Declarative vs. Imperative: asking for soup vs. making soup. A little while ago I wrote a post about my concepts of declarative vs. imperative programming. Of my previous example. I guess that’s learning? Declarative language describes what you want to happen, without necessarily explaining every step of the process to get there. “I want butternut squash soup.”. So back to programming...
foilphp.it
Getting Started / Installation. Foil: PHP Template Engine
http://www.foilphp.it/docs/GETTING-STARTED/INSTALLATION.html
Pass Data To Templates. Retrieve Data Inside Templates. HTML and Form Helpers. Custom Functions and Filters. To install Foil you need:. Foil is available on Packagist, so the only thing you need to do is to add it as a dependency for your project. That can be done by running following command in your project folder:. Composer require foil/foil:0.*. As alternative you can directly edit your. Require": { "foil/foil": " 0.6" } }. After that, only be sure to include composer autoload file:.