sticker

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

June 22, 2023

Hi everyone,

We all have our go-to tools and workflow systems to help us get through tasks and projects. Some we have clung to for years, because it's always worked and, why fix something if it's not broken, right? Well, this week in our Reading section we have an article from a senior Laravel developer that might give you some insight on making your workflow more efficient and add on to your arsenal of reliable set of tools. We also have a Laravel case study for a goods ordering system, as well as a series on PHP Magic methods. This week we also have the June edition of PHP Annotated that recaps this month's development in the PHP community. Speaking of recaps, if you want to read about the recently concluded Symfony Online, head on to our News section for the details, as well ad sew releases from Lemon Squeezy and Laravel Backup restore. Finally we also have new blog posts from Cristoph Rumpel on 3 compelling reasons for developers to write tests, a guide on building your own template engine in PHP - Rendering & Echo from Ryan Chandler, and the new override attribute feature in PHP as explained by Brent from Stitcher.  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:

encrypt php scriptsGet 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

3 Compelling Reasons For Developers To Write Tests
When you start thinking about writing tests for your applications, HOW to do that is what you mainly start with. Fair enough, you need to learn available tools and techniques.

Migrate passwords from a legacy PHP application to Laravel
Migrating a legacy PHP application to Laravel will probably require a custom hashing driver.

Build Your Own Template Engine in PHP - Rendering & Echo
This post will focus on rendering the template and echoing out data that can be escaped with htmlspecialchars().

#[Override] in PHP 8.3
There's a new feature in PHP 8.3: the #[Override] attribute. It's a feature already known in other languages, but let me summarize in case you're unaware of what it does.

Exploring Basic Data Types in PHP
Data types represent the type of data that can be stored and manipulated in variables. PHP supports several basic data types.

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

Working With Third Party Services In Laravel
So a little over two years ago, I wrote a tutorial on how you should work with third-party services in Laravel. To this day, it is the most visited page on my website. However, things have changed over the last two years, and I decided to approach this topic again.

Create Helper Function in Laravel
Sometimes we need to create a helper function on the Laravel project to use a function on the whole project.

WordPress Top Navigation Bar With A Custom Structure
Create a new file in your theme directory and name it custom-walker-nav-menu.php.

It is possible to create CMS using DDD?
When I started writing own CMS, I decided to try to do this using Domain Driven Design.

​DateTime Handling in Laravel by Carbon
Using the Carbon package in PHP and Laravel results in more readable code that makes the complexity of working with date & time disappear for developers.

Paystation Payment Gateway Integration with PHP Application
xenon/paystation is a php library for Bangladeshi payment gateway provider. You can integrate this in your php application and get customer payment using mfs, credit card and so on.

Laravel 10 Restrict User Access From IP Address
In this article, we will talk about Laravel 10 restricting user access from IP. You can see laravel 10 restrict ip address to access user.

News and Announcements

CakePHP Training Session
Course: Getting started with CakePHP 4 Date: June 22, 2023 - 4:00pm UTC

Introducing laravel-backup-restore
Earlier this month I've tagged v1 on a new Laravel package. It's called laravel-backup-restore and – as the name might suggest – helps you restore a backup made with spatie/laravel-backup.

PhpStorm 2023.2 EAP #4
This build includes a bunch of usability improvements, such as abilities to pin Run configurations and sort files by modification time in the Project view.

PHP Annotated – June 2023
Welcome to the June edition of PHP Annotated. We’ll recap the most thrilling developments in the PHP community over the past month, featuring handpicked news, articles, tools, and videos.

Lemon Squeezy for Laravel 1.0 is Here
The Lemon Squeezy for Laravel package has reached v1.0 this week! This package is designed to easily integrate your Laravel application with Lemon Squeezy, a SaaS application for payments, tax, and subscriptions for software companies.

SymfonyOnline June 2023 was a blast!
Last week, we hosted SymfonyOnline June 2023! For 4 thrilling days, we immersed ourselves in the vibrant world of Symfony, connecting with the international community in an entirely virtual setting. And let us tell you, it was an absolute blast!

A Week of Symfony #859 (12-18 June 2023)
This week, the entire Symfony project focused on the SymfonyOnline June 2023 conference. The event was a big success and you can already watch the talk replay if you attended the conference or buy your after event ticket to watch all of them now.

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 Ugly: 339: Two Old Guys Wine for a While
This week on the podcast, Eric, John, and Thomas talk about Wine, Vim, Pair Programming, and more...

The Stack Overflow: Stress Test Your Code As You Write It (Ep. 581)
Itamar Friedman, CEO and cofounder of CodiumAI, and Kyle Mitofsky, a Senior Software Engineer on Stack Overflow’s public platform, join the home team for a conversation about code integrity and how AI tools are changing the way developers work.

