Hi everyone,
It's our first newsletter for April, and if you're in need of good reading material to catch up on the latest news on PHP to get you through the long holiday weekend, we've got you covered. This week we have new updates from Laravel, CakePHP and Symfony. In our Articles section we have a full guide on Laravel 10 encryption, the pitfalls one liners in PHP code maintenance, and Christoph Rumpel's guide to testing your Laravel applications. In podcasts we have fresh episodes from No Compromises on Queues in Testing and in the Rabbit Hole they talk about features that don't provide much value to users. Finally, in our Reading section we have the latest instalment on Yannick Chenot's series on building a complex PHP console application using Domain-Driven Design and Event Sourcing, as well as How your controller might look like in Laravel 10. We have all that and more, so we do hope you enjoy this week's newsletter.
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 articles@phpweekly.com.
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 Everything You Can Test in Your Laravel Application Christoph Rumpel has an excellent guide, Everything You Can Test in Your Laravel Application, with examples of scenarios you'll likely need to test on real applications.
Skipping Tests Conditionally In Pest In this blog post, I'd like to show the easiest way to skip tests conditionally in tests. Using the simple technique, which can be used for other things besides skipping tests, you can make your tests much more flexible.
Avoiding One-Liners In PHP PHP developers frequently share how they transform multiple lines of PHP code into one-liners. Through the eye of a maintainer, how do these one-liners compare to their multi-line counterparts? After all, writing PHP code is not a problem, but maintaining it is even more so.
Typical Mistakes Juniors Make - Laravel Indeed, I do not think that no one knows about the laraveldaily platform and the useful articles that we get from there. I wrote an article on this platform that talks about Typical Mistakes Juniors Make, and I wanted to share with you the main points in it.
Introducing the New Zend Puppet PHP Modules Working with ZendPHP and Puppet just got a lot easier. With the introduction of two new modules for ZendPHP and ZendHQ — and the ability to manage ZendPHP using the puppet/php module — teams now have a faster way to work with fully-supported EOL PHP runtimes from Zend.
Encryption in Laravel 10: Full Guide Welcome to the exciting world of Laravel 10 encryption! If you’re a developer, you know that keeping user data secure is no laughing matter.
|
Tutorials and Talks Pest Architecture Plugin With the release of PestPHP v2, we can now test the architecture of our applications. In this tutorial, we will walk through how to use this plugin.
Eager Load Relations In Laravel Using With WhereHas When using whereHas in Laravel, it’s not uncommon to also eager load the relation using with.
How To Build A Custom Eloquent Builder Class In Laravel In Laravel, Eloquent is the default ORM (Object-Relational Mapping) that provides an elegant and easy way to interact with the database.
Create A Custom Symfony Normalizer For Mapping Values The task was to integrate a CRM (Emarsys) into the e-commerce platform.
How To Use And Display The ACF Repeater Field The ACF Repeater field is one of many ACF field types and is known as a complex field, mainly due to the fact it allows you to add sub fields that can be repeated over and over again when editing content.
Simplifying WordPress Hooks: How to Use PHP Attributes for Better Integration In this tutorial, I will demonstrate how to utilize WordPress hooks with PHP attributes.
PHP SDK For IP Geolocation, Proxy Detection And WHOIS Lookup Below I am going to show you the steps to install the SDK and perform the API calling in a PHP page.
|
News and Announcements Laravel 10.5 Released The Laravel team has recently released version 10.5 of the Laravel framework, with several new features and updates. These include a case-sensitive flag for Stringable replace, support for passing empty columns to the database builder insertUsing method, and a new database connection method called selectResultsets.
Symfony 6.2.8 Released Symfony 6.2.8 has just been released. Here is the list of the most important changes since 6.2.7
CakePHP Migrations 3.8.0 released! Updates: Fixed connection uniqueness checks, Updated index.rst, Do not allow historic app table to trip up.
A Week of Symfony #848 (27 March - 2 April 2023) This week, Symfony 5.4.22 and 6.2.8 maintenance versions were released. Meanwhile, we published a recap of the SymfonyLive Paris 2023 conference and announced the last days of the Early Bird of SymfonyCon 2023. Lastly, we published an article detailing the migration of symfony.com search engine to Meilisearch.
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: 329: PHP Benchwarmers This week on the podcast, Eric, John, and Thomas talk about Laravel Observer, Mocking External Service for testing, Twitter Source Code leaked, , and more...
Laravel News Podcast: A new Valet, Double the Pest, and analysing your Blade Jake and Michael discuss all the latest Laravel releases, tutorials, and happenings in the community.
The Stack Overflow: How to keep the servers running when your Mastodon goes viral (Ep. 550) The server in your basement suddenly has a global social media to support. What's your next move?
No Compromises Podcast: Changing Our Mind About Queues In Testing We'll admit it: sometimes we change our mind. In this episode, we discuss how we used to setup queues in Laravel tests, and why we changed it.
Developer Tea: Weber's Law and Contextual Framing Today we look at a mental model from the field of psychophysics called Weber's Law. This concept is a great analogy for a lot of problems we face as engineers and people leaders, and can help us understand just how deeply humans depend on context to understand the world.
Shoptalk Show: 559: Fidget Apps, Coding with AI, Dialog Element Navs, Getting Rid of CSS Is there still any value in specializing in front-of-the-frontend dev? Would you ever use the dialog element for a mobile navigation? Why did CodePen decide to use Go for its GraphQL server?
WP Builds: 320 – Javier Casares on WP Vulnerability, the API / project for WordPress vulnerabilities Today, it’s all about WordPress security and what you can do with the WP Vulnerability API / project.
WP Briefing: Episode 52: Workflows and Phase Three Visioning with Special Guest Héctor Prieto On Episode fifty-two of the WordPress Briefing podcast, join WordPress Executive Director Josepha Haden Chomphosy and special guest Héctor Prieto as they discuss phase three and why it’s more than just collaborative editing!
The Rabbit Hole: 297. False Feature Rich may make you poor! Continuing in the series of XP explained, today we discuss false feature rich, the idea that software has many potentially interesting features that are fun to program but don't provide much value to the customer.
|
Reading and Viewing Building a PHP CLI tool using DDD and Event Sourcing: Software Design How can we combine Domain-Driven Design, Event Sourcing and the Layered Architecture pattern to design a piece of software? This is the focus of this new instalment of a series exploring building a complex console application with PHP.
Unit Testing in Laravel In this article, we will explore what unit testing is, why it is important, and how it works in Laravel. We will also provide examples of how to write unit tests in Laravel.
How To Check If The Highest Value In The Array Is Duplicated With PHP? You can use PHP to check if the highest value in an array is a duplicate by following these steps.
Boosting Your Laravel Application: Performance Optimization Techniques Unleash the full potential of your Laravel application by implementing these proven performance optimization strategies.
PHP Interface vs Abstract Class Both of it help us to ensure that which is using them have to follow some conditions but of course there are few differences between interface and abstract classes. Lets learn what are they.
How Your Controller Might Look Like — Laravel 10 In this article, I want to show how a should look like a controller in the Laravel framework. We will write a simple controller, which will have the task of adding a new user.
Why PHP 8 and its Supercharged JIT Compiler Will Make Your Code Fly (Like a Bird on Red Bull) The PHP gods have blessed us with a turbocharger for our code, and it’s time to take advantage of this gift.
How To Optimize the Code Structure of a Simple PHP Application as Your Project Grows Let's discuss the structure of our simple PHP application, folders, files, and functions and transform the project to grow it.
|
Interesting Projects, Tools and Libraries matiux/broadway-sensitive-serializer-bundle Bundle for serializer implementation with support for data sensitization.
quillstack/http-request Common interface for Server Requests and Client Requests.
sharejia/response This is response help package for laravel.
oo-php/openssl An object oriented wrapper around the openssl extension.
omitobisam/conditional A fluent helper for object-oriented style of if-else statements.
sfynx-project/tool-captcha-bundle This Bundle provides a secure captcha to add in form.
ciricihq/jwt-client-bundle Symfony client for manage JWT login against external JWT server or to check if coming JWT token is valid.
sfynx-project/tool-database-bundle This Bundle provides classes and commands to run DB vendor`s utilities to backup and restore databases.
beaten-sect0r/yii2-db-manager The db dump manager module for Yii2.
mrchen/thriftrpc thrift RPC for PHP.
|
Jobs
------
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $75/week for an advert.
Please let me know if you are interested by emailing me at articles@phpweekly.com
|
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.
Sponsor this newsletters
|
So, how did you like this issue?
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
|
Protect your PHP code with SourceGuardian 14. Free trial.
|
|
|
|
|
|