Hope you're all doing well. In this week's newsletter we have some very insightful tutorials on Rest API and best practices along with a step by step guide for Integrating Gmail functionality in PHP. If you're into tracking flight statuses in real time we also have a tutorial on it using Aviationstack's API with PHP. In podcasts this week we have the return of PHP Architect and this week's discussion is all about the work that goes on behind the scenes. We also have new episodes from Laravel News Podcast, Corey House is a guest on Maintanable podcast to talk about finding opportunities for improvement. Is AI friend or foe?, is the question this week for the guys at The Rabbit Hole and is sure to be an interesting discussion. Finally, we have some interesting articles for you in our Reading section including Avoiding unintended coverate in PHPUnit and using GoLangs's coroutines to handle Laravel jobs. We have all that and more, so we do hope you enjoy this week's newsletter. If you're a student or developer on the move and want the latest PHP news and updates in one place, then subscribe to PHPWeekly.
If you have an article, tutorial or podcast that you would like to be featured in our newsletter, feel free to reach out to us at [email protected].
Do follow us on our social media channels on Twitter and Facebook.
All the best,
Please help us by clicking to our sponsor:
Get Reliable, Fast & Quality Proxies, Without the Tradeoffs
Scrape or crawl any amount of data, without having to worry, settle or break the bank. Buy HTTP, SOCKS & UDP proxies you can set and forget.
VS Code and Laravel Pint - 2 Methods
For those of you who are not familiar with Laravel Pint, it an opinionated PHP code style fixer.
Using ChatGPT to Migrate from PHP Annotations To Attributes
If you are migrating php projects from php 7.x to 8.x, you possibly have encountered the situation of having to change all the models that use annotations to use attributes. In this short post I would like to share with you a chatgpt prompt which has saved me a lot of time in doing so repetitive task.
How The Php Community Add Features To The Language Itself
Have you ever wondered how a language sets about adding new features, or deciding what changes from version to version?
An Exhaustive Guide to Understanding and Using PHP Data Types
This article’ll delve into these data types, exploring each with practical code examples. This will help you understand when and how to use them effectively.
Latest PHP Trends: Embracing Innovation for Web Development
In this blog post, we will explore the latest PHP trends that are shaping the future of web development.
Web Scraping Specialists Wanted
If you're a skilled Web Scraping Specialist with a knack for creative problem-solving, join our remote team to gather data from e-commerce websites and enhance our data-driven solutions. Embrace challenging projects, overcome blocking technologies, and collaborate with a diverse global team in a flexible, fast-paced environment.
Junior PHP/Python Developer - Remote
We're looking for Full-Stack Developers to join our dynamic remote international team. As a developer, you'll work on a range of projects, including Business Intelligence systems, Legal SaaS, and cutting-edge online projects. You'll be responsible for improving legacy systems, monitoring technical systems, and delivering high-quality solutions. You should be proficient in front-end and back-end development, have strong problem-solving skills, and experience with Python, PHP, Postgres, MongoDB, and Linux servers. If you're a self-motivated team player, apply now.
Technical Support Manager - Remote
Are you interested in programming but don't have the experience yet to be a skilled developer? Join our team as a Technical Support Manager and be part of our SaaS company's success. You'll work closely with our customers to provide timely solutions, troubleshoot technical issues, and contribute to feature development. Using your skills, you'll quickly identify and resolve issues, while also working closely with our team to deliver an exceptional customer experience. You don't need to have programming experience to succeed in this role, but you should have a passion for technology and a desire to learn. You will help us enhance our products and deliver an outstanding customer experience.
Tutorials and Talks
Create a REST API with PHP and Laravel
In this tutorial, we will be creating a simple API that allows users to add and retrieve data.
Building a RESTful API with Laravel: Best Practices and Implementation Tips
In this blog post, we will delve into the fascinating world of building RESTful APIs with Laravel. We will explore the best practices, implementation tips, and essential considerations for creating well-designed and scalable APIs.
Introduction to Form Validation in Laravel
Let’s dive into the basics and learn how to use this system in our Laravel applications.
How to Track Flight Status in real-time using the Flight Tracker API
In this tutorial, we will show you how to obtain real-time flight status using the aviationstack Flight Tracker API with PHP.
Building and Searching an Elasticsearch Index with Sigmie in PHP
Elasticsearch is a powerful search engine that allows you to index and search through large volumes of data quickly and efficiently. In this blog post, we will explore how to create an Elasticsearch index, populate it with documents, and perform searches using the Sigmie Library in PHP.
How to use IP2Location.io PHP SDK in Yii
In this tutorial, we will show you how to use IP2Location.io PHP SDK in Yii to retrieve the geolocation information for viewing and page redirection.
Step-by-Step Guide for Integrating Gmail Functionality in PHP
By the end of this tutorial, You’ll have the knowledge and code samples to interact with Gmail using PHP and unlock a range of possibilities for your applications.
How to Block File Uploads Containing Scripts using PHP
Malicious scripts are often embedded within file uploads and used to exploit weakly configured file upload processes, so it’s vitally important to implement rigorous security policies against them.
News and Announcements
CakePHP 5.0.0-RC1 Pre-Release
Added Time extensions with translation integrations. Adding Time support to the ORM. Added support for typed finders. Upgrade to PHPUnit 10.
PhpStorm 2023.2 EAP #2
PhpStorm 2023.2 EAP 2 introduces initial integration with GitLab, allowing you to work with Merge Requests right from the IDE.
Laravel 10.13 Released
This week, the Laravel team released v10.13 with database escaping functionality in Grammar, Sleep test hooks, response preparation events, and more.
A Week of Symfony #857 (29 May - 4 June 2023)
This week, Symfony 6.3.0 was published, including tens of new features that improve your development experience and make your projects more powerful. In addition, we published the full schedule of SymfonyOnline June 2023 conference, which will include several talks about some of these new Symfony 6.3 features.
Laravel Live UK 2023
Laravel Live UK 2023, the official Laravel conference for the UK, is coming to London for a two-day conference on June 22nd and 23rd 2023. Join hundreds of Laravel and PHP enthusiasts for inspirational talks, engaging networking, and amazing learning opportunities.
Podcasts and Vlogs
PHP Architect: php[podcast] Episode 23.3.1
John and Eric share more of the day to day behind the scenes work that goes on at php[architect].
PHP Ugly: 337: New [PHP]amily for John
This week on the podcast, Eric, John, and Thomas talk about New family members, Paseto, Email Warmup, and more...
Laravel News Podcast: Precognition, faking Stripe, and debugging Blade
Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: MosaicML: Deep learning models for sale, all shapes and sizes (Ep. 577)
Ben and Ryan talk with Jonathan Frankle and Abhinav Venigalla of MosaicML, a startup trying to make deep learning and generative AI efficient and accessible for everyone.
Maintainable Podcast: Cory House - Finding Opportunities for Improvement
Robby has a chat with Cory House (he/him/his), the Founder at Reactjsconsulting.com, a software developer, author, speaker, and consultant, about the fact that we write software for humans, the importance of good variable naming, and much more.
Software Engineering Radio: SE Radio 567: Dave Cross on GitHub Actions
Dave Cross, owner of Magnum Solutions and author of GitHub Actions Essentials (Clapham Technical Press), speaks with SE Radio host Gavin Henry about GitHub actions, the value they provide, and the best practices for using them in your projects.
Developer Tea: Tools To Deal With Layoff Anxiety
Layoffs happen whether we want them to or not. Being prepared with a principled approach can help relieve anxiety and produce better outcomes for when layoffs occur.
Shoptalk Show: 568: Display Contents, Passkeys Follow Up, Yellow Fade Technique, and TOTK Talk
Macho Man Randy Standards stops by for a quick chat, Passkeys follow up, discussing the safety of Display: contents, the yellow fade technique, how hot CSS is right now (so hot), and a check in on how everyone's doing with Tears of the Kingdom.
WP Builds: 329 – Thinking the unthinkable (TTUT). Episode 9: WordPress is too expensive
This is the 9th episode of our “Thinking the Unthinkable” series and today’s unpalatable thought is… WordPress is too expensive? We can dismiss this as insane ramblings straightway? It’s free! But, it can be expensive to do anything out of the ordinary, although Site Editing is changing that!
WP Briefing: Episode 57: The Power of WordPress Mentorship
Join WordPress Executive Director Josepha Haden Chomphosy in the 57th episode of the WordPress Briefing as she discusses the Contributor Mentorship Program to help increase the success of new contributors over time.
The Rabbit Hole: 302. Is AI a Friend or Foe? Can We Get Ahead of It??
Artificial Intelligence (AI) has the potential to bring significant benefits and advancements to various fields, including healthcare, transportation, education, and more. It can automate tedious tasks, improve efficiency, and enhance decision-making processes.
Using GoLang's coroutines to handle Laravel jobs
Laravel includes an excellent queue component that allows us to delegate time-consuming tasks to background processes. It allows us to scale our web service by responding to requests faster and thus handling more requests.
Don't Be Clever
Ten years ago, I wrote the most beautiful, clever, over-engineered piece of code ever. I was building a REST API for a startup, and discovered lots of repetition between controllers.
Going Beyond the Basics: Advanced Tips and Techniques for PHP Integration with AWS Services
To connect your PHP code to AWS S3, RDS, and Elastic Beanstalk, you'll need to follow several steps. Here's an overview of the process.
“Weak Typing” Vs “Strict Types” in PHP
In PHP, the concepts of loose typing and strict typing refer to how the language handles variable types and type conversions.
Mastering Laravel Eloquent: Essential Features for Efficient Database Operations
Whether you’re new to Laravel or an experienced developer looking to level up your Eloquent skills, this list will equip you with the knowledge of key features that will streamline your database interactions.
Avoid Unintended Coverage in PHPUnit
When it comes to writing tests for your PHP code base, a good measure of the quality of your tests is the PHPUnit coverage report.
External processes? Hold my beer, said the Laravel developer
To complete my miniseries (Part 1: Worker Pool design pattern with PHP, Part 2: Share nothing, copy by value and go \parallel) on parallel processing I’m going to show you how to implement the Worker Pool design pattern using Laravel.
Interesting Projects, Tools and Libraries
Laravel Generator extends from Infyom Laravel Generator.
Framework for specifying and enforcing rules on key/value pairs.
A library for formatting urls in the style of printf strings.
This is a generic CMS plugin class for a BMLT satellite client.
A markdown-support,easy-to-use,well-expanded blog system powered by vino and amaze ui.
Phalcon logging adapters for Slack and Sentry.
A PHP library to convert ordinary integers to roman numerals (and back). Just like that.
Facilitates the addition of custom functionality to a WordPress website, including Custom Post Types, Meta Fields, Widgets, Taxonomies, Shortcodes, Admin Modificaitons etc.
Procedural PHP Framework standard edition.
A Laravel Nova field that uses Tiny MCE.
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 14. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.
So, how did you like this issue?