Best of PHPAugust 2022

  1. 1
    Article
    Avatar of geekcultureGeek Culture·4y

    A Company banned me because I made their Electron App running inside Docker

    The CEO of BeyondCode, Sebastian Schlein, wrote to me on a Sunday to explain to me, that he is unable to support me — a paying customer. Schlein: I made their Electron App running inside Docker Okay, to be honest, because: I was impudent to ask questions as well. It’s up to you to decide to use Tinkerwell.

  2. 2
    Article
    Avatar of freekFREEK.DEV·4y

    How do database indexes work?

    Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer. Expect quick tips & tricks, interesting tutorials, opinions and packages.

  3. 3
    Article
    Avatar of lnLaravel News·4y

    How I develop applications with Laravel

    The API we are building is a basic to-do style application, where we can add tasks and move them between to do and done. For me, it always begins with a simple command: laravel new todo-api --jet --git. We will create an API because it is something I love doing. The way I work with Laravel is very similar to Domain Driven Design, so there is a little setup.

  4. 4
    Article
    Avatar of systemweaknessSystem Weakness·4y

    Mr. Robot CTF Tutorial

    Mr. Robot CTF Tutorial TryHackMe is a free tutorial on how to make a robot using a nmap scan. The first step is to run a gobuster scan and find directories that are allowed us to visit so i went to them.

  5. 5
    Article
    Avatar of tuts_plusTuts+·4y

    How to Use async in PHP

    The former method of task execution is called synchronous execution and the latter is called asynchronous execution. In this tutorial, we will learn how to perform multiple tasks in parallel in PHP by using the Spatie async library. The library uses the symfony/process component to create and manage different child processes. The content of each file is a random hexadecimal string that is 4096 bytes long. The content is just a random Hexadecinal string.

  6. 6
    Article
    Avatar of devdojoDevDojo·4y

    PhpStorm Plugins You Should Know

    PhpStorm plugin is an open-source Code Review and Static Code Analysis tool for PHP (aka inspections in JetBrains IDEs) It’s a must-have add-on to Php Storm to ensure high-quality coding.

  7. 7
    Article
    Avatar of freekFREEK.DEV·4y

    Is COUNT(*) slow in MySQL?

    Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer. Expect quick tips & tricks, interesting tutorials, opinions and packages.

  8. 8
    Article
    Avatar of tuts_plusTuts+·4y

    PHP Tutorial for Beginners: Free 7 Hour Course

    Learn the fundamentals of PHP and use it to write web apps in this free course. Follow along to learn the most important skills writing apps for the web.

  9. 9
    Article
    Avatar of hashnodeHashnode·4y

    PhpStorm Plugins You Should Know

    Php Inspections (EA Extended) is an open-source Code Review and Static Code Analysis tool for PHP. GitLive is an absolute must to enhance PhpStorms’s built-in Git functionality with real-time features such as online presence for team members and instant merge conflict detection.

  10. 10
    Article
    Avatar of lnLaravel News·4y

    Laravel 9.25 Released

    The Laravel team released 9.25 with a new string method, mass updating model timestamps with the query builder, and more: Stringable "when not exactly" Anjorin Damilare contributed a whenNotExactly string method that will execute a given callback if the string is not an exact match with the given

  11. 11
    Article
    Avatar of freecodecampfreeCodeCamp·4y

    What is PHP? How to Write Your First PHP Program

    The first generation of PHP was created in 1994 by Rasmus Lerdorf. The second generation was released as PHP/FI Version 2 in 1995 which referred to Personal Home Page Tools. To learn more about what PHP is and how to write an advanced PHP program you should install the XAMPP server on one of the operating systems we mentioned in this line.

  12. 12
    Article
    Avatar of rubylaRUBYLAND·4y

    Building a Laravel App with TDD

    A food ordering app will only have the following features: Search for food Add food to cart Submit order. Calling the remove() method in the Cart class removes an item from the user’s cart session. Running a Test To run tests, execute the following command; this will run all the tests using the PHP Unit test runner: vendor/bin/phpunit This will return the following output.

  13. 13
    Article
    Avatar of lnLaravel News·4y

    Working with OS process in PHP

    The Symfony Process component made it super easy to integrate with OS processes. But how we integrate with this library is still a little frustrating. We create a new process, passing in an array of arguments that makes the command we wish to run. The result of the push method will allow you to interact with the SymfONY Process - meaning you can do all sorts with the command out the other side. Can you think of any use cases for this?

  14. 14
    Article
    Avatar of lnLaravel News·4y

    Laravel 9.26 Released

    The Laravel team released 9.26 with a Vite asset helper, Closure support to dispatch conditionals, min and max digit validation rules, and more. Vite will process all images and fonts in these paths: 1import.meta.glob.

  15. 15
    Article
    Avatar of lnLaravel News·4y

    Building your own Laravel Packages

    In this tutorial, I will walk through how to start and publish a new Laravel package. We will build a package with an artisan command that will allow us to create Data Transfer Objects in Laravel and PHP 8.1. Alongside this, we will also have a Facade for hydrating Data Transfer objects, herein referred to I usually use the command line composer init as it is an interactive way to set this up.

  16. 16
    Article
    Avatar of do_communityDigitalOcean Community·4y

    An Introduction to JSON

    JSON, short for JavaScript Object Notation, is a format for sharing data. As its name suggests, it's derived from the JavaScript programming language, but it's available for use by many languages including Python, Ruby, PHP, and Java. Data can also be nested within the JSON format by using JavaScript arrays that are passed as a value. Arrays are ordered collections and can contain values of different data types.

  17. 17
    Article
    Avatar of itnextITNEXT·4y

    Local Infrastructure for Web Software Development (MacOs, Linux, Windows)

    The Idea behind the setup was to be able to switch through many projects and to enable faster onboarding of new members or reordering members if needed for faster development. Include aliases from an infrastructure like postgres in laravel, mailhog for emails, redis and redis.

  18. 18
    Article
    Avatar of dzDZone·4y

    Getting started with PHP framework codeigniter

    Codeigniter gives you a directory structure of a proper MVC pattern along with a lightweight built-in templating engine of its own. It requires a very minimal setup, unlike the famous PHP framework, Zend. To do this, let's create a class called Hello which will be written in the file called hello.php, stored inside system/application/controllers/ folder.

  19. 19
    Article
    Avatar of freekFREEK.DEV·4y

    Scaling Laravel to 100M+ jobs and 30,000 requests/minute

    Every month I send out a newsletter containing lots of interesting stuff for the modern PHP developer. Expect quick tips & tricks, interesting tutorials, opinions and packages.