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:
Bootstrapping a Laravel CRUD Project
May 21, 2015 @ 11:18:27

The SitePoint PHP blog has kicked off a new series about using the Laravel framework to create a basic CRUD application relatively easily.

In this tutorial, we're going to build and run a simple CRUD application from scratch using Laravel 5.

The target audience for the tutorial are those completely new to the world of Laravel so they start at the beginning. He walks you through the creation of a new Laravel project and the database setup and configuration. He goes through the creation of "resourceful routing" and using the Laravel "artisan" command line tool to generate the matching controller. From there he talks about views and Blade templating followed by the creation and execution of the needed database migrations. The tutorial wraps up with a look at the model system included with Laravel and how they fit in with the Eloquent ORM.

0 comments voice your opinion now!
bootstrap crud project laravel tutorial series part1 introduction

Link: http://www.sitepoint.com/bootstrapping-laravel-crud-project/

Product & Support:
Interview with Taylor Otwell
May 15, 2015 @ 09:09:33

The Product & Support site has posted an interview with Taylor Otwell, the creator of the Laravel framework. In it they talk about what Laravel is, how it treats users as "customers" and the community around it.

Taylor is the creator of Laravel, founder of Laravel Forge and founder of Envoyer . I spoke with him about open source software and making the transition to entrepreneurship.

Taylor also answers questions about the ecosystem around the framework (marketing, documentation, etc) and how its helped the popularity of the framework. He also shares a few things he might have changed if he could start over with Laravel, including features he feels are "overdone". They also talk about Taylor's move from a full-time job into being self-employed and how that works with two large open source projects to maintain. Check out the full interview for the answers to these and other questions.

0 comments voice your opinion now!
taylorotwell interview laravel framework community envoyer forge

Link: http://productandsupport.com/taylor-otwell/

Laravel Podcast:
Episode 27 - Jeffrey Way Tau Ceti Murderer
May 14, 2015 @ 13:45:23

The Laravel Podcast, with host Matt Stauffer and guests Taylor Otwell and Jeffrey Way, has posted their latest episode (#27): Jeffrey Way: Tau Ceti Murderer.

This week the crew discusses new Laravel 5.1 goodies, unit testing, Lifeline for iOS, and which album they would take to a desert island.

You can listen to this new episode using the in-page audio player or by downloading the mp3. If you enjoy the show, be sure to subscribe to their feed too and get more great episodes as they're released.

0 comments voice your opinion now!
laravel podcast ep27 jeffreyway tauceti taylorotwell mattstauffer

Link: http://www.laravelpodcast.com/episodes/11430-episode-27-jeffrey-way-tau-ceti-murderer

SitePoint PHP Blog:
Displaying Youtube Videos in PHP
May 14, 2015 @ 11:49:41

The SitePoint PHP blog has a new post today showing you how to display YouTube videos inside your application as a part of this series. The series is using Laravel as a framework to create the application.

In this two-part article, we're going to learn how to work with version 3 of the Youtube API and we'll build a demo along the way. [...] We're going to build a demo that lets the user browse popular videos on Youtube, search for a video, browse videos by categories, and select a video to watch. I will be using Laravel 5 as my framework of choice, and Vagrant for my development environment.

The end result will show a set of video thumbnails related to the selected category. He walks you through the steps to get the application set up and running including the configuration of your Google API connection. He creates a login controller to allow users to log in with their Google credentials and the callback to handle the API response. From there he makes the YouTube service provider, the "video list" endpoint (and view) and a single video page with an embedded player.

0 comments voice your opinion now!
tutorial youtube api google integration laravel vagrant application

Link: http://www.sitepoint.com/displaying-youtube-videos-php/

DigitalOcean Community Blog:
How To Deploy a Basic PHP Application using Ansible on Ubuntu 14.04
May 13, 2015 @ 10:15:16

If you've ever been interested in learning Ansible and how to use it in deploying your PHP applications, you should check out this new tutorial from Stephen Rees-Carter on the DigitalOcean blog. He walks you through the full process for getting the server and application set up and configured just the way you need it (on a Ubuntu server).

This tutorial covers the process of provisioning a basic PHP application using Ansible. The goal at the end of this tutorial is to have your new web server serving a basic PHP application without a single SSH connection or manual command run on the target Droplet. We will be using the Laravel framework as an example PHP application, but these instructions can be easily modified to support other frameworks and applications if you already have your own.

He starts with a list of the things you'll already need installed and things to know including a basic understanding of Ansible and two servers (they use their own Droplets in the examples). From there, they walk you through a seven step process to get the automated deployment up and running:

  • Installing Ansible
  • Installing Required Packages
  • Modifying System Configuration Files
  • Cloning the Git Repository
  • Creating an Application with Composer
  • Updating Environment Variables
  • Configuring Nginx

Some of the steps here are Laravel-specific as mentioned but if you're familiar with the setup of your own application, it's pretty easy to adapt. Each step includes the configuration changes and commands you'll need to complete it.

0 comments voice your opinion now!
deploy ansible digitalocean setup tutorial configure laravel framework

Link: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-basic-php-application-using-ansible-on-ubuntu-14-04

SitePoint PHP Blog:
More Effective PHP Logging with Loggly
May 08, 2015 @ 11:54:13

The SitePoint PHP Blog has a new tutorial by Yones Rafie showing you how to log more effectively with Loggly, a remote log management service that's easy to connect to your PHP application. (Note: this post is sponsored by Loggly but it's still an interesting tool.)

