PHPnews.io

Abstract Classes

Written by Laracasts / Original link on Dec. 10, 2019

An abstract class provides a template - or base - for any subclasses. In this lesson, we'll work through an example that demonstrates how, why, and when you might reach for an abstract class.




Xdebug Update: November 2019

Written by Derick Rethans / Original link on Dec. 10, 2019

Xdebug Update: November 2019 London, UK Tuesday, December 10th 2019, 09:17 GMT Another month, another monthly update where I explain what happened with Xdebug development in this past month. It will be published on the first Tuesday after the 5th of each month. …


Build a Star Rating Component for React

Written by Scotch.io / Original link on Dec. 9, 2019

Who doesn't love beer? When you drink a great beer you want to tell someone. You definitely want to be able to remind yourself of the great beers you've had. Enter Brewstr, a beer rating application that allows you to enter a beer you're drinking and give it a rating. This way, you know what to get …




Streamlining Laravel

Written by murze.be / Original link on Dec. 9, 2019

JMac, the creator of Laravel Shift, has a few interesting ideas on how to make the framework better.Every so often a revolutionary change is required. This provides a chance to revisit goals. One of the primary goals of Laravel is developer experience. And maintainability, freshness, and approachab…



How to set up PHP for use in a GitHub Action

Written by Bram.us / Original link on Dec. 9, 2019

To use PHP in a GitHub action there’s the magnificent setup-php action. It also allows for installing extensions and setting several php.ini directives.steps:- name: Checkout uses: actions/checkout@v1- name: Setup PHP uses: shivammathur/setup-php@v1 with: php-version: '7.4' extensions: mbs…