Maintainable Podcast: Nadia Odunayo - Don't Try to Solve a Pain Point For a Problem You Aren't Experiencing
Robby has a chat with the Founder and CEO at The StoryGraph, Nadia Odunayo (she/her/hers), about when it makes sense to document debugging processes for your future self, the tradeoffs made when you're the solo developer and founder of a software project.

Software Engineering Radio: SE Radio 568: Simon Bennetts on OWASP Dynamic Application Security Testing Tool ZAP
Simon Bennetts, a distinguished engineer at Jit, discusses one of the flagship projects of OWASP: the Zed Attack Proxy (ZAP) open source security testing tool.

Shoptalk Show: 570: Haircut Maintenance, Dave’s Bookshelf, Lazy Loading, and APIs
We're talking Dave's new haircut, playing Hondo, what Dave uses for images on his bookshelf page, lazy-loading thoughts, vh vw follow up, eyeball tracking updates, loading website with js, Vue transitions, charging for API access, and do you cross post, one post, or no post on social media in 2023?

WP Builds: 330 – Get lots for free with Maxi Blocks
On the podcast we have Christiaan Pieterse from Maxi Blocks. If you’ve ever dug into WordPress block packs / suites then it’s quite likely that what you’re going to hear about Maxi Blocks today will be quite familiar, except one important thing – the pricing model. More on that in a minute.

WP Briefing: Episode 58: A New Wave for WordPress Events
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: 303. Testing Tango: Red, Green, Refactor, and Why It’s Important To Follow Those Steps
The red, green, refactor approach helps streamline testing and development processes, improve code quality, and foster collaboration. It promotes a disciplined and iterative approach to software development, resulting in more reliable and maintainable systems. Join us in this captivating episode as we explore this mysterious testing approach that transforms software development.

Reading and Viewing

Locality of Behaviour (LoB)
Locality of Behaviour is the principle that: The behaviour of a unit of code should be as obvious as possible by looking only at that unit of code.

Symfony-based kbin is taking the Threadiverse by Storm
kbin is a service that is like Reddit. It is an open-source content aggregator and, as a bonus, is a microblogging platform (like Mastodon). Better yet, it is built with Symfony and its excellent ecosystem partners!

PHP Magic Methods Part 1
In PHP, magic methods are special methods that are automatically invoked by certain actions or events within an object.

Maximizing Points in a Paper Cut: An Engaging Problem Solved with PHP
Today, we’re going to delve into an engaging problem that involves a unique strategy to maximize points.

Laravel Case Study: Create Status Providing Deadline Information
Imagine you have an order system for goods. Where the ordering system has a manual approval system.

Speed up GitHub Actions by caching Composer, Rector, & Pint
GitHub’s 2000 minutes per month of free usage of GitHub Actions is usually enough to handle light workflows. However, as more tech is run automatically, we are forced to upgrade to a paid plan or optimize our workflows.

Visitor design pattern in PHP
The Visitor pattern offers several benefits and use cases that make it worth considering in your software design.

A Guide to PHPUnit in Laravel: Streamline Your Testing Workflow
In this blog, we will explore PHPUnit in the context of Laravel and discuss its features and benefits.

Mastering Laravel: My Go-To Dev Tools & Workflow (Part 1)
As a senior Laravel developer, I’ve learned that having the right set of tools and an efficient workflow can make all the difference in productivity and code quality.

Interesting Projects, Tools and Libraries

rkw/rkw-template
Templates and TypoScript for TYPO3.

novalnet/shopware6-payment
PCI Compliant, seamless integration with the various types of payment and payment-related services integrated into one unique platform.

laravel-liberu/select
Bootstrap Select data builder with server-side data fetching capability and a VueJS component.

understeam/easyii-feedback
Easy Yii CMS module with extension of default feedback module.

marwelln/recaptcha
Recaptcha that supports Google's new "no captcha recaptcha" (with Laravel support).

azatoth/php-pgettext
Extension of gettext functions for PHP like pgettext, dpgettext, etc.

smoked/filter-manager-bundle
Filter manager bundle for product lists (symfony flex version).

intervention/eloquent-hashid
Configurable HashId Trait for Laravel Eloquent models.

metarush/notifier
Send multiple notifications using notifiers like email, Pushover, etc.

sudkrishna/sudnewimagecrop
new Crop image upload widget by Sud.

Please help us by clicking to our sponsor:

 encrypt php scriptsProtect 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?

Like us on FacebookFollow us on Twitter
We are still trying to grow our list. If you find PHP Weekly useful please tweet about us! Thanks.
Also, if you have a site or blog related to PHP then please link through to our site.

unsubscribe from this list | update subscription preferences 

Subscribe! Enter your email address below:

NO SPAM: We absolutely hate spam. We will not share, rent, or give away your email address to anyone.You can unsubscribe at any time. Easily!

Talk to us!

If you have some news, want to share a link with us or chat with us feel free to email us.

And we also have an RSS feed that you can use.

Like us on FacebookFollow us on Twitter

Copyright © PHPWeekly.com