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

SitePoint PHP Blog:
5 Easy Ways to Get Started with PHP on Vagrant
October 30, 2014 @ 10:44:49

On the SitePoint PHP blog there's a new tutorial showing you how to get started with Vagrant and PHP to create easier, more flexible development environments via virtual machines.

Vagrant is a tool for creating and managing virtual environments that help many developers not have to care about the "works on my machine…" problem. Vagrant creates reusable development systems that can be used again and again, helping you keep your system clean of too many installations.

They offer "five easy ways" to get started including various tools and services:

You can find summaries about each of the items on the list as well as links to more information in the full post.

0 comments voice your opinion now!
vagrant introduction getstarted service tool virtualmachine vm development

Link: http://www.sitepoint.com/5-easy-ways-getting-started-php-vagrant/

Nate Turner:
Spinning Up Symfony 2 Development Environments With Vagrant
September 11, 2014 @ 10:57:13

Nate Turner has posted a tutorial to his site sharing a step-by-step method for creating Symfony2 development environments with Vagrant. Vagrant (and Puppet) allow you to create a scriptable setup process that creates a VM with the same settings every time, making it easier to destroy and recreate as needed.

When we use Vagrant to create new virtual development environments we avoid the very real possibility that we could mess up our personal development machines. People have used virtual machines for development for years. [...] Managing installed applications across a teams VMs is a pain. Why not just include a Vagrantfile and a few Puppet manifests instead? Instead of passing around a virtual machine a few gigabytes in size, just include your Vagrant and Puppet in a project's source control. That's it. In future tutorials we will be using the environment we create here to start a new virtual machine running Symfony 2 with the above command.

He walks you through each of the steps, complete with commands and configuration changes to make everything cooperate:

  • Create a Symfony Project with Composer
  • Setting up Vagrant
  • Provisioning with Puppet / Symfony's Requirements
  • Set up a new VirtualHost
  • Set Apache to run as the Vagrant user

He's also posted the complete working script over on his GitHub account.

0 comments voice your opinion now!
development environment symfony2 vagrant puppet tutorial

Link: http://nater1067.github.io/blog/2014/08/25/spinning-up-symfony-2-development-environments-with-vagrant/

SitePoint Web Foundations:
Quick Tip Install Recki-CT into a Vagrant Ubuntu Box
September 03, 2014 @ 11:14:51

On the SitePoint Web Foundations blog Bruno Skvorc has a quick post showing you how to get Recki-CT installed and working in a virtual machine. The Recki-CT project is a creation of Anthony Ferrara that allows you to compile down PHP into machine code.

If you don't know what Recki-CT is, see @ircmaxell's original post or the repo, we won't go into depth here. This quick tip will merely show you how to install it on a Homestead Improved box, much like we did with other software before.

It's a pretty simple four step process including testing things at the end:

  • Install and configure a Homestead Improved instance
  • Install the JitFu tool
  • Grab the latest Recki-CT library version from GitHub
  • Run the provided test code with the local PHP install and test the performance

You can find out more about the Recki-CT project in its GitHub project.

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

Link: http://www.sitepoint.com/quick-tip-install-recki-ct-vagrant-ubuntu-box/

SitePoint PHP Blog:
Build a New App with Laravel and EmberJS in Vagrant
August 25, 2014 @ 11:31:58

The SitePoint PHP blog has kicked off another series of posts today with part one of a series looking at building an application based on the Laravel PHP framework and EmberJS.

Nowadays, everything is turning into a web application. Even simple websites have a mobile app relying on a REST Api. Web applications are accessible everywhere - on a laptop, desktop, tablet, mobile, and recently on wearable devices like smartwatches. Everything is becoming smaller and faster - front ends are becoming separated from back ends, and only communicate with the server through APIs. In this series, we are going to create a photo uploading app. For the front-end, we will use EmberJs and Foundation 5. [...] For the back-end, we will use Laravel. The source code will be available per-part, and in final shape in the final part of this series.

They go with the Laravel Homestead virtual machine (and Vagrant) to make for a quick setup and stable environment. They help you get it all set up to push up to Heroku and get all needed dependencies, both frontend and backend, installed. They also walk you through the setup of the database, configuring the connection and deploying the application to production.

0 comments voice your opinion now!
tutorial emberjs vagrant laravel homestead application series part1

