Hi everyone,
Look no further than PHPWeekly for your prime source of news and updates on anything and everything related to the world of PHP. This week's newsletter has a feature on five preventive measures against directory traversal. We also have two great reads on mastering string functions and arrays in the Articles section. Also check out the latest versions of CakePHP, Symfony's latest release candidate and Laravel team's latest Octane release in support of roadrunner. In podcasts we have new episodes from Maintainable about the benefits of skeleton projects, meanwhile on the Rabbit Hole they're sharing a new podcast from Scaling Tech, so do tune in. Finally in our reading section we have articles on Accessor Automation in PHP, and unlocking performance efficiency with Laravel 10's new caching techniques. 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,
Adrian
|
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. |
Articles
Refine Your Database Queries with Eloquent ORM’s Query Scopes in Laravel!
Are you tired of writing repetitive query conditions in your Laravel applications? Eloquent ORM’s query scopes are here to rescue you!
5 Effective Ways to Prevent Directory Traversal
In today's digital landscape, security is of paramount importance, especially when it comes to web applications and systems that handle sensitive data.
Control Structures in PHP: Conditional Statements and Loops
In this blog post, we will explore some of the essential concepts of PHP, such as control structures.
Service Layer in Laravel — Use It
In this article, we will delve into the concept of the Service Layer in Laravel and explore how it can help organize your application logic effectively.
Mastering Laravel: PHP Web Development Powerhouse
If you have a little bit of knowledge of Core PHP and Advanced PHP, you can easily create your website in Laravel. It is both secure and less time-consuming.
Mastering Strings in PHP: 12 Essential Functions
In this post, we’ll dive into 12 PHP string functions that you’re probably using frequently, but with a twist.
PHP Arrays: Working with Indexed and Associative Arrays
In this blog post, we will learn how to create and manipulate indexed and associative arrays in PHP.
|
Jobs
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
Feature Tests Powered By Database Seeders
At Laracon AU in 2018, David Hemphill gave a talk titled "Abusing Laravel for Fun and Profit" and one section of the talk I found interesting was on feature tests powered by database seeders.
How to Order Spatie Translatable Columns in Laravel
Spatie utilizes the JSON column type to store localized texts, which poses a challenge when attempting to order the column using the "ORDER BY" clause in MySQL.
How to register WordPress hooks with PHP attributes: A step-by-step guide
In this article, I will discuss how and why WordPress hooks are used in plugins, and how we will use PHP attributes for registering hooks in classes effectively and clearly.
How to Set Up Sanctum in Laravel
Sanctum is a Laravel package that provides a simple and lightweight authentication system for Single Page Applications (SPAs), mobile applications, and token-based APIs.
Building Elegant Console Applications With MiniCli
When you are building console applications, languages that come to mind include go, c# or python. Certainly not php, I am here to make a case for using php to build your next CLI using Minicli.
Building RankoBot with ChatGPT and Laravel
I’ve discovered that ChatGPT and Large Language Models (LLMs) are profoundly intriguing and handy, yet their practical application could be hindered by a dearth of contextual comprehension, limiting their utmost utility.
Forms, Tables, and Pretty URLs. How Do I Display Data In A Table?
How do you easily display your data in a table, in a way that automates most of the boring, repetitive pieces of table HTML you have to write?
Here Is The Easy Way To Add PHP Code To WordPress
Want to add custom PHP code to your WordPress site? It’s simpler than you think with the WP Code plugin. Let’s dive straight into the steps to get you started. |
News and Announcements
CakePHP 4.4.14 Released
Some improvements include: Fixed support for postgres schemas other than public in Fixture schema generation. Fix usage of ROOT in deprecationWarning(). This was causing failures in standalone package usage + more.
The PhpStorm 2023.2 Early Access Program Is Open
The Early Access Program (EAP) for the next major PhpStorm release starts today! In this first EAP build, you’ll get improvements for generics in PHP and a bunch of other user experience enhancements.
Laravel Octane Adds Support for Roadrunner v3
The Laravel team relased Laravel Octane V2, with support for Roadrunner V3.
Symfony 6.3.0-RC1 released
Symfony 6.3.0-RC1 has just been released. Here is the list of the most important changes since 6.3.0-BETA3.
A Week of Symfony #855 (15-21 May 2023)
This week, Symfony development activity focused again on polishing the new features of the upcoming Symfony 6.3 version, which will be released before the end of May 2023. In addition, the API Platform project announced a new edition of their conference that will be attended by some Symfony Core Team members.
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.
php[tek] 2023 - Chicago, IL
Join us for the 15th Annual Web Developer Conference, php[tek] 2023, May 16-18 2023.
|
Podcasts and Vlogs
PHP Ugly: 335: Eric Corrupts PHP
This week on the podcast, Eric, John, and Thomas talk about php[tek], TEK, Tek, and more tek ... or an .env files, and more...
The Stack Overflow: For Those Who Just Don’t Git It (Ep. 573)
Pierre-Étienne Meunier, creator and lead developer of open-source version control system Pijul, joins the home team to talk about version control, functional programming, and why OCaml is a source of French national pride.
Maintainable Podcast: Avery Quinn - Can You Quantify the Impact?
Robby has a chat with former Senior Software Engineer at Remotion, Avery Quinn, about the benefits of having a skeleton project that you can experiment with when weighing up different dependencies.
Software Engineering Radio: SE Radio 565: Luca Galante on Platform Engineering
Luca Galante, head of product at Humanitec, joins host Jeff Doolittle for a conversation about platform engineering. They begin by defining platform engineering and its relationship to, and distinction from, DevOps.
Developer Tea: System Design - Limiting the Responsibilities Of A Given Actor
Everything around us is primarily governed by some kind of system. The question is, are you designing your systems intentionally, or just letting them emerge?
Shoptalk Show: 566: View Transitions and Passkeys
How should a podcast start? Talking View transitions, Google's Baseline, Passkeys, how to start a company, and ordering a spicy chicken combo at Wendy's.
WP Builds: 327 – Thinking the unthinkable (TTUT). Episode 8: Is open source a liability?
This was prompted by a 2021 incident. A zero-day attack called Log4Shell that affected major players like Microsoft and Cloudflare.
WP Briefing: Episode 56: What to Know About WordPress Playground
Join guest host Rich Tabor and WordPress Playground innovator Adam Zielinski as they discuss the capabilities and promise of WP Playground in episode 56 of the WordPress Briefing.
The Rabbit Hole: 301. Introducing a New Podcast - Scaling Tech with Debbie Madden!
Today on The Rabbit Hole we are sharing an episode from Scaling Tech with Debbie Madden, who is the Founder and Chairwoman here at Stride. The podcast is well worth checking out and listeners can expect to hear some great conversations between Debbie and top tech leaders and experts on a wide variety of contemporary issues facing the industry.
|
Use 1Password to Authenticate with Forge and Vapor Securely
Laravel community member Andre Sayej recently published two 1Password Plugins for Forge and Vapor CLIs, that enable you to securely authenticate with your fingerprint, Apple Watch, or system authentication.
AI And The Future Of Programming As A Profession
A few weeks ago, Jeffrey asked a question on the Laracasts channel about our predictions for the future of programmers in the AI era.
Logs In Laravel: Why Use Them At All?
Here’s why using logs in Laravel is essential for an entry-level developer.
PHP Interesting Features Part 4
Named variadics, also known as variadic functions with named parameters, is a feature introduced in PHP 8.
Decorator Design Pattern In PHP
The Decorator pattern is a structural design pattern that allows you to dynamically add new behavior to an object by wrapping it in an object of a decorator class.
Accessor Automation with PHP
This article introduces getter and setter automation in PHP based on Attributes, Traits and Constructor Property Promotion for PHP >= 8.2 and shows how boilerplate code can be reduced for classes that require property encapsulation while simultaneously considering custom logic with setters.
Unlocking Performance and Efficiency: Exploring the Latest Caching Techniques in Laravel 10
In this article, we will dive deep into the new caching techniques introduced in Laravel 10 and explore how they can supercharge your application’s performance.
|
Interesting Projects, Tools and Libraries
surgiie/blade
A extended version of the laravel blade engine so it can be used on any textual.
juanber84/profilercommand-bundle
This Bundle provides some commands tools in your Symfonyprofiler.
cebe/yii2-lifecycle-behavior
Define the lifecycle of a model by defining allowed satus changes in terms of a state machine.
sanchescom/json-helper
This library provides helper functions for working with json.
cse/helpers-word
The helpers allows you to modify string data. Inclination, transliterate, convert month date and convert number or amount to word.
khanhicetea/fast-email-validator
A fast email validation library for PHP 7+.
kanoulis/nodes
Closure Table Hierarchy data model implementation for PHP Data Objects.
olat-nji/controller-generator
Laravel Package that helps Ease up the task of generating controllers with similar code structure.
flaviovs/timeit
Library and tools to measure execution speed of PHP code.
mitogh/on-cache-please
Storage a request automatically on a transient cache.
|
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?
|
|
|
|