babind

Experience

9,100

0 Best Reply Awards

  • Member Since 2 Months Ago
  • 83 Lessons Completed
  • 0 Favorites

26th July, 2017

babind started a new conversation Baum Package In Laravel For Nexted Comment? • 1 day ago

How to use baum package in laravel application?

3rd July, 2017

babind started a new conversation How To Avoid The CSRF TOKEN Error In Laravel That Uses Angularjs • 3 weeks ago

How to avoid the CSRF TOKEN error in laravel that uses Angularjs

2nd June, 2017

babind left a reply on Laravel Policies With Cartalyst Sentinel • 1 month ago

Could you share the screen please?

babind started a new conversation Sentinel Authentication Together With Laravel Socialite ? • 1 month ago

Could we use the sentinel authentication with the Laravel socialite?

16th May, 2017

babind left a reply on How To Display Image In Web Site With Laravel 5 ? • 2 months ago

{!!Html::Image($user->avatar)!!} {!!Html::Image('/images/Selection_121.png')!!}

15th May, 2017

babind left a reply on What Is The Difference Between? • 2 months ago

both of them works fine ..but the syntax is quite different, therefore I was wondering which one is the standard one?

babind left a reply on What Is The Difference Between? • 2 months ago

which one is the standard one to use in Laravel 5.4?

14th May, 2017

babind started a new conversation What Is The Difference Between? • 2 months ago

php artisan route: scan and php artisan route:list

babind left a reply on Relation Among Three Tables • 2 months ago

I think what you are trying to achieve is User has many groups, and Group has many users,

This is like .. I can eat multiple mangos and one mango can be eaten by many people.

Therefore, #model User group

#tables users group_user groups

relation is managed by the unique identifier, keys from users table, or from

groups table. users table structure id name location

group id name location address

group_user id user_id group_id

babind left a reply on Error While Running Npm Run Dev • 2 months ago

Thank you for your concern zLegend-210. Maybe my config was messed up I removed the node_modules folder and then upgraded the node version to 7.10.0 and npm to 4.2.0 on my ubuntu 16.04 ..now it is up and running

babind left a reply on How To Find Out The Database Map File In Laravel Project? • 2 months ago

Usually in Laravel 5.1, when our migration file become messed up we used to remove the entry from the /vendor/composer/autoload_classmap.php. So that the class map of the migration file does not use to give a problem. But I don't know what to do in Laravel 5.4?

babind started a new conversation I Want To Change The App.css File In Laravel 5.4 • 2 months ago

How can I accomplish this action I want to change the class .help-block to .register-error

When I run npm run dev my changes vanishes.

13th May, 2017

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

Not working one( time waste)

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

auth.php Working copy return [

'defaults' => [
    'guard' => 'web',
    'passwords' => 'users',
],


'guards' => [
    'web' => [
        'driver' => 'session',
        'provider' => 'users',
    ],

    'api' => [
        'driver' => 'token',
        'provider' => 'users',
    ],
],


'providers' => [
    'users' => [
        'driver' => 'eloquent',
        'model' => App\Models\Users\User::class,
    ],

    // 'users' => [
    //     'driver' => 'database',
    //     'table' => 'users',
    // ],
],

'passwords' => [
    'users' => [
        'provider' => 'users',
        'table' => 'password_resets',
        'expire' => 60,
    ],
],

];

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

After Doing trial and error.

