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!

March 28, 2019

Hi there PHP fans.

Have you come up with a great idea for an app, but lack of funding prevents you from putting it into practise? Read how to raise money for your mobile app startup in 2019.

Also this week we have part three of the Migrating from Nette to Symfony in 3 weeks, looking at package vendor-locks caused by brain drain.

The fourth ScotlandPHP Conference takes place in Edinburgh, in November. The Call for Papers is currently open and Blind Bird tickets are on sale now.

Plus the latest PHP Web Development podcast is all about the benefits of Drupal CMS.

Do you write PHP tutorials? Articles? Books? Interviews? PHPWeekly needs more contributors from our community. If you have recently written or read something you think would be of interest then get in touch - [email protected].

Have a great weekend,

Katie and Ade

Please help us by clicking to our sponsor:

encrypt php scripts
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.


Because Open Source Matters … and Domains Too!
It’s an exciting day for The Joomla Project and BRANDIT! As the consolidation and packaging of web services move forward, we are happy to announce the official launch of our domains platform (powered by BRANDIT),

UKFast Cyber-Attack Report Reveals Most Vulnerable Usernames
Hosting firm UKFast has released its first Threat Monitoring report, with data and insight from its Threat Monitoring service, which continuously analyses data to distinguish between potential security breaches and normal activity.

One-Third Of The Web!
WordPress now powers over 1/3rd of the top 10 million sites on the web according to W3Techs. Our market share has been growing steadily over the last few years, going from 29.9% just one year ago to 33.4% now. We are, of course, quite proud of these numbers!

How to Raise Money for Mobile App Startup in 2019?
You probably have an awesome idea in mind for your mobile app but the only thing holding you back is the lack of funds. Well, you are not alone, lack of funds can be one of the biggest reasons why some great app ideas never turn into reality. This is what makes the whole process a little more complicated. And even if your app idea is great, you will still have to convince an investor to fund your app – something that you need to take care on your part.

Tutorials and Talks

Multithreaded Processing with Swoole
PHP is not known for multi-threaded processing because, until now, it has been very difficult to achieve, as well as buggy to say the least. With the advent of Node and Go, PHP started declining in popularity for this very reason. Node and Go are often chosen over PHP because they are multi-threaded and can handle connections faster without using Apache or NGINX. Benchmarks are truly better for Node than PHP under certain most circumstances. However, Swoole is changing everything.

Why We Migrated from Nette to Symfony in 3 Weeks - Part 3 - Brain Drain Dead Packages-Lock
Do you want to migrate your project from Nette to Symfony? In Part 2 we looked at escaping semver hell. Today we'll look on package vendor-locks caused by brain drain.

Continuous PHP Code Quality with SonarCloud
I had heard only good things about SonarQube before, but so far, I haven't used it myself. Well, today I stumbled upon SonarCloud and SonarLint.

Optimising Laravel Part 2: Improving Query Performance with Database Indexing
In my last article we looked at some simple commands and some basic code tweaks we could use to optimise the performance of a Laravel application. In this article, we’re going to look at how to use database indexes to improve the performance of queries so that your Laravel app doesn’t become sluggish when you start to query lots of data. I was able to improve my performance by 100% in the example in this post but your mileage will almost certainly vary.

Upgrading to PHP 7.1.27 – How To Fix the GPG error: error
If, like me, you’re still using PHP7.1, then you should upgrade to the most current security release which is 7.1.27 and was released on the 7th of March. Prior to that we were on 7.1.24 and missed out on fixed for a number of CVEs that were addressed in 7.1.26  and 7.1.25 – and fixes for a segmentation fault or two as well.

What Makes Slider Revolution the Best WordPress Slider Plugin?
In the crowded online arena, sites are constantly vying for readers' and viewers' attention, and new information is released every second. Just placing images, text, and videos on your website is not enough to build a web presence. How you tell your story and deliver your ideas matters.

417 Expectation Failed
A server emits 417 Expecation Failed when it encountered a Expect header that it didn’t understand or doesn’t support. A client can use the Expect header to tell the server that it requires a certain behaviour from a server.

PSR-14: A Major Event in PHP
The PHP Framework Interoperability Group (PHP-FIG) has released a number of new specifications in the last year. The latest, PSR-14, covers Event Dispatching. Like many PSRs it's a fairly small spec, at the end of the day, but intended to be high-impact. In this series of posts I want to cover what PSR-14 is and does (and what it isn't and doesn't) and how to best leverage it in your projects as it gets deployed more widely.

