Amazing PHP
9.94K subscribers
11 photos
84 links
Welcome to the Amazing PHP Channel! Here you can find a lot of interesting articles/news about PHP, frameworks, tools and development.

Support the channel: https://www.paypal.com/donate?hosted_button_id=FAYP5QJH5LVRL
Download Telegram
​​Keeping your code clean
I settled down in my sit, cranking the solution with my team members. “We must win this” I said, burying myself deep down to develop a working prototype within the given two days — The competitive nature in every human had just been ignited and guys must simply compete for 1st, 2nd, and 3rd place.
​​Happy New Year my friends.
How to Optimize Docker-based CI Runners with Shared Package Caches
At Unleashed Technologies we use Gitlab CI with Docker runners for our continuous integration testing. We’ve put significant effort into speeding up the build execution speeds. One of the optimizations we made was to share a cache volume across all the CI jobs, allowing them to share files like package download caches.
How to Optimize SQL Queries for Faster Sites
You know that a fast site == happier users, improved ranking from Google, and increased conversions. Maybe you even think your WordPress site is as fast as it can be: you’ve looked at site performance, from the best practices of setting up a server, to troubleshooting slow code, and offloading your images to a CDN, but is that everything?
​​Databases Backups with Laravel Zero
An essential part of any application’s deployment into a live, production environment, is a suitable backup for your persistence layer. Depending on your application, this can include your database, file storage, cache etc.
Ceed does not use file storage, and since the cache only stores an in-memory copy of database records, its loss is not critical. It can simply be repopulated. As a result, the only item requiring backup, is the database.
Deploy your Laravel Forge sites with your voice
Let me show you, how you can create your own Amazon Alexa skill to have a voice powered deployment system for Laravel Forge.
​​Laravel Model Caching
You’ve probably cached some model data in the controller before, but I am going to show you a Laravel model caching technique that’s a little more granular using Active Record models.
Composer Local Packages for Dummies
This is the simplest way to start using /packages directory in your application, that leads to cleaner code, maintainable architecture and is the best to start testing.
​​This is not the DRY you are looking for
Something went terribly wrong. We took an insightful principle about knowledge management and turned it into code nonsense.
​​Mock external services using a Guzzle snapshot client
The Snapshot testing strategy allows you to compare some data with a previous version to avoid regression.
​​The 2018 Web Developer Roadmap
Want to learn to code? There is no better time to start than right now. Below is an illustrated roadmap focussed on how to become a developer in 2018. Don’t let these illustrations scare you. You by no means need to understand everything on this map to become a stellar developer. In fact, you don’t even need to take them that seriously if you don’t want to to. Instead, use these maps as a starting point to help guide your learning as you go.
​​Welcome Amazing PHP group
This is a group of who love PHP. Here you can share new articles or useful libraries, ask questions related with PHP and just have fun.
The DRY principle misunderstood
I know what you are thinking: "Again a boring article on DRY? Don't we have enough already?".

You might be right. However I see too many developers (junior or senior) applying DRY like they are doing some witch hunting. Totally randomly or everywhere they can.
Factory as a Service
Dependency Injection Containers are a great invention - when used the right way, they allow us to keep our factories and assembly logic of services outside the core business logic of our application.
Hey, friends! We recomend you to join @front_end_first. Here you can find fresh news about front end/web development, interesting articles, useful links and tutorials. Only top information - http://tttttt.me/front_end_first
Debugging PHP with Xdebug: a 2018 handbook
Using debuggers in PHP is probably no unfamiliar territory for us developers, but do you know how to set-up Xdebug for your CLI script? Or perhaps you are experimenting with containers and resorted back to using the good old dd() or var_dump() because the extra twist in the Docker network made your old Xdebug configuration ineffective? No worries: We’ve hooked you up with a small handbook you can use in the most common PHP debugging situations this year.
​​Data-driven testing with PHPUnit
Testing your code is an essential part of the development process, but sometimes it could also be expensive when you try to emulate many uses cases based on a set of different input data.
Best Back-End Frameworks to Build Your Next Web Application
Being a software developer, I am sure you have very clear idea about frontend and backend development. In the simple words, frontend is also called the client side which is seen by the user in the form of UI/UX.
​​Laravel Zero 5.6 Is Now Available
I’m thrilled to announce the release of Laravel Zero 5.6. On this article, I will show you some highlights of this brand new version.
​​How to upgrade XAMPP in Windows? Complete Solution.
I had to write this article cause I couldn’t find any complete solution to help people out with updating XAMPP in Windows. Well, finally here is an easy to understand, step by step guide to upgrade XAMPP that actually works. Kudos!