Hi guys, Usual weekly newsletter, this time I'm fully back to writing articles and shooting videos, a few new entries below. Also, the community is pretty active, despite pre-Christmas time. By the way, our newsletter won't take any breaks, next issue is coming next Thursday, as usual.
Enjoy the Laravel articles!
Articles from Laravel Daily blogs
File Upload in Laravel: The Ultimate Guide
quickadminpanel.com
File uploads are one of the vital pieces in most web projects, and Laravel has awesome functionality for that, but information is pretty fragmented, especially for specific cases. I decided to gather it all under one big articles, discussing the most painful tasks related to file uploads. Enjoy!
How to set auto-increment start in Laravel migrations?
laraveldaily.com
Laravel has a great database migration mechanism, but there are some things missing there. For example, what if you want your IDs start with some number, like 140001, 140002 etc? So we have two options here – both involve interacting with database after we create the initial schema.
Laravel-related articles from all the web
2017 - A PHP year in review
marcelpociot.de
It's this time of the year again - the end of the year is coming up fast, so why not step back and take a look at what we, as a PHP community, have achieved this year?
PSA: Use Hash::setRounds(4) to speed up your tests
www.reddit.com
For those who might not follow laravel/laravel or taylor on Twitter. Update your CreatesApplication trait to include Hash::setRounds(4). People are seeing test speeds improve by 15-55%. Results will vary depending on how much user seeding and hasing your tests are doing.
Extending Laravel Controllers
medium.com
I’ve been working for a while with PHP, using Laravel, and having started from the bottom, I must say, I am excited to be here!!! It feels a little verbose, and we’re repeating code, especially the HTTP status code values.
Laravel 5.5, testing, and you
dev.to
If you're a programmer, chances are you love writing code. It's great and makes you feel awesome (at least when it's working!). Every line of code translates into more progress into your current task.
Laravel Console Task
medium.com
This week I wrote a small package that you may find interesting for your Laravel Artisan commands. The package is called “Laravel Console Task” and it allows you to perform tasks outputting the result of it.
Deferring Tasks in Laravel Using Queues
code.tutsplus.com
In this article, we're going to explore the Queue API in the Laravel web framework. It allows you to defer resource-intensive tasks during script execution to enhance the overall end user experience. After introducing the basic terminology, I'll demonstrate it by implementing a real-world example.
akaunting/language
github.com
Language switcher package for Laravel. This package allows switching locale easily on Laravel projects. It's so simple to use, once it's installed, your App locale will change only by passing routes into SetLanguage middleware.
Deep dive into middlewares in Laravel
dev.to
What is a Laravel middleware? It is a feature in Laravel which provides a mechanism for filtering HTTP requests entering your application. This allows you to hook into Laravel request processing work flow to perform some kind of logic that decides how your application works.
Laravel Factories Explained
medium.com
Model factories are a great feature of Laravel. However, their code is one of the more unique areas of the framework. This can make them quite difficult to understand without a deep dive into the source.
PHP Test Driven Development Part 2: Unit Testing
hackernoon.com
All right, welcome to part 2 of “PHP Test Driven Development” series. Today we will go through the PHPUnit setup in detail. We will be using the Laravel framework to make it easier for us to get started. It will also help me to show you how to do testing for real life applications.
The 2018 Guide to Building Secure PHP Software
paragonie.com
As the year 2018 approaches, technologists in general—and web developers in particular—must discard many of their old practices and beliefs about developing secure PHP applications. This is especially true for anyone who does not believe such a feat is even possible.
PHP 7.2's "switch" optimisations — Derick Rethans
derickrethans.nl
PHP 7.2 is around the corner soon, and comes with many optimisations. Many new optimisations are implemented in opcache, but some others are implemented in PHP itself. One optimisation that falls in the latter category is an optimisation of the switch/case construct. Before PHP 7.
atayahmet/laravel-nestable
github.com
Laravel Nestable to work with recursive logic. Category level there is no limit but this may vary depending on your server performance. Allow the 100000 recursion process execution since PHP 5.2. More info Add to app.php the Service Provider file.
That's it for this week, see you next Thursday, after Christmas! Povilas Korop LaravelDaily Team
|