Laravel Stats: Code Statistics for your Laravel Projects
Laravel Stats is a package inspired by rake stats that gives you code statistics for your Laravel projects.

Check PHP Syntax From The Command Line
PHP command-line interface (CLI) includes a nifty option to quickly check for any syntax errors in a source code file. A simple check for a single file is given below. The option flag to check is -l (lowercase ‘L’).

Six Lesser Known Composer Commands You Should Know
Composer is the go to package manager for PHP. If you’re a PHP developer you more than likely use it every day and run the commands require, install and update frequently. What you perhaps don’t realise is that there are a load of other Composer commands at our disposal that can make working with the package manager a lot easier. There are many commands available, but today I am going to share six that I use and find helpful on daily basis.

Coding Standards Updates for PHP 5.6
With the minimum PHP version increasing to 5.6 as of WordPress 5.2, now’s a good time to be reviewing the WordPress Coding Standards. Here is a set of changes that I’d like to propose.

Use Website PHP.ini with Composer
Some websites require a custom php.ini file due to default settings for a server. Below we'll use Composer with the php.ini file of a specific website.
News and Announcements

Imagine 2019 - May 13-15th 2019, Wynn Las Vegas
Imagine 2019 attracts the biggest innovators in eCommerce. Join industry leaders, merchants, retailers, agencies and developers for live keynote and breakout sessions, customer panels and networking events. Tickets are on sale now.

Darkmira Tour PHP 2019 - 8-9th June 2019, Brazil
The unmissable event on security and quality in PHP ecosystems. Come and discover the latest developments in the PHP ecosystem, good practices, tools and methodologies during these two days with more than 30 talks where international and national speakers will share their knowledge in English and Portuguese. Early Bird Tickets are on sale now.

SymfonyLive Warszawa June 11-14th 2019, Poland
Come for the conference to learn all about the latest developments with Symfony, share best practices, experience, knowledge and make new contacts with the great Symfony community from Poland! All talks will be in Polish, except for the Keynotes, which will be in English. Tickets are on sale now.

Oscon - July 15-18th 2018, Portland
The 21st Open Source Convention takes place next July. OSCON brings open source community, enterprise and engineering teams together to share best practices, projects that transform business and insight into what you need next. Tickets are on sale now.

ScotlandPHP Conference - 8-9th November 2019, Edinburgh
Join the worldwide PHP community for the fourth ScotlandPHP conference later this year. There will be at least 14 talks presented across 2 tracks, along with 4 workshops, to help you enhance your current skills and find out what's next for PHP and beyond. Blind Bird Tickets are on sale and the Call for Papers is open now.

Nomad PHP EU - April 11th 2019 11:00 PDT
Taming your Data with ElasticSearch, presented by Derek Binkley. Are you searching unstructured data or text fields? Do you need to aggregate and summarise your geo, financial, or other numeric data? Do you want to query your structured data in new and exciting ways? If so, Elasticsearch may be right for you. Let's explore the many ways you can ask questions about your data and have it make sense to you and your users. We'll sort through millions of rows in milliseconds and give you tools to take your data analysis to the next level. You will learn how to use PHP libraries and basic RESTful API calls to store, search and aggregate your data.

Nomad PHP US - April 11th 2019 06:00 PST
Building Interactive Maps with PHP and JavaScript, presented by Alex Rock. Six years ago I started working on a complex, interactive mapping system called "Esteren Maps" for an RPG editing company called Studio Gate. The challenge was to create a dynamic, location based mapping system - similar to popular mapping systems like Google or Bing. In this talk I'll cover the challenges of building a system and how to build your own using Symfony, Doctrine, LeafletJS and other tools - as well as best practices and hard learnings discovered over the six years of development.

Podcasts and Vlogs

Voice of the ElePHPant - Interview with Ian Littman
This week Cal Evans chatted with one of the organisers of Longhorn PHP, Ian Littman.

MageTalk Magento Podcast #191 - Fair Enough
The boys get into some of the nitty-gritty details of UPWARD, talk about some of their failures, and play Yes/Yes/No with some confusing tweets.

PHP Internals News: Episode 2: PHP Compiler and FFI
In this second episode of "PHP Internals News" we talk to Anthony Ferrara (@ircmaxell) about his PHP Compiler project, and the new FFI functionality that has made it into PHP 7.4.

PHP Ugly Podcast #144: Popular With The Teens
This week Eric, Thomas and John discuss various topics including Shift and Notion.

