Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2471 by aimeos
03 Feb 2016, 15:35
In Laravel applications, the "mshop_customer" table isn't used. Instead, the "users" table provided by Laravel stores all customer details. Please have a look at the Laravel documentation if it's possible what you are looking for.
#2493 by obayesshelton
10 Feb 2016, 10:43
Hi,

Do I need to change something in the config to use the laravel users table? When I create a user it gets's put into the mshop_customer table?

It's the same as auth if I'm using the laravel users table it won't log in as the username and password is inside mshop_customer

I noticed this issue a few months ago now.
#2494 by obayesshelton
10 Feb 2016, 12:45
Even with "aimeos/aimeos-laravel": "~2016.01" I still get the same issue...

Is there anything I need to change in my code to get the customers storing in the users table?
#2495 by aimeos
10 Feb 2016, 15:14
I think, you are missing some configuration in "./config/shop.php".

For 2016.x:
Code: Select all   'mshop' => array(
      'customer' => array(
         'manager' => array(
            'name' => 'Laravel',
            'password' => array(
               'name' => 'Bcrypt',
            ),
         ),
      ),


For 2015.x:
Code: Select all   'classes' => array(
      'customer' => array(
         'manager' => array(
            'name' => 'Laravel',
         ),
      ),
   ),
   'mshop' => array(
      'customer' => array(
         'manager' => array(
            'password' => array(
               'name' => 'Bcrypt',
            ),
         ),
      ),
   ),