PHPNews

Hi, author of PHPStan here — you can require this larastan package and just …

Hi, author of PHPStan here — you can require this larastan package and just include its “extension.neon” in your normal PHPStan installation. The proprietary executor wrapper made by Nuno here is just what the Laravel folks are used to, and if it helps the adoption of PHPStan by Laravel community, I don't have a …

Continue reading »

Written by Ondřej Mirtes - - Aggregated on Wednesday July 18, 2018


202 Accepted

202 Accepted , means that the server accepted the request, but it’s not sure yet if the request will be completed successfully. The specification calls it ‘intentionally non-committal’. You might see APIs using this response for for example asynchronous batch processing. HTTP doesn’t have a standard way to …

Continue reading »

Written by Evert Pot - - Aggregated on Tuesday July 17, 2018


Laravel Query Builder

Laravel Query Builder is a package by Alex Vanderbist and the folks at Spatie, to quickly build Eloquent queries from API requests. This package makes creating …

Written by Laravel News - - Aggregated on Tuesday July 17, 2018


Objects should be constructed in one go

Consider the following rule: When you create an object, it should be complete, consistent and valid in one go. It is derived from the more general principle that it should not be possible for an object to exist in an inconsistent state. I think this is a very important rule, one that will gradually lead …

Continue reading »

Written by Matthias Noback - - Aggregated on Tuesday July 17, 2018


Web Design Weekly #326

Headlines Building the Google Photos Web UI A technical write up about how they Google Photos team solved various challenges, and a peek under the hood of how the web version of Google Photos works. Awesome read. (medium.com) The Speed Update is now rolling out for all users. (googleblog.com) Sponsor Web …

Continue reading »

Written by Web Design Weekly - - Aggregated on Monday July 16, 2018


Bye Disqus, hello Webmention!

Since 2013 I’ve used Disqus on this website for comments. Over the years Disqus has been getting ‘fatter’, so I’ve been thinking of switching to something new. Then on Friday, I saw a tweet which got me inspired: I moved to distributed, standard based, and @indiewebcamp solutions based comments, AKA …

Continue reading »

Written by Evert Pot - - Aggregated on Monday July 16, 2018


Laravel Query Detector

Laravel Query Detector is a package by Marcel Pociot, which detects N+1 queries. The package will automatically notify you of any N+1 issues when your …

Written by Laravel News - - Aggregated on Monday July 16, 2018


carbon-cli – Carbon, from the CLI

carbon-cli is a CLI tool which interacts with the aforementioned Carbon , allowing you to create beautiful images of your source code. Installation per NPM/Yarn, or run it directly using npx npm i -g carbon-cli Usage is quite simple: carbon -f file.js carbon-cli – Carbon, from the CLI →

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018


Swoole – PHP asynchronous programming framework

Swoole is an high-performance network framework using an event-driven, asynchronous, non-blocking I/O model which makes it scalable and efficient. It is written in C language without 3rd party libraries as PHP extension. It enables PHP developers to write high-performance, scalable, concurrent TCP, UDP, Unix Socket, …

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018


CSS shape-outside Experiments

I like these pens by Kristopher Van Sant using shape-outside to wrap text in a shape. Take this heart for example: CSS Shapes Experiments → Back in 2006 (!) I created a small site/tool named “The Box Office” to fake that. It took the line-height and floated a truckload of boxes to one side to …

Continue reading »

Written by Bram.us - - Aggregated on Sunday July 15, 2018