PHP code example of tod / mysql-to-sqlite
1. Go to this page and download the library: Download tod/mysql-to-sqlite library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tod / mysql-to-sqlite example snippets
public function register()
{
// Class may not be there if it was loaded as a dev dependency
if (class_exists('MysqlToSqlite\ServiceProvider')) {
$this->app->register(MysqlToSqlite\ServiceProvider::class),
}
}
// Class may not be there if it was loaded as a dev dependency
if(class_exists('MysqlToSqlite\ServiceProvider')) {
$app->register(MysqlToSqlite\ServiceProvider::class);
}
php artisan vendor:publish --provider="MysqlToSqlite\ServiceProvider"