This script facilitates the migration of all objects from a CoCCA registry to the Namingo registry system. It is designed to handle the import process by reading data from CoCCA's CSV exports and inserting the relevant information into the Namingo database.
-
Clone the Repository: Clone this repository to your local machine.
-
Install Dependencies: Navigate to the directory of the cloned repository and run
composer install
. -
Configure Database Connection: Rename
config.php.dist
toconfig.php
. Edit this file to include your Namingo database connection details.
Place your CoCCA CSV export files in the same directory as the script. Ensure the file names are Clients.csv
and Domains.csv
Execute the script with the following command:
php import.php
In case of issues during the import process, you may need to truncate (empty) your Namingo database and attempt the import again.