When logging with PHP, we tend to use the error_log and trigger_error functions, or we can use an error handler to make the logging process more generic. [...] But what would you do if you had to log to multiple places at the same time, or you were sending logs to a given service depending on the error level? Rather than using built-in tools, it's often easier to use logging libraries.

They go on to talk about logging using a PSR-3 compliant logger and show how to integrate the Loggly service with your application via one of the most popular options, Monolog. The integration is made even easier by the fact that Monolog already comes with a LogglyHandler built-in. The post includes the code you'll need to implement the logger, how to integrate it with a Laravel application, setting it up on Heroku and and a tour of the Loggly features for filtering, searching and examples of the graphs showing query results. Loggly is free to try out, so you can see if it will work for your application before making the commitment.

0 comments voice your opinion now!
loggly logging psr3 monolog tutorial error laravel heroku interface example

Link: http://www.sitepoint.com/effective-php-logging-loggly/

Laravel Podcast:
Episode 26 - Illuminated Tesla Micro-Services
May 04, 2015 @ 09:29:27

The Laravel Podcast has released their latest episode, #26 - Illuminated Tesla Micro-Services with host Matt Stauffer and guests Taylor Otwell and Jeffrey Way.

In this episode, the crew discusses the recent release of Lumen, micro-services, Laravel 5.1 event broadcasting, and their favorite cars.

You can listen to this latest show either using the in-page audio player, by downloading the mp3 or subscribing to their feed and getting the latest as they're released (including this latest episode).

0 comments voice your opinion now!
laravel podcast ep26 illuminated tesla microservices mattstauffer taylorotwell jeffreyway

Link: http://www.laravelpodcast.com/episodes/11108-episode-26-illuminated-tesla-micro-services

NetTuts.com:
Creating a Dating Application with Sinch RESTful API
April 27, 2015 @ 10:19:26

NetTuts.com has kicked off a new tutorial series today about building a dating application with a combination of Laravel, MongoDB and the Sinch service allowing for messaging between users. The Sinch service has several features including voice/messaging/SMS communication methods and device verification.

In this tutorial, we're going to create a dating application for iOS similar to Tinder. For voice and messaging, we will leverage the Sinch platform, making use of its powerful SDK. In the first part, we will focus on the development of a RESTful API to store and retrieve user information. In the second part, the iOS client will hook into this API to find nearby users based on the user's current location. We will use Laravel 5.0 for the RESTful service and will be covering basic concepts, such as routes and controllers. We are also going to define custom models to support MongoDB integration in an ActiveRecord-like manner.

