Bookmarks tagged with #php.
Show all
Show all
Lessons Learned from Testing and Refactoring Legacy
I remember when I first discovered automated testing. I immediately wanted to apply it to all the projects that I was working on, but it didn't work as well as I expected. In fact, it was a disaster,
Saved
on: 2019-12-05
YouTube
Let's Learn About php 7.4 and its new features! Lesson 1: Class property typing (easy casting) https://www.youtube.com/watch?v=DG9raLLgQjI&list=PLNuh5_K9dfQ1...
Tags:
#php
Saved
on: 2019-12-05
Generics in PHP using PHPDocs - Ondřej Mirtes - Medium
Two years ago I wrote an impactful article on union and intersection types. It helped the PHP community to familiarize themselves with these concepts which eventually led to intersection types…
Saved
on: 2019-12-02
PHP static code analysis – keep your code under control
Keeping code clean is not easy. That’s why in this article, I present some useful tools which can help you with PHP static code analysis. Learn more.
Tags:
#php
Saved
on: 2019-11-13
Legacy PHP Application: PHP CS Fixer & PHP Code Sniffer for PSR1 & PSR2 – S
Tags:
#php
Saved
on: 2019-11-05
Custom error rendering in Slim 4 – Rob Allen's DevNotes
An article by Rob Allen
Saved
on: 2019-10-17
Object Oriented PHP for beginners
Object oriented PHP tutorials. This playlist covers Object-Oriented PHP in details. Starting with very basics: Creating classes and objects. ending with much...
Saved
on: 2019-10-17
A github CI workflow tailored to modern PHP applications (Laravel, Symfony, …)
Last year we wrote a blogpost about our setup we use for Oh Dear! with Gitlab, and how we use their pipelines for running our CI tests.
Tags:
#php
Saved
on: 2019-10-06
kubephp/README.md at main · sherifabdlnaby/kubephp
🐳 Production Grade, Rootless, and Optimized PHP Container Image Template for Cloud-Native Deployments and Kubernetes. - sherifabdlnaby/kubephp
Saved
on: 2019-09-24
nahid/presento: Presento - Transformer & Presenter Package for PHP
Presento - Transformer & Presenter Package for PHP - nahid/presento
Saved
on: 2019-09-22
Easy peasy RabbitMQ squeezy - Syed Sirajul Islam Anik - Medium
Back in mid-2018, I had to learn the RabbitMQ. I was trying to understand how it works. Failed miserably. This thing happens too often for me. There are several things I wanted to learn. JS…
Saved
on: 2019-08-28
From LAMP to serverless: case study of externals.io | Matthieu Napoli
This article is part of a series of case studies of serverless PHP applications built with Bref on AWS Lambda. You can read more of those case studies here. This case study is about migrating the externals.io website to AWS Lambda using Bref. This is the first time I write about a serverless PHP website with a MySQL database. I hope it will interest a few people ;)
Saved
on: 2019-08-13
Migres - The PostgreSQL migration tool : PHP
Saved
on: 2019-07-31
Setup VS Code for Efficient PHP development 🚀 | Theodo
Learn how to configure Visual Studio Code for PHP development. Install the best VS Code extensions for PHP, setup Xdebug and increase your productivity!
Saved
on: 2019-07-20
How I use Live Templates in PHPStorm | Marijn Huizendveld
How fast you can type is usually not a constraint on software design work. However, having to write the same boilerplate code again, and again, and again can be quite a drag. Over the years I’ve started to use PHPStorm – my IDE of choice – better and better. One of its features is “Live Templates”. These can be used to generate small sections of code in particular types of contexts, like files, class bodies, method or function bodies.
Saved
on: 2019-07-19
Preloading in PHP 7.4 - stitcher.io
Preloading allows for parsed PHP files to be available for all requests
Saved
on: 2019-07-04
How to build a Docker development setup for PHP Projects [Tutorial Part 3]
Dockerfiles, folder structures, etc. - In this article I'll got through the fundamentals for a PHP development environment on Docker.
Saved
on: 2019-05-20
PHP in 2019 - stitcher.io
PHP isn't the same old crappy language it was ten years ago
Tags:
#php
Saved
on: 2019-05-13
When to declare classes final
Declaring classes as final enhances our code quality and abstraction dramatically, but is it always correct?
Saved
on: 2019-05-07
A PHP Compiler, aka The FFI Rabbit Hole | ircmaxell's Blog
It’s no secret that I’m into building toy compilers and programming languages. Today I’m introducing something that’s not a toy (I hope). Today, I’m introducing php-compiler (among many other projects
Saved
on: 2019-04-23
TwirPHP: A modern RPC framework for PHP
In the last couple years RPC started to become popular again as a communication mechanism for web-based APIs. It’s not a new concept at all, but it changed a lot over the years: the technology evolved, new IDLs and frameworks (like protobuf and gRPC) appeared. TwirPHP tries to bring this new tech to PHP by porting Twirp, Twitch’s “simple RPC framework built on protobuf”.
Saved
on: 2019-04-20
delight-im/PHP-I18N: Internationalization and localization for PHP
Internationalization and localization for PHP
Saved
on: 2019-03-29
https://mattallan.me/posts/how-php-environment-variables-actually-work/
Tags:
#php
Saved
on: 2019-03-27
Kubernetes: deploy Laravel the easy way ♦︎ Learnk8s
In this article, I'll explain how to deal with the simple requirement of running a Laravel application as a local Kubernetes set up.
Saved
on: 2019-03-21
Introducing Inertia.js
In this article I introduce Inertia.js, a framework for creating server-driven single-page apps.
Saved
on: 2019-03-19
Which is the coolest PHP library you have used ? Put a link as well... : PH
Saved
on: 2019-03-16
Different kinds of service bus: command bus, service bus and query bus.
Service buses exist in different flavors. This article explains the overall concept of the service bus. Then it shows differences between the command bus, query bus, and event bus.
Saved
on: 2019-03-01
Why I choose Slim Framework for my PHP web development
Of course I often found myself involved in the same tedious tasks reinventing the wheel. But I found it even worse to spend a lot of time in learning just-another-framework and not being satisfied at…
Saved
on: 2019-02-20
Moving away from magic — or: why I don’t want to use Laravel anymore
By Niklas Schöllhorn
It is time for a change in the tools that I use. And I’ll tell you why!
First of all, I want to make sure that you know about my intentions. I am not trying to rant about Laravel or why other frameworks might be better.
This arti...
Saved
on: 2019-02-20
Why Config Coding Sucks | Tomas Votruba
Rector and static analysis help us to work with code better, but it also helps us spot new weak-points of our PHP code.
One of the biggest evils is *config coding*. **How it can hurt you and how get rid of it**?
Saved
on: 2019-02-19
Keeping (large) data providers organized in PHPUnit - DEV Community ????
It's easy to lose track of what exact data is in your data providers in a PHPUnit test, especially if there are many test cases, or many parameters for your test case. Fortunately, it's also easy to prevent that from happening.
Saved
on: 2019-02-18
If you could recommend just one book.. : PHP
Saved
on: 2019-02-13
What Composer Packages do you always install and find useful (in a non Framework environment)? : r/PHP
Saved
on: 2019-01-05
The Best PHP Books 2018 and 2017 - PHP Classes
Every year many books about PHP and related topics are released but most of them do not get much notice from developers that are very interested to learn about the books if they knew they existed. This article is a listing of PHP books that have been released in the last years that are best sellers in sites like Amazon. It was built with the collaboration of the authors that have written them...
Saved
on: 2019-01-04
Sanitize Your Inputs? | Kevin Smith
There's one particularly slippery term that wreaks havoc in the pursuit of application security: _Sanitize_.
Saved
on: 2019-01-03
RubixML/RubixML: Rubix ML is a high-level machine learning library that let
A high-level machine learning and deep learning library for the PHP language. - RubixML/ML
Saved
on: 2018-12-21
How to Install and Configure OPcache With Your PHP App
Learn how to improve your PHP app's performance with this guide to installing and configuring OPcache, made easy with Cloudways' simplified integration process.
Saved
on: 2018-11-30
I don't understand what's wrong with just using cookies for authentication. : r/PHP
Saved
on: 2018-10-21
Another question about the future of PHP vs other, currently trendier thing
Saved
on: 2018-10-02
Configuring PHP-FPM For High Network Traffic - DEV Community ????
Maintaining a constant response time on a server with high network traffic while using PHP is proba...
Saved
on: 2018-09-11
On structuring PHP projects — Nikola Poša - Blog
Locating code needs to be intuitive and fast
Saved
on: 2018-08-28
Using traits to compose your Doctrine entities – Titouan Galopin – Medium
Traits were introduced in PHP 5.4 (6 years ago) as a way to compose classes without relying on inheritance (in opposition to the ability to extends multiple classes like in C++). This feature of PHP…
Saved
on: 2018-08-21
adhocore/phint: Interactively scaffolds and init new (or fixup old) PHP project/library with sane defaults using templates in no time
Interactively scaffolds and init new (or fixup old) PHP project/library with sane defaults using templates in no time - adhocore/phint
Saved
on: 2018-08-21
Shorthand comparisons in PHP - stitcher.io
Taking a closer look at the ternary, null coalescing and spaceship operators in PHP.
Tags:
#php
Saved
on: 2018-08-20
What is your take on defensive programming? How do you normally do it in PH
Saved
on: 2018-08-07
noximo/PHP-colored-ascii-linechart: Nice looking versatile ASCII linegraph written in PHP
Nice looking versatile ASCII linegraph written in PHP - noximo/PHP-colored-ascii-linechart
Saved
on: 2018-08-06
Developing at Full Speed with Xdebug | Juan Treminio - Dallas based senior
A quick history
Saved
on: 2018-07-30
From Helpers to Middleware [eng] / Marco Pivetta
PHP fwdays'18 conference took place on June 10 in Kyiv.Facebook: https://www.facebook.com/fwdaysTwitter: https://twitter.com/fwdaysTelegram: https://t.me/php...
Saved
on: 2018-07-23
storage/README.md at master · igniphp/storage
Minimalistic entity framework with multi database support. - igniphp/storage
Saved
on: 2018-07-17
PHP-FPM: Process Management | Servers for Hackers
Learn how to manage how PHP-FPM creates and uses PHP processes to get the most out of your server.
Saved
on: 2018-06-01
Liskov and type safety - stitcher.io
What makes a type system safe; how does the Liskov substitution principle help with this; and what does it mean regarding type variance?
Saved
on: 2018-05-28
spatie/typed: Improvements to PHP's type system in userland: generics, typed lists, tuples and structs
Improvements to PHP's type system in userland: generics, typed lists, tuples and structs - spatie/typed
Saved
on: 2018-05-25
pwm/s-flow: A lightweight library for defining state machines that supports
A lightweight library for defining state machines. - pwm/s-flow
Saved
on: 2018-05-21
Serverless and PHP: introducing Bref | Matthieu Napoli
Serverless basically means "Running apps without worrying about servers". Obviously there are still servers involved, the main difference is that you do not maintain the servers and reserve their capacity. They are scaled up or down automatically and you pay only for what you use. This article intends to explain what serverless means for web applications and more specifically for PHP.
Saved
on: 2018-05-17
20 Useful PHP Scripts Available on CodeCanyon
Do you want to turn your website into a vibrant platform for customers? On CodeCanyon, you will find PHP email forms, PHP contact forms, PHP eCommerce platforms, secure shopping carts, and...
Tags:
#php
Saved
on: 2018-05-07
Why Docker? Creating a multi-container application with docker
If you are just starting to learn docker, one of the common questions that come to mind is what...
Saved
on: 2018-05-06
Functional Programming with PHP Generators – iFixit Engineering – Medium
Generators are cool. They make it easy to write iterators by defining a function instead of building an entire class that implements Iterator. They also make it easy to write lazy lists and infinite…
Saved
on: 2018-03-19
Make your Laravel App Fly with PHP OPcache – Appstract – Medium
Every time you execute a PHP script, the script needs to be compiled to byte code. OPcache leverages a cache for this bytecode, so the next time the same script is requested, it doesn’t have to…
Saved
on: 2018-03-10
san-kumar/lambdaphp: Quick and Dirty PHP website hosting using Aws Lambda
Quick and Dirty PHP website hosting using Aws Lambda - san-kumar/lambdaphp
Saved
on: 2018-03-09
Responsive images done right - stitcher.io
How to render responsive images in an optimal way.
Saved
on: 2018-03-09
WP init
Choáng Club là một trong những sàn cá cược uy tín nhất Việt Nam, Tải Choáng Club trải nghiệm cá cược đa dạng và an toàn cho người chơi.
Saved
on: 2018-03-05
The Definitive PHP 5.6, 7.0, 7.1, 7.2 and HHVM Benchmark (2018)
An in-depth look at performance benchmarks for various PHP frameworks to see how different PHP versions stack up against each other.
Tags:
#php
Saved
on: 2018-02-28
Web Summer Camp 2017
Netgen is presenting you Web Summer Camp 2017. Join us from August 30th to September 2nd in Rovinj, Croatia
Saved
on: 2018-01-20
Regaining trust in your test suite with Docker.
Docker, and containerised services in general, have brought a lot to the world
of software development. While not everybody is (or ever should be) using docker
as their deployment method, it's usefulness far exceeds being just a platform to
run services on in production.
--------------------------------------------------------------------------------
Testing PHP integrations.
For Flysystem [https://flysystem.thephpleague.com], an open source PHP package
to deal with filesystems, I needed a wa
Saved
on: 2018-01-20
Apache 2.4, the Event MPM, PHP via mod_proxy_fcgi and PHP-FPM – with vhosts
My tech articles—especially Linux ones—are some of the most-viewed on The Z-Issue. If this one has helped you, please consider a small donation to The Parker Fund by using the top widget at the right. Thanks! Recently, I've spent a huge amount of time working on Apache and PHP-FPM in order to allow for a ...
Saved
on: 2018-01-16
The 2018 Guide to Building Secure PHP Software - Paragon Initiative Enterprises Blog
Everything a developer needs to know to build secure software in the PHP programming language in the year 2018
Saved
on: 2017-12-16
Videos: Testing with PhpStorm | PhpStorm Blog
PhpStorm supports all the major PHP testing frameworks: PHPUnit, Codeception, Behat, and PHPSpec.Recently we've published a series of short videos about running PHPUnit and Codeception tests in Ph
Saved
on: 2017-11-18
PHP: Design Patterns
Write better PHP code by following these popular (and time-tested) design patterns.
Saved
on: 2017-11-02
Docker for any PHP Version | Servers for Hackers
Using Docker to get 5.3, which required a PHP version I didn't have on my local machine.
Saved
on: 2017-11-02
Conclusion
Let's take a very quick look at how best to set up PHP-FPM for high throughput, low latency, and more stable CPU and memory use. By default, most setups
Saved
on: 2017-10-10
How to handle configuration in PHP - Magium - The Selenium-based testing fr
Tags:
#php
Saved
on: 2017-10-07
How to gradually upgrade toward PHPUnit 6 with namespaced classes
In the latest months I wrote multiple times, in different projects, code migrating PHPUnit toward major version 6. This upgrade is harder than the previous one, since in this version it was introduced a big breaking change: all classes got (finally!) namespaced.
This means that any usage of those classes in your project needs to be updated. It may seem a simple find & replace job, but since you need to introduce at least one use PHPUnit\Framework\TestCase line at the top of each one of your test classes, it’s a boring and a little more than trivial task; also, upgrading it in a single big jump may not be feasible or prudent, especially in the case of open source or distributed libraries, where backward compatibility and support for old PHP versions must be ensured.
Saved
on: 2017-09-12
How to not be annoyed by tests and why they are important — Part 1
Developers tend to not write tests, the code is really hard to test or we simply don’t have time to write tests. For the last 3 years I was always struggling to test our software. These are merely…
Saved
on: 2017-09-08
Docker - Getting Started. Why it's useful. How to customize. Common pitfall
Saved
on: 2017-08-29