Migrate curriculum tables to database
- MIT license. Feel free to use this project. Leave a star ⭐ or make a fork !
- Download package:
composer require tigo/curriculum
If you found this project useful, consider making a donation to support the developer.
Click here to check out the database modeling
Starting with composer
- Install composer
- Download package:
composer require tigo/curriculum
- PHP >= 7.0; Versions that have been tested: 7.3.23, 8.0.1 e 8.0.3.
directory: src/Base/Interfaces/IConnect.php
The default configuration uses the sqlite database. You can choose to use mysql or sqlite.
/*const DATABASE = "mysql:";
const HOST = "host=localhost;";
const DBNAME = "dbname=name";
const USER = "";
const PASS = "";*/
const DATABASE = "sqlite:".__DIR__."../../database.db";
const HOST = "";
const DBNAME = "";
const USER = null;
const PASS = null;
Somewhere in your project, you may need to use autoload
include __DIR__ ."/vendor/autoload.php";
Example: Migrating Tables to Database
use Tigo\Curriculum\Job\Curriculum; // import class
$table = new Curriculum();
$table->sqlite(); //migrate sqlite tables
$table->mysql(); //migrate mysql tables
If you are interested in supporting this project, you can help in many ways. Leave a star ⭐ or make a donation of any value.
- []
MIT license. See the archive License