Do you need to create employees programmatically without logging in to the eshop administration?
It doesn't matter, I have a script for you that you upload to the folder of your Prestashop in your FTP repository.
Then just enter your eshop URL + php file name.
You will see a simple HTML page in which you enter your name, surname, email, password, default language, profile of the new employee and also whether the account should be active or inactive.
Then just click on the "Create new employee" button.
Prestashop compatibility: 1.5, 1.6, 1.7
Warning: Do not use this type of script without changing its name, otherwise anyone can call it and take control of your site.
Once you use it, remove it from the server!