Automate PHP with Phake – Introduction

Posted by Unknown on Monday, July 7, 2014

As developers, we often have to do repetitive tasks such as updating the database structure, seeding the database, writing CRUD code, running tests, and uploading files to a server. Wouldn’t it be great if we could automate these mundane tasks and proceed with solving the more important problems such as making our app more secure or more usable to our users?


Phake, an automation tool written for PHP, can do those tasks for you. If you’re familiar with Ruby, it’s basically a Rake clone. In this two-part series I’m going to walk you through integrating Phake into your workflow. I will walk you through the installation, some of the basics in using Phake and then finally some real-world examples.


Installation


Phake should be installed globally via Composer:



composer global require 'phake/phake=*'

This makes Phake accessible from any folder, and doesn’t require you to change your project’s composer.json file.


If you don’t have access to the ‘composer’ command, install Composer globally.


Continue reading %Automate PHP with Phake – Introduction%




more

{ 0 comments... » Automate PHP with Phake – Introduction read them below or add one }

Post a Comment

Popular Posts