Link: http://www.sitepoint.com/build-new-app-laravel-emberjs-vagrant/

Geshan Manandhar:
Getting started with PHP (LEMP) on Vagrant, the easiest way
August 11, 2014 @ 12:06:11

Geshan Manandhar has posted a "getting started" guide to getting a LEMP environment up and running (LEMP being Linux, Nginx, MySQL and PHP) through a Vagrant setup.

A software engineer tells to a colleague in his team "Man, it is working on your machine, but why is it not working on mine?", then they both find out that one has Ubuntu 12.04 LTS with PHP 5.3 and the other software engineer on which the code is working is Ubuntu 14.04 with PHP 5.5 after some investigation. If you have ever faced this or similar problem its high time to switch to a portable and a reproducible virtual development environment shared among all team members. This is a context where Vagrant comes into play.

He introduces Vagrant and some of the problems it can help with for development groups. He includes some of the basic terminology and mentions some of the alternatives, including Docker and some of the Google popularity results comparing the two. Finally, he gets down to creating the Vagrant configuration with the PuPHPet service with screenshots of each step of the way. He wraps up the post with a look at how you can determine if things are working and how to add records to your hosts file to make the machine easier to reference.

0 comments voice your opinion now!
lemp vagrant puphpet configure install tutorial automate environment

Link: http://geshan.blogspot.ae/2014/07/getting-started-with-php-lemp-on-vagrant.html#sthash.fPMXLkWP.dpuf

SitePoint Web Foundations Blog:
Quick Tip Install Zend Server 7 on an Ubuntu 14.04 Vagrant Box
July 22, 2014 @ 11:14:30

The SitePoint Web Foundations blog has a post from Bruno Skvorc showing how to install Zend Server on Ubuntu 7 set up and configured by Vagrant.

I recently took a look at Zend Server 7, the latest version of the powerful application monitor/manager suite. This quick tip will show you how to get it installed on a Vagrant box so you too can experiment with its features.

The process is made up of four (well, five...one is optional) steps making it pretty easy to try out:

  • Install Prerequisites
  • Clone and Boot
  • Download and Run Installer
  • Fix Log Permissions
  • Deploy an Application (the optional one)

He includes the code updates you'll need to make and some screenshots along the way to be sure you're on the right track.

0 comments voice your opinion now!
zendserver install vagrant ubuntu tutorial

Link: http://www.sitepoint.com/quick-tip-install-zend-server-7-ubuntu-14-04-vagrant-box/

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:
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 News:
PuPHPet Adds Support for HHVM
February 21, 2014 @ 09:36:36

Juan Treminio passed along a note about his GUI-based virtual machine builder PuPHPet and some recent advancements in what it supports.

PuPHPet just added support for HHVM via FastCGI for Apache/Nginx and needs your help to create a VM and report any bugs encountered to make the experience as smooth as possible.

PuPHPet makes creating Vagrant/Puppet configurations much simpler and does a lot of the hard work for you. The project is also open sourced on GitHub so you can always add support for anything you might not see.

0 comments voice your opinion now!
puphpet hhvm hiphop virtualmachine vagrant puppet

Link: https://puphpet.com/

Erika Heidi:
Vagrant Usage Research
January 27, 2014 @ 10:15:07

If you've never heard of the powerful tool and you need automation around creating and configuring multiple virtual machines, you really should check it out. If you're curious as to how it's being used and what kind of things it's used for, check out this new post from Erika Heidi based on some research she recently did (and a survey she received some good feedback to).

From 11 to 14 of January, 720 Vagrant users from different sources (Twitter, IRC and the official Vagrant mailing list) answered a quick form I created to find out how people are using Vagrant. I'm currently in the process of writing a LeanPub book about this tool, and I was really curious especially about the provisioners usage.

She's put together the results in the form of an easy to read infographic with details about:

  • The most popular provisioners
  • The percentage of boxes running with OS
  • The percentage of languages on the boxes
  • The OS most Vagrant users use

...and finally the answer(s) to the question of "why vagrant?" but I'll leave it to you to read the post to find out that one.

0 comments voice your opinion now!
erika heidi vagrant usage research infographic survey

Link: http://www.erikaheidi.com/2014/01/24/vagrant-usage-research/


Community Events





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


community deployment laravel tips api language interview bugfix opinion package podcast release voicesoftheelephpant introduction symfony series list library framework install

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