The Laravel News site has posted an interesting tutorial where they describe the use of WordPress as a backend for a Laravel application. This setup is based on the Laravel News‘ own experience with it in the recent refactoring of the site.
Last week I relaunched Laravel News, and the new site is running on Laravel with WordPress as the backend. I’ve been using WordPress for the past two years, and I’ve grown to enjoy the features that it provides. The publishing experience, the media manager, the mobile app, and Jetpack for tracking stats.
I wasn’t ready to give these features up, and I didn’t have the time to build my own system, so I decided to keep WordPress and just use an API plugin to pull all the content I needed out, then store it in my Laravel application. In this tutorial, I wanted to outline how I set it all up.
While he did find other methods for linking the two, they didn’t quite fit with what he wanted so he worked up his own. The content is then synced via a recurring task pulling over posts, categories and tags. He gets into the WordPress REST API first, showing the extraction of the posts from the API and pushing them into a Laravel collection. There’s also an example of how to sync a post with the database (API) and how to create a new post in a similar way. Also included is the code to get the featured image, get the category for a post and sync the tag values. The tutorial finishes with the code for the sync command and pushing it into the scheduler.
The Laravel News site has posted the latest episode of their podcast covering Laravel Echo, Valet and the PHP-FIG "implosion".
In this twenty-two minute episode, we talk about Laravel Echo and new changes to Laravel Valet.
You can listen to this latest episode either through the in-page audio player or by downloading the mp3 of the show for offline listening. If you enjoy the show and want to hear more, be sure to subscribe to their feed and get the latest as they’re released.
The ZendCon conference has just announced the opening of the Call for Papers for their 2016 event. The conference will once again be happening at the Hard Rock Hotel and Casino in Las Vegas, Nevada in October (18th-21st).
We’re pleased to announce the ZendCon 2016 PHP Conference, the most anticipated PHP centric event of the year, where community and enterprise PHP developers from around the world gather to share and learn the latest hot trends and technologies in today’s professional PHP development.
We know speakers are key to the success of a conference and hope you will submit a talk. In appreciation for the efforts provided, our speakers package ensures they will not need to worry about anything other than delivering the best talks.
They’re not just looking for PHP topics either. They’ll consider a wide range of topics including PHP frameworks, devops, source control, continuous delivery and many more. The Call for Papers ends May 31st, 2016 so be sure to get those submissions in early (and often) before time runs out.
The Laravel News Podcast has released their latest episode, Episode #13 hosted by PHP and Laravel community member Eric L. Barnes.
In this episode, we talk about Laravel Exception Reporter, Chrome Bandwidth limiter, Chrome extension to generate Laravel tests, Jigsaw, Helpspot Vault, Fixing MySql Memory, Sparkwatch, and Taxes.
You can listen to this latest episode either using the in-page audio player or by subscribing either through iTunes or their RSS feed.
The Laravel News site has a new post today sharing the full schedule announcement for this year’s Laracon conference (happing in Louisville, Kentucky July 27th through the 29th).
Laracon just announced the preliminary schedule for this year’s conference. Just as in the past, it leaves ample time for hanging out and meeting others interested in the framework.
Sessions for this year’s conference include:
- "Test Driven Laravel" (Adam Wathan)
- "Servers For Hackers" (Chris Fidao)
- "PHP 7" (Zeev Suraski)
- "Tests Should Tell A Story" (Matthew Machuga)
- "YAGNI With Laravel" (Jason McCreary)
- "Lumen, Guzzle, & Swagger" (Jeremy Lindblom)
You can find more information about the conference and pick up tickets from the main conference website. There are discounts available for groups of 3 or more too.
If you’re interested in the Laravel framework and possibly using it for your upcoming projects but aren’t sure where to start, you should consider checking out Matt Stauffer’s upcoming O’Reilly book "Laravel: Up and Running". According to this post on the Laravel News site the book is now available for pre-order.
Matt Stauffer has been writing a new book on Laravel named Laravel: Up and Running: A Framework for Building Modern PHP Apps and it’s published by O’Reilly Media. […] This first edition is 250 pages and will come in either paperback or ebook form, but this current preorder is only available in paperback. Based on Amazon the expected shipping date is August 25, 2016.
The book walks you through the creation of a Laravel application from start to finish. it’s no meant as a reference but a "work book" to teach the foundations of the framework. It hopes to provide a single point where developers, especially those familiar with "C-family programming languages", will be able to get started quickly.