Skip to main content

get-started

Get Started

You can start using ArtiGrid by configuring the config/config.php file. Make sure to set your purchase code and database connection. ArtiGrid is fully compatible with PHP 8 up to 8.3, so you can safely use it in modern PHP environments.

<?php

// config/config.php
return [
'baseurl' => '/name_proyect/artigrid/', // url to artigrid library
'purchase_code' => 'XXX-XXX-XXX',
'db' => [
'driver' => 'mysql',
'host' => 'localhost',
'port' => 3306,
'dbname' => 'artigrid',
'user' => 'root',
'password' => '',
'charset' => 'utf8'
],
'filter' => true,
'search' => true,
'add' => true,
'refresh' => false,
'edit' => true,
'delete' => true,
'delete_multiple' => true,
];