Posted in php
Archive for May, 2018
Taylor Otwell is hosting a contest for the most helpful/insightful/useful Laravel blog post written by a community member. The grand prize for the winner is $1,500 cash delivered via PayPal.
Mutable dates can be the source of confusion and unexpected bugs in your code. My goal isnt to tell you that DateTime is evil because its mutable, but to consider the tradeoffs and benefits of using mutable versus immutable DateTime objects.
I recently needed a geographical check of users to determine default locales and currencies of users. The torann/geoip package by Daniel Stainback fit the bill nicely to provide GeoIP for Laravel 5 applications.
Were going to look at five Laravel Blade directives you can use to simplify your templates, and learn about some convenient directives that make solving specific problems a cinch! If youre new to the framework, these tips will help you discover the excellent features of Blade, Laravels templating engine.
Built For Vue is an open source project that serves as a mirror for projects and packages available on NPM. It combines information from npm and jsdelivr to provide useful stats to help choose the right package for your project.
Posted in vuejs
Statamic is a flat file CMS built on Laravel and Vue.js and theyve just launched v2.9 that includes a host of new features, enhancements, and improvements to enhance the developer experience. Theyve released this 7-minute video showing off some of the big new improvements: Some of the main features of this release include: Check out the Statamic site for more information about the CMS and give it a try.
A brand-new release of the GitHub Desktop app just shipped yesterday that will help you more easily sync up your changes with coworkers and teammates. The headline release feature is that you can compare your branch to another branch in the repository.
Trust me, erasing secret data from version control is open-heart surgery for your VCS you never want to perform. On the other hand, having secrets in version control is helpful to keep track of changes made, given that you do so carefully.
Adding unique slugs to your eloquent models is made simple through the Eloquent Sluggable package by Colin Viebrock. The gist of using this package is making your Eloquent models sluggable through the Sluggable trait provided by the package, which defines an abstract sluggable() method you use to configure your model-specific configuration.