PHP Web Development Podcast EP#36 - Why Drupal? With Denis Usov
Denis Usov is a Team Lead at ADCI Solutions, a design and development company specialising in high load Drupal projects. In this session we will be discussing the benefits of Drupal CMS.

Beachcast Tech Videos 010 - Add UUID to Doctrine ORM in a Zend Expressive Application For a REST API PHP Project
We add UUID to a Zend Expressive application for a REST API PHP project, so that the ID for each record in the database carries a universally unique identifier rather than an auto increment integer.

Reading and Viewing

Small History About QA
Despite I'm mainly a developer, I now use most of my time on doing QA on PHP projects. Here is, around release of versions7.2.17RC1 and 7.3.4RC1 a report which should help to understand this activity.

Kinsta Kingpin: Interview with Radu Oprea
Radu Oprea is the co-founder of tagDiv, a company that focuses on building amazing blog, news, and magazine WordPress themes. He’s also the senior developer behind the Newspaper and Newsmag themes; which are used to power thousands of WordPress sites across the globe. tagDiv has sold well over 92,000 copies, making them a Power Elite Author on ThemeForest.

A Week of Symfony #638 (18-24 March 2019)
This week, we unveiled an upcoming Symfony and API Platform hackathon organised by the European Union. Meanwhile, the SymfonyLive Berlin 2019 conference made a call for papers and the SymfonyLive São Paulo 2019 conference announced its first speakers. Lastly, the popular FontAwesome library added the Symfony icon to their collection.

Women and Nonbinary People in Information Security: Magda Chelly
This is now my third year of interviewing women in information security for Tripwire’s State of Security blog. My experience has been amazing so far. This is my 57th interview in this series and here’s the first interview for 2019. Magda Chelly is a friend of mine. We have done a little bit of writing and research work together. Now she has an exciting new CISO (Chief Information Security Officer) job! I was thrilled to get a chance to talk with her more in depth.

Learn to Build Powerful Web Apps Using PHP With This 12-hour Training
While HTML lays the groundwork for your website or app, PHP takes it to the next level. Despite how powerful of a coding language it is, many web developers don’t know its full potential. That’s where the Ultimate PHP Training Bundle comes in. This beginner-to-advanced course features 90 different lectures and over 12 hours of content covering all things PHP.

Introducing Captain Hook
Back at MageTestFest in Florence, I introduced the audience to a tool called Captain Hook for managing Git hooks. In the QA section of my talk, the question was raised why I have not recommended to use GrumPHP. A valid question since all the QA tools I talked about are already supported by GrumPHP out-of-the-box.

Announcing “Advanced Laravel Excel” Video Course
Ever struggled with yet another Excel import or export? So have we, plenty of times. Dealing with Excel can be overwhelming sometimes. We spent a lot of time figuring this stuff out and a lot of our experience ended up in our Laravel Excel package over the past 5 years. With 10M+ downloads, it became one of the most popular packages in the Laravel Community. Lately, we have been getting a lot of request for a video course about dealing with Excel in Laravel. Especially evolving around more complex, real-life situations that go beyond the documentation.


Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert.  Please let me know if you are interested by emailing me at [email protected]

Interesting Projects, Tools and Libraries

A simple, low-memory footprint function to generate all combinations from a multi-dimensionnal array.

An open source, web based interface for managing domains/mailboxes/aliases etc on a Postfix based mail server.

Open source web application which lets users create website screenshots through a simple API. It's built with Laravel.

Bref provides the tools and documentation to easily deploy and run serverless PHP applications.

Herbie is a simple Flat-File CMS- und Blogsystem based on human readable text files.

PHP data generator for Testing inspired on Fabrication and factory-girl from the Ruby world.

Generating and parsing VAST documents.

Collection of general purpose ViewHelpers usable in the Fluid templating engine that's bundled with the TYPO3 CMS.
REDAXO provides you an easy-to-learn website framework. It lets you create content from custom modules with full control of any input and output. It is multilingual, highly extendable and adapts to your workflow.

WireMock provides a JSON API for interacting with it; wiremock-php makes it easy to use that JSON API from PHP by wrapping it up in a fluent API very similar to the Java API provided by WireMock.

Kimai v2 is web based Timetracker: multi-user application for time-tracking using Symfony 4 and the AdminLTE theme. Can be used by Freelancers, Agencies and Companies to track employee working-times and generate invoices.

Human-friendly library to implement JSON:API without needing to know the specification.

Please help us by clicking to our sponsor:

encrypt php scripts 
Protect your PHP Code
Why not try SourceGuardian 11. 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 ©