Tag : Controller

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




How to call middleware from controller in Laravel?

How to call middleware from controller in Laravel?

Do you need to call middleware from controller function in laravel app, if yes then i will show you simple example to run middleware from controller constructor using "$this->middleware". Actually, i was working on my laravel 5.7 project. I need acl and i used entrust package for role and permissio.....

By Hardik Savani | September 28, 2018 | Category : PHP Laravel

How to get current controller or method name in Codeigniter ?

How to get current controller or method name in Codeigniter ?

In this post, i am going to share with you how to fetch current controller or method name in codeigniter application. We may sometime need to get controller name for logic at that time we require to get current controller name from route. Same way if you require to get current method name then you .....

By Hardik Savani | June 8, 2017 | Category : PHP Codeigniter


Laravel 5 - Implement Flash Messages with example

Laravel 5 - Implement Flash Messages with example

Today i am going to share with you How to use redirect with flash messages without any package in Laravel application. In this example i haven't use any package for flash message, we can do it simply by following this tutorials. Flash messages is required in laravel application because that way we .....

By Hardik Savani | October 26, 2016 | Category : Laravel

Laravel 5 Redirect to URL using redirect() helper

Laravel 5 Redirect to URL using redirect() helper

In this tutorial, i am going to tell you how to redirect user one page to another page from controller method. we normally use <strong class="path">redirect()</strong> helper method for redirect user in controller. We can simply use redirect() helper in Laravel 5.0, Laravel 5.1, Laravel 5.2 and Lar.....

By Hardik Savani | October 19, 2016 | Category : Laravel

Laravel 5 - Full Text Search Example using Scout and Algolia Packages

Laravel 5 - Full Text Search Example using Scout and Algolia Packages

Today, I am going to give example source code of How to implement full text search in your laravel 5.3 application using scout and algolia. Laravel 5.3 provide us several new feature and introduce new packages. Laravel 5.3 provide Scout Package for full text search from your Model. If you require t.....

By Hardik Savani | October 16, 2016 | Category : PHP Laravel

Laravel 5.3 - Form Input Validation rules example with demo

Laravel 5.3 - Form Input Validation rules example with demo

Today, I am going to give you how to use input form validation rules of Laravel 5.3. We always require to use form with validation in our Laravel application. So today you can learn how to implement validation rules and how to print error message on blade files. Laravel 5 provide several pre-define.....

By Hardik Savani | October 14, 2016 | Category : Laravel

AngularJS - update bind ng-model input value from Jquery Code

AngularJS - update bind ng-model input value from Jquery Code

Sometimes, we require to set value of input box from js code, But if you bind with ng-model of angular then you can't set value directly with "val()" of jquery. As Bellow example: <pre> $("#my-name").val('test'); </pre> But of you set this way then it will display in your text box layout, but you c.....

By Hardik Savani | September 27, 2016 | Category : Javascript jQuery AngularJS

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

Laravel 5 Facebook authentication using Socialite Package

Laravel 5 Facebook authentication using Socialite Package

In Nowdays, Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like facebook, twitter, google+, gitbub etc. So, In this post i want to share with you how to do sign in with facebook and how to do sign up wi.....

By Hardik Savani | April 15, 2016 | Category : Laravel Facebook API

Laravel 5 - Class 'Input' not found issue?

Laravel 5 - Class 'Input' not found issue?

When i start to work on Laravel 5.2 at that time i fetch this problem "Class 'Input' not found". When i copy my old controller code from laravel 5.1 version that time i found this issue, but i also could use Input insted to Request but i want to use Input as it is. But at last found solution. you ha.....

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