Hi guys, Currently attending Laracon.EU in Amsterdam (come and say hi!), so no content from me this week, just a list from the community. More and more is written about Nova, also today we have a few Reddit threads and packages for Laravel. Enjoy!
Oh, by the way, I started working on a new online course for Laravel, more details next week.
Prevent Back Button after Logout
medium.com
The problem is that if the user clicks the back button, he will view the restricted pages (although he will be unable to do anything with them, there might be sensitive information that should not be exposed to unauthorized users). Worked perfectly.
Basic Understanding of Laravel Encryption
codebriefly.com
In this article, we will discuss Laravel Encryption in brief. Laravel provides an easy and simple way to work with Encryption. Laravel built-in encrypters use OpenSSL to provide two type of encryptions AES-256 and AES-128. I’m recommending you to use Laravel built-in encryption.
Role based Redirection – Laravel
medium.com
By default Laravel Auth will redirect to /home after successful authentication. However, I wanted to create a custom login page and redirect to different URLs depending on the user role. In my case user role is defined as an extra varchar column in the users table.
Let's Learn Laravel's Config Function
www.youtube.com
In this video lesson we are covering the `config()` function with in Laravel. First let's learn what it is, what it can do and why we should use it. Finally we put it into a small application to show the benefits and things to look out for.Patreon: https://www.patreon.com/laracademy
Laravel Enum Package
laravel-news.com
Laravel Enum is a package by Ben Sampson that adds support for creating enums in PHP and includes a generator for Laravel. Here’s an example of what an Enum class looks like using this package: Check out the readme for a list of methods and other examples of how to use this package.
Improving Our Laravel Nova CRM
nick-basile.com
In my last post, we started building a simple CRM using Laravel Nova. It was pretty complete when we left it, but I think we can add a few more features and explore the rest of what Nova has to offer. In this walkthrough, we'll take a look at how to use Nova's Actions and authorization.
Eloquent MySQL views
stitcher.io
MySQL views are a way of storing queries on the database level, and producing virtual tables with them. In this post we'll look at why you want to use them and how they can be integrated in Laravel with Eloquent models.
coderello/laravel-nova-lang
github.com
This package provides the language support for Laravel Nova. Feel free to submit your language or update an existing one by sending a PR to help other people.
beyondcode/nova-filterable-cards
github.com
Add custom filters to your Laravel Nova metrics. To add the filter ability to your Laravel Nova metric cards, you need to add one of the Filterable traits to your metrics.
SecTheater/artify
github.com
Laravel is a great framework and it provides us the ability to create our custom artisan commands, so why not to have a couple of commands that makes your life easier while develping your application.
Don't Do This in Production
stephenmann.io
Around March of 2017, I received a call asking for a code review on a product about to be launched. This company had issues with memory leaks, spontaneous crashing, slow loading, CPU spiking, and had to release in a couple of weeks.
That's it for this week, see you next Thursday! Povilas Korop LaravelDaily Team
|