Tag : Route

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




How to create Laravel Resource Controller example?

How to create Laravel Resource Controller example?

In this post we are going to learn how to use resource controller using resource route in Laravel 5 application from scratch. Laravel resource controller is pretty interesting feature to create quick CRUD application in laravel. For resource you have to do two things on laravel application. first y.....

By Hardik Savani | April 12, 2017 | Category : Laravel

How to get current controller name in view Laravel 5?

How to get current controller name in view Laravel 5?

If you require to get current controller name in your view file or in your middleware or your serviceprovider etc. you can get your controller details from current route like UserController, HomeController ect. you can also get full path of controller file. Laravel getAction() through we can get wh.....

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


How to create and use Middleware in Laravel 5?

How to create and use Middleware in Laravel 5?

Laravel is the best framework in PHP todays. Laravel framework provide saveral functionality and you can also find from this site. But now in this post you can learn how to create custom middleware as filter in laravel 5 example and how to use middleware in laravel 5. In this example you can learn h.....

By Hardik Savani | April 24, 2016 | Category : Laravel

How to get current route name in Laravel 5?

How to get current route name in Laravel 5?

Whenever you need to get current route name then you can get using Request or Route facade. I give you two example one for using Route facade and another for Request facade. so you can get route name both way and how you can see both example. <strong>Using Request:</strong> <pre class="prettyprint .....

By Hardik Savani | April 10, 2016 | Category : Laravel

How to redirect route with querystring in Laravel 5?

How to redirect route with querystring in Laravel 5?

Most of time, we work on back-end and we require to redirect route or url from controller with pass query string parameter. so laravel provide very simple way to pass query string parameter with redirect route. In following example you can see how it is possible. In Bellow example you can see i did.....

By Hardik Savani | April 8, 2016 | Category : Laravel

How to generate route with query string parameter in Laravel 5?

How to generate route with query string parameter in Laravel 5?

Whenever you require to add query string parameter in link url, i mean in route then you generate link with query string parameter using Laravel 5 URL facade. most of new developer doing this way: <pre class="prettyprint lang-html"><a href="{{ URL::route('home') }}.'?id=1&test_id=2'">Test</.....

By Hardik Savani | April 7, 2016 | Category : Laravel

Ajax - Cross-Origin Request Blocked in Larave 5?

Ajax - Cross-Origin Request Blocked in Larave 5?

When i was working on my laravel 5 project and i was making backend API, i created successfully but when front-end developer call API which i made. It's return like: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://learnl52.hd/register. (Reason: C.....

By Hardik Savani | March 30, 2016 | Category : Laravel jQuery AngularJS Ajax

How to get Query Strings Value in Laravel 5?

How to get Query Strings Value in Laravel 5?

If you want to get Query string value then you can get using Request Facade OR Input Facade in larave 5. But if you was working native PHP then we can get $_GET method. In following example you can easily get parameter value. <strong class="example">URL Example:</strong> <pre>http://text.com/wall?id.....

By Hardik Savani | March 29, 2016 | Category : Laravel

Laravel 5 clear cache from route, view, config and all cache data from application

Laravel 5 clear cache from route, view, config and all cache data from application

In this post i would like to share my experience and solution. when i was working on my laravel e commerce website with gitlab. I was fetching one issue suddenly my view cache with error during development. i did try lot to refresh and something other but i can't see any more change in my view, but .....

By Hardik Savani | March 22, 2016 | Category : Laravel