Hey guys, This newsletter is MASSIVE with 40 links in total. Not only new Laravel 7 (yay!), but plenty of videos from myself and tutorials from the community. So without any intros, let's dive in!
From LaravelDaily Team
Laravel 7 News
Laravel 7 is now released!
laravel-news.com
Laravel 7 is now released and includes many new features including Laravel Airlock, better routing speed, custom Eloquent casts, Blade component tags, fluent string operations, a new HTTP client, CORS support, and many more features.
Laracasts: What's New in Laravel 7
laracasts.com
Laravel advances to version 7 on March 3rd, 2020 with updates to Blade components, custom casting, fluent string operations, a friendly HTTP client, and much more. In this series, one episode at a time, we'll review everything you need to know.
Using Custom Eloquent Casts in Laravel 7
dev.to
Laravel 7 is pretty much upon us (scheduled for release on 3rd March) and brings a bunch of awesome new features & improvements. One of these ones I'm most looking forward to is Custom Eloquent Casts.
From Laravel Community
Building a weather forecasts CLI app with Laravel7
medium.com
With this post I will show you how to implement a command line interface to report and retrieve weather forecast in a specific location. As user I can launch a command “php artisan weather:forecast Venice”, so that I can see a list of an hour-by-hour seven day weather forecast.
Laravel: Route binding your custom class
medium.com
You surely know that Laravel offers a nice way to bind Eloquent Models to routes thanks to the UrlRoutable contract. Thanks to that, you can do things like this without thinking about how to wire it.
GitLab CI for PHP Developers
medium.com
If you are familiar source code version controlling you may heard about GitLab. GitLab is a wonderful ecosystem for any software engineering project to track codes, integrating CI/CD, issue tracking, etc. In recent days GitLab CI became a demanding skills in your resume.
How to use a MySQL database on GitHub Actions
freek.dev
Recently we started using GitHub Actions to test all our packages. You can read more about our general setup in this blog post. For most of the packages, this works great. However, some of our packages, such as Laravel Tags, use JSON functions that are not available in SQLite.
Default Eloquent Model Values
pineco.de
It’s often the case we want to create a model instance with default values that are added automatically. Let’s see how to append default values to Eloquent models. Laravel offers a nice way to add default values when we create a new model instance.
Multiple constructors in PHP
www.amitmerchant.com
Constructors are a really important part of the class-based object oriented programming. Through constuctors, a newly created objects initialize properties automatically before it is usable.
Serverless session handling in Laravel 6
medium.com
In a previous post, we looked at session handling with DynamoDb in Laravel 5 using the Jam package. At the end, we mentioned that in the Laravel 5.8 release it was announced that the DynamoDb session driver is now baked into the framework itself.
6 Eloquent tricks every Laravel developer should know
medium.com
If you are developing with Laravel, for sure you used Eloquent many times. At Weap we are great fans of the simple and beautiful syntax offered by Eloquent. By using it extensively, we have found some interesting tricks that we are using to make our code more elegant.
Levelling up dependency injection in Laravel
www.horuskol.net
This is part 2 of a 2-part series. If you haven't already, I'd check out my previous post, as I gloss over some fundamentals in this post for the sake of brevity. At the end of last year, I'd been doing a bit of refactoring on some models and DRYing up some common functionality into traits.
Laravel Livewire CRUD tutorial
laravelarticle.com
Laravel Livewire is a frontend framework package for Laravel Framework. With the help of Laravel Livewire, you can run php code like JavaScript! It's really an interesting and magical frontend framework package for Laravel.
10+ Top PRO Laravel Templates for 2020
dev.to
Are you looking for ways to spend less time coding and more time focusing on yourself? If you are using Laravel framework, this collection of Laravel templates might help you to decide whether to invest in a good quality Laravel resource or to keep developing in the old way.
SPA Authentication Using Laravel AirLock and VueJs
medium.com
Laravel Airlock provides a featherweight authentication system for SPAs (single page applications), mobile applications, and simple, token-based APIs. Airlock allows each user of your application to generate multiple API tokens for their account.
Lazy Collections in Laravel Excel
stefanzweifel.io
In Laravel 6 a new type of collections has been added: Lazy Collections. They are a great if you have to work with very large data sets (thousands or millions of rows) without running into memory limits. I recently have been tasked to refactor an Excel export in a project at work.
Laravel Livewire v1.0 is Here
laravel-news.com
Laravel Livewire by Caleb Porzio has reached v1.0 today. Livewire is “a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel.” Be sure to check out the quickstart documentation, which will help you build your first component.
That's it for this week, see you in the next newsletter issue!
Povilas Korop
LaravelDaily.com
|