Once again Laravel comes with many amazing features and i can't wait more to try this all out.
In this post i am going to write how to setup laravel 5.3 in Ubuntu 14.04.
I am planning on making...
Laravel Elixir provides a clean, fluent API for defining basic Gulp
tasks for your Laravel application. Elixir supports several common CSS
and JavaScript pre-processors, and even testing tools....
In this tutorial i am going to write basic steps to integrate Redis with laravel 5.2
Steps
First
Install Redis server on your system.
I am using Ubuntu 14.04. Following commands will...
I am new to opencart 2.3 and i am learning through debugging how this e-commerce platform working.
In this post , i am writing about changing landing page which is changing route common/home to something new. i.e uncommon/home
I have been trying to find the root from where opencart 2.3 is routing...
Get data from api
Set header :
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, OPTIONS');
header('Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization, X-Request-With');
header('Access-Control-Allow-Credentials: true');
now get Get...
In this tutorial i’ll write basic git command to create local git repository , staging changes, committing and push changes to remote git repository.
First, We have to know what is git?
Git is a open...
In this tutorial i’ll write the key points that are necessary to create a laravel project/setting a laravel project with the help of composer.
Composer Setup
First We have to understand what is composer?
Well, Composer is a tool used in PHP for dependency management. It allows us to declare the dependent...
In Laravel 5.2 new feature called implicit model binding added. Which can be implement efficiently and in a very easy manner. Here how its done :
In your routes.php file create a new route
Route::get('user',function(){});
Now if you want to retrieve information of a particular user, modify your...
To sent email after desired number of second, first change the .env file as follow.
First provide database credential
set
QUEUE_DRIVER=sync to
QUEUE_DRIVER=database
Normally ,
QUEUE_DRIVER=sync tries to sent email immediately and if we set it
as database, we can sent email after desired number...
First , we need to create Event and to listen event, we also have to create listener.
To do this , laravel provides us several ways. The easiest way to create event and corresponding listener we can use this command
php artisan event:generate
To make it work, we have to define our event and corresponding...
In Laravel application , when you try this command
php artisan
you would see lots of command for laravel application. So if you want to create your own command, laravel provide you very easy way...
I have faced a lot of problems to run schedule jobs in Laravel.
I am using Ubuntu 14.04 and i spent a lot of time to make it work.
Here i wrote down the basic procedure that i followed.
First
To...
Case : You are given 2 dates ($dateFrom , $dateTo) and you have to find data within given range and export this data in csv format which can encode utf-8 character set.
We can divide this whole...