Category:: Laravel

How to force download files in Laravel?

Giving download option to the user is a pretty common requirement in today’s web apps for the variety of reasons. For example, if your application is related to online shopping, you might need an invoice download […]

How to Create APIs in Laravel 5.5 using API resources

In this post, I will show how easy it is to use API resources to build REST APIs. In the previous Laravel REST API tutorial, I have used Fractal 3rd party library to control API response data. In Laravel 5.5, we now have […]

Build REST apis with Laravel 4.2

Create a brand new Laravel Project with below command Configure Your Database Open config/database.php file and update it with your database details as shown below Create Migration files and tables We gonna have users […]

PHP Program to Check Prime Number

In this tutorial, you will learn what is a prime number and how to check whether the given number is a prime number or not using PHP. What is Prime Number? A prime number is a natural number which is exactly two positive […]

Cascading Dropdown List in CodeIgniter

In this post, I will show very simple and powerful approach to create cascading dropdowns in your CodeIgniter application. Cascading drop-down? A cascading dropdown list is a series of dependent dropdown list controls […]

Add Watermark on Images using PHP

One of the most common approaches to brand/protect images is watermarking. Here I would like to show you how to use PHP to add a watermark to images. PHP uses its GD library to write text on images using true type fonts. […]

Laravel 5.5 New feature- Fresh Migrations

Laravel 5.5 adds another Artisan command to the migrate: namespace. This is similar to migrate:refresh but rather than rolling back your existing migrations, it drops all tables and recreate every table. The difference […]

Laravel – .env Variables

Laravel utilizes the DotEnv PHP library by Vance Lucas. Using this library we can easily configure the application settings and we can have different configuration values based on the environment where the application […]

How to Clear cache in Laravel 5

Here I am gonna show you few artisan commands which will help you to clear different caches in your Laravel application. Clear Application Cache To clear application cache use the php artisan cache:clear command. Generally […]

DMCA.com Protection Status