News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Three Devs & A Maybe Podcast:
Laravel, Forge and Homestead with Taylor Otwell
July 10, 2014 @ 10:42:44

The Three Devs & A Maybe podcast has posted a new episode with special guest Taylor Otwell of Laravel framework fame. In this latest episode (#33) they talk with him about the framework, the Forge product and the Homestead project (a packaged VM environment ready to host Laravel applications).

This week we are very lucky to have the creator of Laravel, Taylor Otwell on the show. Starting off with his journey into the world of programming (through .NET), we move on to discuss how Laravel came to being. We then touch upon our experiences experimenting with different programming stacks, and what features of C# he would like to see introduced into PHP. Finally, we ask Taylor what resources he would recommend to someone just starting out in the industry.

Other topics mentioned in this episode include the Laracasts website, FuelPHP and PhoneGap. You can listen to this latest episode either through the in-page player or by downloading the mp3 directly. You should also consider subscribing to their feed to get the latest shows as they're released.

0 comments voice your opinion now!
threedevsandamaybe podcast ep33 taylorotwell laravel forge homestead

Link: http://threedevsandamaybe.com/posts/laravel-forge-and-homestead-with-taylor-otwell/

SitePoint PHP Blog:
How to Install Xdebug with PHPStorm and Vagrant
July 08, 2014 @ 11:32:42

The SitePoint PHP blog has a recent post showing you how to get Xdebug installed and working with PHPStorm through a Vagrant installation. The Xdebug tool provides additional debug information on top of what PHP natively includes in its own error handling.

Xdebug is a PHP extension which allows you to debug and profile your code, view detailed and readable stack traces when errors happen, and much more. For a detailed walkthrough, see Shameer's post. If you're completely unfamiliar with it, you would do well to first install it following the procedures below, and then refer to the post linked above for a breakdown of everything Xdebug can do for you and your apps. In this tutorial, we'll set up Xdebug with PHPStorm for Vagrant hosted PHP apps.

His guide doesn't actually include the installation of Xdebug via Vagrant as the VM he's chosen (Vagrant Homestead) already has it installed. If you need instructions on that, check out this other tutorial. He shows you how to enable it in Homestead and configure the extension to connect back out to your waiting PHPStorm client. He then moves on to the client side and shows how to connect it to the server through PHPStorm's own debugger configuration. He includes a bit of sample code to test the connection (a Laravel route) and checking that the breakpoint handling works as well.

0 comments voice your opinion now!
xdebug phpstorm vagrant homestead install configure

Link: http://www.sitepoint.com/install-xdebug-phpstorm-vagrant/

SitePoint PHP Blog:
13 Steps to Get eZ Publish 5.x to Work on Homestead
July 04, 2014 @ 12:28:30

The SitePoint PHP blog has a new tutorial posted today showing how to get eZ Publish 5.x to Work on Laravel Homestead, a virtual machine environment from the creators of the Laravel framework.

This article was initially going to be a quick tip on how to install eZ Publish on Homestead in just a few steps. However, after I saw how much effort it took to get it up and working from scratch on a Vagrant box hosted on Windows, I decided to make it into a full article. I suffered, so you don't have to.

He starts with a bit of an aside about "Vagrant-friendly applications and encourages developers to try to adopt a Vagrant-first approach to getting their systems working across multiple environments. From there he gets into the main part of the tutorial, showing you how to:

  • Install "Homestead Improved"
  • Set up and configure a new site
  • Install dependencies and the latest version of eZ Publish
  • Fix a few issues on installation and "hack the guts" to make some things
  • Change some configuration settings to make the install work correctly
  • Go through the installer to set up the application (and database)
  • Change the web server configuration to remove the need for "index.php"

Screenshots and commands/code needed to make the updates are all included in the post.

0 comments voice your opinion now!
ezpublish laravel homestead tutorial configure install

Link: http://www.sitepoint.com/13-steps-get-ez-publish-5-x-homestead/

SitePoint PHP Blog:
Stress-test your PHP App with ApacheBench
June 27, 2014 @ 12:55:58

In this recent post to the SitePoint PHP blog Bruno Skvorc looks at using a popular tool from the Apache project, Apache Bench (or just "ab") to stress-test your application.

There's no telling when your app might attract a throng of visitors at once. [...] Regardless of the reason, massive influxes of visitors are a double-edged sword: they get you what you always wanted - a chance to prove your worth to a large chunk of the internet's population - but also often bring with them what you always feared: absolute downtime. [Some] platforms usually offer plugins that can optimize your application while it's up, so you can fine tune it as you go along, but why not try and predict issues while still developing locally and save yourself time, money and effort in the long run?

He bases the testing off of a Laravel Homestead virtual machine instance and tests a simple "hello world" PHP page to minimize any overhead from other processing. He includes the commands to make a simple ab request and mentions the kinds of request it provides on completion. He moves on from there to something a bit more complex - an actual Laravel-based application using the default "HomeController" and "showWelcome" action/view combination.

0 comments voice your opinion now!
apache bench ab tutorial laravel homestead stress test

Link: http://www.sitepoint.com/stress-test-php-app-apachebench/

SitePoint PHP Blog:
Help Develop PHP 5.6 RC1 on Homestead
June 23, 2014 @ 11:08:01

In this new post from the SitePoint PHP blog Bruno Skvorc puts out a "call to action" for the PHP developers out there to help develop and test out PHP 5.6RC1 (the current 5.6 release candidate) with the Laravel Homestead virtual machine.

Last week we talked about Laravel Homestead, a prepared local development environment for PHP built on Vagrant by Taylor Otwell, meant to serve as a common starting point for all Laravel (and possibly other PHP) projects. [...] A week before that, we talked about the end of beta for 5.6, and the beginning of the RC program. [...] In this post, we'll have a quick look at how we can install it over the regular PHP in Laravel Homestead and report the build feedback back to the QA site.

He refers to the other article for installation instructions and quickly gets into the steps needed to download and install the RC1 version. There's a few dependencies to install before you compile, but with a few commands it should be off and running quickly. Screenshots are provided to show you the output each step of the way too. If all goes well, the output of a "php -v" command line call will show the successful build of PHP 5.6.0RC1.

0 comments voice your opinion now!
homestead releasecandidate testing compile install tutorial laravel

Link: http://www.sitepoint.com/help-develop-php-5-6-rc1-homestead/

SitePoint PHP Blog:
6 Reasons to Move to Laravel Homestead
June 20, 2014 @ 10:14:10

The SitePoint PHP blog has a new post from editor Bruno Skvorc sharing six reasons why he thinks you should move your Laravel-based application over to using the Homestead pre-build Vagrant box.

Laravel Homestead is, in a nutshell: "an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine." In other words, it automatically does what we've done before manually through Vagrant and PuPHPet in articles like these. So what makes it different from your run-of-the-mill Vaprobash/Vagrant/PuPHPet setup? Let's see.

He quickly covers the six points, each with a paragraph or two of explanation:

  • It Works
  • It's Otwell Approved
  • It's Fast to Set Up
  • Ports
  • Best Practices and Common Ground
  • Easy to add sites

There's also a bit of a tutorial aspect here, showing you (via screenshots and configuration examples) how to get some of these points up and running.

0 comments voice your opinion now!
laravel homestead vagrant tutorial install virtualmachine

Link: http://www.sitepoint.com/6-reasons-move-laravel-homestead/


Community Events





Don't see your event here?
Let us know!


code experience podcast threedevsandamaybe introduction testing developer opinion framework release language series community list interview laravel symfony2 install refactor unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework