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.




HTML/FORM not found in Laravel 5?

HTML/FORM not found in Laravel 5?

If you want to use Form or Html class and when you will see error like ‘HTML’ class not found OR ‘Form’ class not found. don’t worry about that because Laravel 5 change the package. you should download the HTML and FORM class helper from given instruction above. Add given bellow text to yo.....

By Hardik Savani | January 27, 2016 | Category : Laravel

PHP Laravel – How to solve “You need to specify a file path to store the seed laravel ” ?

PHP Laravel – How to solve “You need to specify a file path to store the seed laravel ” ?

when you install laravel and get the records from database then occur “You need to specify a file path to store the seed laravel” error. that error happened because your php can not loading openssl extension. so, If you are using windows then you should enable openssl extension in following path.....

By Hardik Savani | January 25, 2016 | Category : Laravel


Order by using multiple columns and manually array field in Laravel?

Order by using multiple columns and manually array field in Laravel?

If you want to sort multiple columns in Laravel by using orderBy(). Whenever you need to give multiple column in your query then you can use twice time orderBy() and give them. you can give multiple columns in laravel by following example : <strong>Users Table :</strong> <table class="table table-b.....

By Hardik Savani | January 25, 2016 | Category : Laravel

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 | 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 | 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 | 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 | 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 | 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 | 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 | January 11, 2016 | Category : Laravel