Web.php
    Auth::routes();
    Route::get('/home', [email protected]');

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

I have already done this ..but its not helping me

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

web.php

Auth::routes(); Route::get('/home', [email protected]')->name('home');

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

ResetPasswordController.php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;

class ResetPasswordController extends Controller
{

    use ResetsPasswords;

    protected $redirectTo = '/home';

    public function __construct()
    {
      $this->middleware('guest');
    }
}

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

App\Models\Users\User.php

 namespace App\Models\Users;
 use Illuminate\Notifications\Notifiable;
 use Illuminate\Foundation\Auth\User as Authenticatable;

 class User extends Authenticatable
 {
 use Notifiable;

 protected $fillable = [
     'email', 'password', 'name', 
 ];

  protected $hidden = [
     'password', 'remember_token',
  ];
}

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

config/auth.php

 'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => App\Models\Users\User::class,
    ],

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

ForgotPasswordController.php

    namespace App\Http\Controllers\Auth;
    use App\Http\Controllers\Controller;
    use Illuminate\Foundation\Auth\SendsPasswordResetEmails;

    class ForgotPasswordController extends Controller
    {

        use SendsPasswordResetEmails;

        public function __construct()
        {
        $this->middleware('guest');
        }
}

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

LoginController.php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use App\Models\Users\User as User;
use Auth;

class LoginController extends Controller
{

    use AuthenticatesUsers;

    protected $redirectTo = '/home';

public function __construct()
    {
        $this->middleware('guest')->except('logout');
    }
}

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

RegisterController.php

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

Controller.php <?php

namespace App\Http\Controllers;

use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;

class Controller extends BaseController
{
        use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
}

LoginController.php <?php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use App\Models\Users\User as User;
use Auth;

class LoginController extends Controller
{

    use AuthenticatesUsers;

    protected $redirectTo = '/home';

public function __construct()
    {
        $this->middleware('guest')->except('logout');
    }
}

RegisterController.php

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

The view was generated using php artisan make:auth https://laravel.com/docs/5.4/authentication#included-routing

ForgotPasswordController.php
<?php
    namespace App\Http\Controllers\Auth;
    use App\Http\Controllers\Controller;
    use Illuminate\Foundation\Auth\SendsPasswordResetEmails;

    class ForgotPasswordController extends Controller
    {

        use SendsPasswordResetEmails;

        public function __construct()
        {
        $this->middleware('guest');
        }
}

ResetPasswordController.php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;

class ResetPasswordController extends Controller
{

    use ResetsPasswords;

    protected $redirectTo = '/home';

    public function __construct()
    {
      $this->middleware('guest');
    }

}

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

My config/auth.php

 'providers' => [
        'users' => [
            'driver' => 'eloquent',
            'model' => App\Models\Users\User::class,
    ],

App\Models\Users\User.php

namespace App\Models\Users;

use Illuminate\Notifications\Notifiable; use Illuminate\Foundation\Auth\User as Authenticatable;

class User extends Authenticatable { use Notifiable;

protected $fillable = [
    'fname', 'lname', 'email', 'password', 'name', 
];

protected $hidden = [
    'password', 'remember_token',
];

}

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

I am trying to the password for that I need the password reset functioning

babind left a reply on Http://localhost:8000/password/email For Laravel Default Auth • 2 months ago

can't we make it work for that file as well?

babind started a new conversation How To Find Out The Database Map File In Laravel Project? • 2 months ago

Composer Classmap /vendor/composer/autoload_classmap.php use to contain the classmap .. Now my migration file is messed up and I want to change it?

babind started a new conversation Http://localhost:8000/password/email • 2 months ago

UnexpectedValueException in PasswordBroker.php line 193: User must implement CanResetPassword interface.

How to solve this issue

12th May, 2017

babind left a reply on Password Reset Link Error In Laravel Auth • 2 months ago

Thank you for the fast reply. That means I can't change the link to reset the password? Where should I look into to get the better idea?

babind left a reply on Password Reset Emails • 2 months ago

Thank you. Now it is working properly

babind left a reply on Password Reset Emails • 2 months ago

How to setup Mail.php for Laravel 5.4, so that I don't get those errors? I need the working copy the config file?

babind started a new conversation Password Reset Emails • 2 months ago

Mail.php

8th May, 2017

babind started a new conversation Error While Running Npm Run Dev • 2 months ago

node -v 6.9.4 npm -v 3.10.10

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.