Tag : Laravel 4

ItSolutionStuff.com have tutorials for Laravel 4 tag, here you can study articles of Laravel 4 tag, Laravel 4 tag posts collection, most popular and useful tutorials of Laravel 4 tag, here you can find list of all relevant posts and example about Laravel 4 tag, we have lists of tutorials and examples about Laravel 4 tag. very simple and quick example collection of Latest Laravel 4 tag.




How to use elasticsearch from scratch in laravel 5?

How to use elasticsearch from scratch in laravel 5?

When i was working on my ecommerce website on laravel, i was need to apply search engine for my website. I was confused and thinking what i have to use, but my senior suggested to me elasticsearch for search engine. But i had no experience elasticsearch. I need to learn from starting but i found how.....

By Hardik Savani | Views: 65284 | June 16, 2016 | Category : Laravel Elasticsearch

How to insert multiple records in Laravel 5?

How to insert multiple records in Laravel 5?

If we work on big project and then we maybe require to add multiple rows on database using laravel eloquent. Laravel provide insert method for bulk records create on db. In bellow example you can see i use multidimensional $myItems array variable and that insert multiple records same time using DB.....

By Hardik Savani | Views: 71221 | June 13, 2016 | Category : Laravel


How to group by multiple columns in Laravel Query Builder?

How to group by multiple columns in Laravel Query Builder?

Sometimes we may require to add group by with multiple columns, if we have mysql query then we can do it easily by using sql query. But if you want to give multiple columns in groupBy() of Laravel Query Builder then you can give by comma separated values as bellow example. <strong>Example:</strong> .....

By Hardik Savani | Views: 71352 | June 12, 2016 | Category : Laravel

Laravel 5 select with count query with group by example

Laravel 5 select with count query with group by example

We always required to get count of number of records or number of inserted record of current month etc in laravel. We can use mysql count function in laravel eloquent. We have two way to get count of column value. first we can use laravel count() of query builder and another one we can use with dire.....

By Hardik Savani | Views: 101813 | June 9, 2016 | Category : Laravel

Laravel 5 select with sum query example

Laravel 5 select with sum query example

We mostly required to get sum of amount, salary etc in laravel. We can also get sum of column using mysql SUM(). We have two way to get sum of column value. first we can use laravel sum() of query builder and another one we can use with directly with select statement using DB::raw(). I give you both.....

By Hardik Savani | Views: 120391 | June 8, 2016 | Category : Laravel

How to convert object to array in Laravel 5?

How to convert object to array in Laravel 5?

If you require to convert object data from db into array then you can do it using DB facade and Model Eloquent. Sometimes we need to give array data only so we must get array data from db. I have two examples so it can helps you. In first example, If you use Model Eloquent for get data from databas.....

By Hardik Savani | Views: 74248 | June 2, 2016 | Category : Laravel

How to set config file value in Laravel 5?

How to set config file value in Laravel 5?

Whenever you need to get configuration files value then you can set using config helper in Laravel 5. In my previous post i added how to get config file value in laravel 5. If you are working on Laravel 4 then you should use Config facade for get and set value of config file. Maybe sometimes we requ.....

By Hardik Savani | Views: 37748 | May 30, 2016 | Category : Laravel

How to use login throttle in laravel 5?

How to use login throttle in laravel 5?

login throttle is for security purpose, throttle will help to block user for sometime if he write wrong username and password many times. Like, if you want to give 5 try to login with wrong password but if he will 6 try then it will block for 1 minute or 5minutes as we set. So, it will very secure f.....

By Hardik Savani | Views: 46800 | May 28, 2016 | Category : Laravel

Laravel 5 login with Linkedin using Socialite Package

Laravel 5 login with Linkedin using Socialite Package

In my previous post i added <a href="http://itsolutionstuff.com/post/laravel-5-google-oauth-authentication-using-socialite-packageexample.html" target="_blanck">login with google</a> and <a href="http://itsolutionstuff.com/post/laravel-5-facebook-authentication-using-socialite-packageexample.html" t.....

By Hardik Savani | Views: 72575 | May 27, 2016 | Category : Laravel Linkedin API

How to get logged in user data in Laravel 5?

How to get logged in user data in Laravel 5?

If you are beginner or don't know how to get logged in user details in laravel 5 application then you can do it using laravel auth helper. Laravel can get current login user data both way one using auth helper and another Auth facade. In this post you can learn how to get current logged user id. so .....

By Hardik Savani | Views: 53442 | May 25, 2016 | Category : Laravel