Hi guys, A usual Thursday links "parade", in totally random order this time. So there are topics like Laravel 5.4, new online conference, Stackoverflow discussion, a few useful packages and more.
Feeling weird - second week in a row without any personal article, too much work on client projects and QuickAdminPanel. But I promise to get back in shape!
Also, I have a quick tip of the week for you. If you work with Laravel projects, ask the client about server environment upfront, possibly even set up the live server with "Coming soon" page. Otherwise you might bump into some Laravel requirements not met. Or, as I suffered this week, later client gives you FTP details to GoDaddy server with PHP 5.4. Facepalm. But my fault not to ask them earlier.
On structuring PHP projects
blog.nikolaposa.in.rs
An indispensable part of every programming project is how you structure it, which involves organizing files and sources into directories, naming conventions, and similar. As your application grows, so does the need for structuring it in way that it is easy to manage and maintain.
Laravel Eloquent Relationships Through Macros
laravel-news.com
A new feature just merged into Laravel and included in the v5.4.8 update is the ability to define Macros for Eloquent Relationships. To better show how this feature works here is a screenshot by Jordan Pittman who created the original pull request.
Introducing Laravel Mix (new in Laravel 5.4)
mattstauffer.co
Laravel Mix. The same and yet entirely different from Laravel Elixir. If you're not familiar with Laravel Elixir, it's a wrapper around Gulp that makes it really simple to handle common build steps—CSS pre-processing like Sass and Less, JavaScript processing like Browserify and Webpack, and more.
Make your Laravel App Fly with PHP OPcache
medium.com
Every time you execute a PHP script, the script needs to be compiled to byte code. OPcache leverages a cache for this bytecode, so the next time the same script is requested, it doesn’t have to recompile it.
Announcing Laracon Online
laravel-news.com
Laracon Online is a brand new one-day conference that will be held entirely online. This means no matter where you live you can now take part in Laracon. No hotels, no airfare, just signup and spend the day watching some of the best speakers right from your computer.
Installing a development environment using Laravel Homestead
afermj.xyz
In past days, I talked about a mischievous issue in supported PHP installation by macOS when I was trying to configure an app in Laravel, what I've done it was to install a binary of PHP that homebrew brings to users of this operating system, if that is the issue what you are going through, perhaps
Porto-SAP/Hello-API
github.com
Hello API is a starter providing the all common functionalities required to develop a modern API-Centric Application, to help building API's faster and smarter with PHP and Laravel 5.3. It uses the best framework, packages, tools and conventions.
A package to remember a visitor's original referer
murze.be
If you want to know how a visitor got on your site you can check the referer request header. Yeah, it’s misspelled. That header contains the url of the previously visited page. Unfortunately browsers will fill that header regardless of the previous url was an internal or external one.
That's it for this week, see you next time! Povilas Korop LaravelDaily Team
|