Category : Laravel

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




How to add Delete cascade to existing column in Laravel 5, without remove column?

How to add Delete cascade to existing column in Laravel 5, without remove column?

Whenever you are making table using migration with foreign key. like i give you example as under and you forgot to set delete cascade on table then how can you add delete cascade in existing table. so let's see your migration : <pre class="language-php"> public function up() { Schema::create('lo.....

By Hardik Savani | Views: 44391 | January 24, 2016 | Category : Laravel

How to set gmail configration for mail in Laravel?

How to set gmail configration for mail in Laravel?

If you are working with laravel and you need to setup gmail configration for send email. if you want to set configration of gmail then first go to mail.php file, you are work on laravel 4 and laravel 5 its not issue, because you can set comman setting for both version of laravel framwork. <strong>M.....

By Hardik Savani | Views: 52987 | January 22, 2016 | Category : Laravel


How to create and check custom header with middleware for REST API in Laravel 5 ?

How to create and check custom header with middleware for REST API in Laravel 5 ?

In Laravel 5 REST API project sometime we need to create create our own custom header for security. like : 'X-hardik':'123456'. this was example, that means in your current project your every request with pass your own custom header like i give you example.this custom header can improve your securit.....

By Hardik Savani | Views: 67265 | January 20, 2016 | Category : Laravel

GROUP_CONCAT with different SEPARATOR in laravel Example

GROUP_CONCAT with different SEPARATOR in laravel Example

Whenever, you need to use GROUP_CONCAT with differente separator(I mean default separator is ',', But you want to change '@','#','&' etc as you want). then you have to use use SEPARATOR keyword in GROUP_CONCAT(). If you are working on laravel then you have to also use DB::raw() for write GROUP_CONCA.....

By Hardik Savani | Views: 58983 | January 20, 2016 | Category : Laravel

Laravel after login, redirect back to previous url ?

Laravel after login, redirect back to previous url ?

If you are working on laravel and you want to do like: How to redirect back to previous url, After login. after login user you can redirect his previous page as he was before. you can do this, i would like to give you two example. first example is using intended() and second one is using session but.....

By Hardik Savani | Views: 56474 | January 15, 2016 | Category : Laravel

How to count number of files in folder and remove all files in folder example in Laravel 5 ?

How to count number of files in folder and remove all files in folder example in Laravel 5 ?

you are working on laravel framwork and you want to count how many image or files in folder and print of front then you can do with laravel "File" class.you can also count in core PHP by using glob() but if you are working on laravel then you have to use 'File' class library and it is easy and more .....

By Hardik Savani | Views: 39306 | January 13, 2016 | Category : Laravel

How to get last executed mysql query in laravel ?

How to get last executed mysql query in laravel ?

If you are working on laravel framwork and you use query builder of laravel 5. but you want to get last executed mysql query from laravel. If you are working on laravel 5 then you have to first enable query log that way it can be store query log. At last getQueryLog() through you can get last execut.....

By Hardik Savani | Views: 30301 | January 11, 2016 | Category : Laravel

Mysql procedure with pagination in laravel 5?

Mysql procedure with pagination in laravel 5?

You are working on laravel with mysql database. you had created mysql procedure for get data and you want to call procedure with pagination in laravel 5 then you can not directly make pagination as laravel document.If you are using directly MySQL stored Procedure in your controller, model or reposit.....

By Hardik Savani | Views: 39698 | January 11, 2016 | Category : Laravel

 How to set URL without http of Other site in Laravel?

How to set URL without http of Other site in Laravel?

you are working on laravel php framework and you want to give any other site URL. we can easily give url using a tag like href="https://www.facebook.com" but if you are work on laravel then it can't redirect on given URL because laravel always redirect on current site, but we have solution of this p.....

By Hardik Savani | Views: 29917 | January 10, 2016 | Category : Laravel

How to add ckeditor with image upload in Laravel ?

How to add ckeditor with image upload in Laravel ?

if you want to use ckeditor in laravel and you also want to add file uploading as well. if you are use simply in php then it is very simple. but if you are set laravel then you fetch many problem like i also fetch lots of problem. Now, i will give you few step to set ckeditor with file uploading an.....

By Hardik Savani | Views: 72301 | January 8, 2016 | Category : Laravel