Tag: Php
-
Pest - PHP testing framework that goes above and beyond PHPUnit
Posted on April 25, 2022, Level intermediate Resource Length short
When building third-party APIs, it's important to test your code in every runtime scenario you've seen or can foresee. For this, a robust and easy to use & maintain testing framework is a must. By Peter Villani.
Tags php web-development app-development tdd
-
How to start using generic types in PHP
Posted on April 14, 2022, Level intermediate Resource Length medium
Generic types are templates which allow us to write the code without specifying a particular type of data on which the code will work. Thanks to them, we avoid the redundancy and the objects operate on the previously declared types. By Jarek Szutkowski.
Tags php web-development app-development learning
-
Async & await at the edge with ReactPHP
Posted on December 16, 2021, Level intermediate Resource Length short
PHP 8.1 is out and the hip new feature for non-blocking and asynchronous programming in PHP are fibers. In this post we're going to explore them and see how we at ReactPHP will start with them at the edge. By Cees-Jan Kiewiet.
Tags open-source apis php app-development web-development
-
How to build GitHub Actions in PHP with Minicli and Docker
Posted on November 19, 2021, Level intermediate Resource Length medium
GitHub Actions facilitates creating CI/CD automated workflows that can be triggered by GitHub events, such as when a pull request is created, a merge is made, or a new comment is posted on an issue. What some people may not know is that you can also run GitHub actions at scheduled times, based on cron expressions. By Erika Heidi.
Tags cicd containers devops php apis app-development
-
What's new in PHP 8.1
Posted on November 8, 2021, Level beginner Resource Length medium
As with every release, PHP 8.1 adds some nice new features. Keep in mind that this list will grow over the year. By Brent.
Tags php web-development programming app-development
-
Deploy your Laravel app as a static site to Netlify
Posted on August 9, 2021, Level beginner Resource Length short
With JAMstack, your entire site is pre-built as static HTML files and hosted on CDN. Since those static files are served via CDN, it's blazing fast, scalable, and more secure as there is no backend servers and databases. By Ryuta Hamasaki.
Tags app-development web-development programming cloud php
-
Laravel Octane v1.0 is here
Posted on July 2, 2021, Level beginner Resource Length short
Laravel Octane, a tool to supercharge your Laravel application's performance. By Paul Redmond.
Tags php app-development web-development performance
-
Writing better regular expressions in PHP
Posted on June 12, 2021, Level intermediate Resource Length medium
Regular Expressions are powerful, PHP but they are not known to be readable, and more often than not, maintaining a regular expression is not a straight-forward task. By Ayesh Karunaratne.
Tags php web-development app-development programming
-
Introducing PHP on Cloud Functions
Posted on May 4, 2021, Level beginner Resource Length medium
Google is bringing support for PHP, a popular general-purpose programming language, to Cloud Functions. With the Functions Framework for PHP, you can write idiomatic PHP functions to build business-critical applications and integration layers. By Brent Shaffer and Vinod Ramachandran @googlecloud.
Tags app-development cloud php google serverless
-
Experiments in concurrency 3: Event loops
Posted on May 3, 2021, Level intermediate Resource Length medium
An event loop is a loop that runs your code and does things based on some events. That's vague, I know, but it'll become clearer as we go. By Shalvah.
Tags app-development javascript php
-
A pragmatic architecture
Posted on April 25, 2021, Level intermediate Resource Length medium
REST, CQRS and messaging are not just buzzwords to you? But you want to know how to put them all together? Then let's make a plan! By Michael Zangerle.
Tags cloud app-development web-development php cicd
-
Fibers in PHP: A new opportunity for async PHP?
Posted on March 29, 2021, Level beginner Resource Length medium
It looks like PHP will get fibers soon with PHP 8.1! That's awesome! Or is it. By Christian Lück.
Tags web-development app-development php functional-programming