The Gambler's Ruin, Illustrated with PHP
Link – – laracasts.com
Jeffrey Way of Laracasts demonstrates what the Gambler's Ruin is using PHP.
Read more [laracasts.com]
Oh Dear is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more. You'll get a notifications for us when something's wrong. All that paired with a developer friendly API and kick-ass documentation. O, and you'll also be able to create a public status page under a minute. Start monitoring using our free trial now.
Link – – laracasts.com
Jeffrey Way of Laracasts demonstrates what the Gambler's Ruin is using PHP.
Read more [laracasts.com]
Link – – tighten.com - submitted by Jamison Valenta
In this post, Marcus explains the fundamentals of Blade components. A great introduction or review, this post walks you through the process of creating an extensible button component that contains the code common between button types, with additional interactivity powered by Alpine.
Read more [tighten.com]
Stay up to date with all things Laravel, PHP, and JavaScript.
Follow me on Twitter. I regularly tweet out programming tips, and what I myself have learned in ongoing projects.
Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer.
Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.
Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.
Link – – www.juststeveking.uk - submitted by Steve McDougall
In Laravel 5.1 the Command Bus was replaced with Dispatchable Jobs, we can still use them but let us also look at how to add a Command Bus.
Read more [www.juststeveking.uk]
Here's a cool feature the Chrome team is working on. It's already available in Canary.
Link – – www.juststeveking.uk - submitted by Steve McDougall
Of all of the design patterns you could use in your code, the adapter pattern is one of my all time favourites. It allows you to abstract the implementation to an adapter that implements an interface. so you can switch implementation simply by switching the adapter.
Read more [www.juststeveking.uk]
Link – – www.juststeveking.uk - submitted by Steve McDougall
I get asked about API response testing a lot, how should you do it, and where to start. I have a general rule when it comes to testing APIs, and that rule is: "test your code, and your code only". What do I mean by this? Let me explain:
Read more [www.juststeveking.uk]
Link – – ohdear.app
Here's a new blog post by our designer Nick on how he's revamping the looks of Oh Dear.
Read more [ohdear.app]
Link – – blog.tjcx.me
"Were previous generations really better off because they merely watched TV, or listened to radio, or read books? All of these activities are passive. All of these activities involve letting external thoughts temporarily replace your own. Today’s smartphones differ from medieval books only in degree—all media is created to be consumed. I had to start creating."
So much this!
Read more [blog.tjcx.me]
Link – – www.juststeveking.uk - submitted by Steve McDougall
In a typical Laravel application we are very used to doing things in a certain way, by the book as they say. However there comes a point in the applications lifetime that it is going to be easier to start looking to split this code into Domains so that we can logically group our code.
Read more [www.juststeveking.uk]
Link – – peakd.com
Larry Garfield shares a neat use of match
Read more [peakd.com]
Link – – thephp.foundation
Here's a small interview with the new developers that will receive funding via The PHP Foundation
Read more [thephp.foundation]
Link – – doeken.org - submitted by Doeke Norg
The Middleware Pattern allows you to easily change the input and output of an action; one layer at a time.
Read more [doeken.org]
PHP is a wonderful dynamic language that's capable of many cool things. I recently stumbled upon something quite fantastic that I want to share with you.
A couple of months I go I had the honour giving a talk at the GPUG usergroup on how to convert a PHPUnit testsuite to Pest.
Nowadays, I use Pest as the default testrunner for every package / project that I start.
I'm proud to announce that our new premium course on writing readable PHP is now available. It's called Writing Readable PHP.
This course contains a collection of bite-size tips (both in written form and videos) that make your code a joy to read for your co-workers and future self. These tips are aimed towards developers who know the basics of PHP and want to improve their craft. As a bonus, you'll learn to use static analysis to ensure that your code is understandable and correct.
Writing Readable PHP has been created by our team and Christoph Rumpel. It contains our combined knowledge on how to write the best PHP possible.
Last month, The Laravel Documentary was released which showed the history behind Laravel. For the documentary a lot of people that are active in the Laravel community were interviewed.
From the footage that did not make into the documentary, the makers behind the documentary distilled a cool new short movie about PHP.
I'm honoured the some of my interview snippets made the cut. 😎
Link – – philo.dev
A super nice way to go about this, thanks to Philo. Cool stuff!
Read more [philo.dev]
Link – – ohdear.app
We are currently rebuilding the Oh Dear website and application frontend. In this post, you'll read more about the project setup and tools used.
Read more [ohdear.app]
Link – – doeken.org - submitted by Doeke Norg
DRY up code by deferring specifics to a callback.
Read more [doeken.org]
Passing booleans to a method can be code smell, as it is not clear what a boolean does by reading the calling code.