Archive for July, 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 complex API queries with Laravel incredibly simple.

Posted in php

Continue Reading

Laravel Dump Server

Laravel Dump Server is a package by Marcel Pociot, which brings Symfonys Var-Dump Server to Laravel. Instead of dumped data messing up the response, a dedicated Dump server console collects dumped data which is sent to stdout, or piped to a file: The dd() command is what I grab, but being able to dump output at certain points without die()ing seems like an excellent workflow!

Posted in php

Continue Reading

Twine: String Manipulation, Leveled Up

Twine is a stand-alone PHP 7 package by Chris Kankiewicz for string manipulation and comparison with an expressive fluid syntax. Heres the basic usage and some examples of transformation methods: Converting to uppercase provides you with some different options, such as the whole string, the first character, and the first character of every word: Twine provides various comparison methods to verify a string in a variety of ways: You can encode a string instance with the base64() method and also generate various hashes:

Posted in php

Continue Reading

Laravel Self-Diagnosis Package

Laravel Self-Diagnosis is a package by Marcel Pociot that performs self-diagnostics tests on your application. The checks include standard things like setting your APP_KEY environment variable when checking out a new project.

Posted in php

Continue Reading