Hey Artisans, Good to be back after a week of vacation - I have a lot to share with you. Today we start with birthday celebrations, then move to Laravel news and packages, and end with useful PHP/MySQL/Git tips. Enjoy!
Laravel-related articles from all the web
Laravel Turns Five
laravel-news.com
Five years ago today Taylor announced the first release of Laravel to the world. I’ve been working on this framework for about 7 months. I’ve worked really hard to make it powerful, yet accessible. I set out to launch with documentation as good as CodeIgniter from day one, and I think we did.
How to Collect and Handle User Data in laravel
www.dunebook.com
Web sites that benefit from a framework like Laravel often don’t just serve static content. Many deal with complex and mixed data sources, and one of the most common (and most complex) is user input and its myriad forms: URL paths, query parameters, POSTed data, and file uploads.
Design Pattern : Service Layer with Laravel 5
dotdev.co
If you don’t separate your logic, you might fall into this trap where your controllers will quickly become really fat and unreadable. Here is an example of what you should have done : Now, your boss needs a referral program.
A CLI starter pack for developing a package with Laravel 5
github.com
Laravel PackMe is a project starter pack which combine all basic stuff (src, tests) in order to develop a package for Laravel 5.*. It takes care about tests and best pratices I gathered over some cool repository. With one command line, you are ready to develop a package in good condition.
Laravel Analytics v2 has been released
murze.be
One of our more popular packages is laravel-analytics. The package makes it easy to fetch information such as pageviews, top referrers, etc… from the Google Analytics API. In our Blender-based projects we use the fetched data to display a nice chart in the admin section:
Experiencing Laravel Dashboard
www.youtube.com
Out of all reviews I've done in my Experiencing series, this was by far the one I had most fun with while preparing for and while recording the review. Dashboards or status boards are software objects I'm magically drawn towards even before the Oblivion movie with it's incredible surface-like admin
Laravel : The Story Behind The Name – Jason Lewis
jasonlewis.me
Does anyone knows where the name "Laravel" came from? Not a hard question. But a lot of people don't know how this sexy name was conceived. What does Laravel mean? Is it made up? What was Taylor thinking? I'm pretty sure it was along the lines of: "Man, that sounds sexy!"
Creating Unique Title Slugs with Laravel
dotdev.co
When storing content in the database a typical pattern for retrieving it is to create a unique “slug” based on the title. This gives users and search engines a human-friendly way to access it through the URL. For example, a typical URL might look like, site.com/post/1.
Writing advanced Eloquent search query filters
murze.be
Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer. You can expect quick tips, links to interesting tutorials, opinions and packages. Want to learn the cool stuff? Then sign up now! Over at the excellent dotdev.
PyroCMS 3 - Major Release
pyrocms.com
Over 5,000 commits in the making, PyroCMS is officially back with it's newest and most powerful stable release ever! We are SUPER excited to announce PyroCMS v3.
PHP-related articles and offtopics
sample code for several design patterns in PHP
github.com
This is a collection of known design patterns and some sample code how to implement them in PHP. Every pattern has a small list of examples (most of them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with this software).
Advanced MySQL Slow Query Logging
www.speedemy.com
Proper MySQL Query Optimization starts with a proper Slow Query Logging session. And MySQL Query Optimization is where I spend 70-80% of my time when doing MySQL performance optimization. In this short series I will show you how to do Slow Query Logging the right way.
PHP Best Practices and Tips by Toptal Developers
www.toptal.com
In this article we will see how using Test Driven Development (TDD, explained in deep a little later in the article) helps to write good quality code that is maintainable, reusable, and easy to debug and fix when bugs happen. PHP and testing didn’t start together as friends.
Analysis of Coding Conventions
laravel-news.com
Squiz Labs, the creators of PHP_CodeSniffer, put together an analysis of coding conventions across 193 PHP projects. The report outlines a lot of small things like average line length, camel casing, new array syntax, and more.
Thank you for all the support during that 1 year period, see you in the next newsletter issue! Povilas Korop www.laraveldaily.com
|