Hi guys, Usual Thursday's newsletter. In addition to doing my live-coding, I also got back to guest-writing on Laravel News! My first comeback article is about Spatie Media Library for Avatar upload, see below.
Also, there's one pretty important Blade change in Laravel 5.7 coming, make sure you read about it, as well as checking out 5.6.x minor versions.
Finally, a few interesting packages, tutorials, and Reddit discussion. Enjoy!
Articles from LaravelDaily Team
Articles from Laravel Community
Laravel Passport and mobile app API authentication
www.reddit.com
I have Laravel app with an API. Then there is mobile app which will be using that API. I need each mobile app user to be able to register and then gain access to API (token) to be able to use it. Passport has Password Grant which requires username, password, client_id and client_secret to be sent.
The Vue Cookbook
laravel-news.com
The Vue.js teams announced and published an official Vue Cookbook to go along with the Guide. There are some differences between the aim of the guide and what the cookbook can do to expound on specific areas that are too verbose or don’t make sense in the context of the guide.
Email verification in a Laravel 5 app
connorleech.info
This app is going to send emails to verify that an email address is real when users sign up. Before their account is active users need to click a special link that will verify their account and that they’re in control of that email address.
Accessing Magento data from Laravel
www.michiel-gerritsen.com
Recently I was in the process of migrating a Magento webshop to a SaaS webshop solution. Normally I would access the product and other data by using the API. In this case this was a problem as there was a lot of data that I was not able to access.
Laravel API Resources — Under the hood!
medium.com
When I was going through the API documentation, I found that Laravel 5.5 has API Resources. I never saw this in previous versions and never used. Before this, people used to use Fractal. Never used that one too.
Laravel Excel 3.0
laravel-news.com
Laravel Excel is a package by Maatwebsite that makes working with spreadsheets easy. It’s been out since 2013 and just recently released version 3.0 with some important breaking changes. My goal for Laravel Excel 3.
How to test a Laravel JSON controller
medium.com
My side-project Cronhub is a Vuex application powered by Laravel. I use Laravel as an api backend as well as to handle the authentication part of Cronhub. Most of my routes are JSON controllers that make CRUD operations on my models. As any other application I have a resource called User.
Abstracting Request Keys
medium.com
In an API’s codebase its a good idea to abstract the keys for the requests and responses on top of your data layer. This is a key step to making it easier for your codebase to evolve and still uphold your API contract.
Dot Env Files: The Silent Killer
tighten.co
Laravel’s .env files are fascinating things. They seem so innocent on the surface, but underneath the friendly façade they are vicious beasts capable of bringing your entire application to its knees. In this post we’ll look at some of the ways mismanaged .
appbaseio/dejavu
github.com
dejavu fits the unmet need of being a modern Web UI for Elasticsearch. Existing UIs were either built with a legacy UI and have left much to be desired from a Ux perspective or have been built with server side page rendering techniques (I am looking at you, Kibana).
Edujugon/XMLMapper
github.com
Are you working with xml data? then this package is for you. This is the simplest API to interact with XML data. Laravel 5.5 or higher?
That's it for this time, see you next Thursday! Povilas Korop LaravelDaily Team
|