Just try this in your view :
{{ ControllerName::Functionname($params); }}
OR
<?php echo ControllerName::Functionname($params);?>
Refer this : http://laravel.io/forum/03-06-2014-what-is-the-proper-way-to-call-controllers-from-the-view?page=1
More Related Contents:
- Laravel combined OR AND Solution
- Laravel Handle big web application like amazon? [closed]
- Laravel 5 – How to access image uploaded in storage within View?
- How can I convert many statement mysql to laravel eloquent?
- Laravel: How to Get Current Route Name? (v5 … v7)
- Why does the Laravel API return a 419 status code on POST and PUT methods?
- How can I solve incompatible with sql_mode=only_full_group_by in laravel eloquent?
- How to change / Custom password field name for Laravel 4 and Laravel 5 user authentication [duplicate]
- Laravel Checking If a Record Exists
- How to execute Stored Procedure from Laravel
- Why do I have to run “composer dump-autoload” command to make migrations work in laravel?
- laravel No supported encrypter found. The cipher and / or key length are invalid
- How to redirect back to form with input – Laravel 5
- Laravel 5 hasMany relationship on two columns
- Auth::user() returns null
- Laravel 5.2 Auth not Working
- Laravel 5.5 Error Base table or view already exists: 1050 Table ‘users’ already exists
- Laravel 5 – Clear Cache in Shared Hosting Server
- Laravel 5.4 on PHP 7.0: PDO Exception – Could not find driver (MySQL)
- Laravel 5 change public_path()
- Laravel – How to get current user in AppServiceProvider
- How to set the default value of an attribute on a Laravel model [duplicate]
- Difference between Eloquent\Model::get() and all()
- required_if Laravel 5 validation
- Login only if user is active using Laravel
- How to use authentication for multiple tables in Laravel 5
- Laravel Middleware return variable to controller
- CONCAT columns with Laravel 5 eloquent
- Eloquent groupBy make “SQLSTATE[42000]” with valid SQL query in Laravel 5.3
- Laravel 5 get view name