This first part of the series is mostly about just getting things set up so they walk you through:

  • Basic setup of the Laravel application
  • Creation of the Base model (for MongoDB connection)
  • Creating helper methods
  • Building out CRUD functionality for the database layer
  • Making a User model
  • Creating the BaseController class
  • Making a SessionController class (and working with sessions)
  • Building a UserController

They end this part of the series by hooking all of this functionality together with some simple RESTful routing for GET, POST, PUT and DELETE request handling for the various endpoints.

0 comments voice your opinion now!
tutorial series laravel sinch messaging rest api framework part1

Link: http://code.tutsplus.com/tutorials/creating-a-dating-application-with-sinch-restful-api--cms-23709

Scotch.io:
Build a Time Tracker with Laravel 5 and AngularJS - Part 2
April 22, 2015 @ 09:38:53

Scotch.io has posted the second part of their series today showing you how to build a simple time tracking application with Laravel and AngularJS. In this latest part of the series he finishes the application and connect the two pieces.

This is the second of a two-part series on using Laravel 5 and AngularJS together to build a simple time tracking application. If you've gone through part 1, you'll have seen that we put together the front-end first and used a simple JSON file with some mocked-up data to test with. We left off with the ability to add new time entries and have the total time from all of them display on the side. We didn't include any way to edit or delete the time entries, and of course there was no persistence to a database. In this part we will complete the application so that the time entries get stored in a database and our Angular front-end and Laravel backend work together to create, read, update and delete from it.

He starts by helping you get a Laravel application up and running (time-tracker-2), set up the database and modify the configuration to point to the database location. He helps you run the migrations to set up the database tables and generate the related model code. Next up he shows how to inject the seed data, setting up the main index view and adding in routes for the Angular code to access. The rest of the article is just about as detailed and covers steps to:

  • View all the Available Routes
  • Return all Time Entries
  • Return All Users
  • Updating the front-end
  • Setting up the users list
  • Creating time entries
  • Updating time entries
  • Deleting time entires

Finally he wraps it all up with a few possible things that could be done to improve the application, both simple and a bit more complex. He challenges you the developer to implement those features.

0 comments voice your opinion now!
tutorial angularjs laravel series part2 time tracker application

Link: https://scotch.io/tutorials/build-a-time-tracker-with-laravel-5-and-angularjs-part-2

Laravel News:
ArtisanConf - A new Laravel Conference in London
April 20, 2015 @ 09:34:00

The Laravel News site has a post talking about a new Laravel-related conference happening in London on July 9th and 10th (at the Barbican): ArtisanConf, "the premier UK conference for Laravel and modern PHP enthusiasts. Up to 300 artisans will convene in the heart of London's Tech City for two days of inspirational talks, engaging networking and amazing learning opportunities."

Jonty Behr is one of the organizers of ArtisanConf, and I asked him why he decided to start this new conference. "Laravel is incredibly popular in the UK, and a lot of developers have been requesting a UK based conference for a while. Although the guys at LaraconEU do an amazing job, not all developers in the UK are able to travel to Amsterdam and we hope to help, educate and build their experience within the community."

The conference already has some amazing (and well known) speakers lined up. Plus they are hoping that there will be something for both beginners and the experienced at ArtisanConf. There will be two full days of talks and more details will be released soon.

You can already pick up tickets from the conference site or, if you'd like a chance at speaking, head over and submit to their Call for Papers.

0 comments voice your opinion now!
artisanconf15 laravel conference london july callforpapers tickets

Link: https://laravel-news.com/2015/04/artisanconf/


Community Events

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


symfony2 configure conference community example opinion framework introduction voicesoftheelephpant api language interview podcast release library performance series php7 application laravel

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