Tag: laravel
Web Development Course – Laravel 5.5 ORM and Raw PHP –...
0
This course will take you from your basic PHP knowledge to building advanced websites using PHP frameworks. In this course you will learn a...
Config for Laravel PHP on nginx server
If you've ever wondering how to config Laravel PHP web on nginx server, this post will show you how to do it.
Let say your...
Install PHP 7.1 on Ubuntu Linux
PHP 7.1 has proved to be the latest stable version for development at the time of this post. If you want to install PHP...
Handle 404 response in Laravel
Laravel framework provides various ways to handle 404 responses for web application.
Prior to Laravel 5.5.10, in order to catch 404 error, we can detect...
Laravel 5.5 LTS officially released
After long time waiting, Laravel 5.5 LTS has officially released today.
This release contains many features and updates to the framework, for example:
Exception Rendering
Instead of...
Force HTTP or HTTPS scheme on Laravel automatically
In Laravel, when you want to load assets on different schemes like HTTP or HTTPS, you have to use asset() or secure_asset() helpers to load...
Provide custom database connection on Laravel Validator
When using multiple databases on Laravel application, please be aware that the Validator will validate using default connection specified in config/database.phpfile.
'default' => env('DB_CONNECTION', 'default_connection_db'),
So what...
Change user password from tinker in Laravel using artisan command
Through artisan, developers can control almost everything running inside Laravel framework, and it can be a handy tool for updating user password quick and...
Protect your Laravel-based websites from iframe embed
Just another tip for the day, to protect your Laravel sites from iframe embed, use this hidden middleware, FrameGuard.
IlluminateHttpMiddlewareFrameGuard::class
What it does is simple, set...
Config multiple database connections in Laravel
In Laravel, you can easily configure multiple database connections for your Eloquent models and queries.
First, you need to config the database connection in config/database.php
...