Hello, dear Artisan, how are you? Any problems you're facing in your Laravel-dev life? Just hit Reply and raise the question, maybe I can help? Seriously.
Now, today's weekly newsletter will have a few useful packages, a few in-depth tutorial, but I would recommend to read AMA with Taylor Otwell - aren't you interested in how he does what he does?
Let's get to the links, enjoy!
Tip from Laravel Daily blog
Migration – down: check if table has column
laraveldaily.com
One of the problem with database migrations in Laravel is developers rarely actually test “down” migrations – even when testing we usually re-generate the whole schema from scratch instead of launching down() functions. Therefore I would advice to check something before doing down migrations.
AMA with Taylor Otwell
hashnode.com
If you wanted to ask any question to a Laravel creator himself, here's the Q&A with Taylor Otwell - he answers the most common questions about Laravel and his own workflow.
Ultimate Guide on Sending Email in Laravel
scotch.io
Sending emails in web applications has become so essential. Marketing, notifications, newsletters, adverts, etc are some of the reasons why we send emails to our clients. I'd say the majority of websites send automated emails at least via a "Contact us" form.
Laravel Response Macros for APIs · Jad Joubran
blog.jadjoubran.io
Consistency is one of the most important aspects to consider when building an API. You often find yourself returning 2 types of responses; one for success and one for errors. As you can see, we are returning error responses in a specific format, and success responses in a different format.
Awesome Laravel
github.com
A curated list of awesome bookmarks, packages, tutorials, videos and other cool resources from the Laravel ecosystem.
Packages
Laravel Form Builder
github.com
Form builder for Laravel 5 inspired by Symfony's form builder. With help of Laravels FormBuilder class creates forms that can be easy modified and reused. By default it supports Bootstrap 3. Creating form classes is easy. With a simple artisan command:
PHP-related articles and offtopics
Making the Move to Elasticsearch
nomadphp.com
This talk will examine a real business case, where increased data analytics demands required a change of database. The team adopted Elasticsearch to replace MySQL for our social media analytics platform, Blurrt.
A Comprehensive Guide to Using Cronjobs
www.sitepoint.com
There are times when there’s a need for running a group of tasks automatically at certain times in the future. These tasks are usually administrative, but could be anything – from making database backups to downloading emails when everyone is asleep.
A Few Composer Tips
dzone.com
I recently learned about a couple of features of composer that I thought I'd write down here so that I don't forget them! I also had to deal with a conflict in composer.lock recently, so I've noted how I solved that too.
That's it for this week, see you next time!
|