2017 © Pedro Peláez
 

library ubackupparser

Parser csv files (database) from backup for uCoz sites.

image

saaaaaaaaasha/ubackupparser

Parser csv files (database) from backup for uCoz sites.

  • Wednesday, April 13, 2016
  • by saaaaaaaaasha
  • Repository
  • 2 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ubackupparser

Parser csv files (database) from backup for uCoz sites. :+1:
[ru] Парсер бекапов базы данных uCoz сайтов., (*1)


Installation

By composer:, (*2)

$ composer require saaaaaaaaasha/ubackupparser

Usage

Create a new file (for example: index.php) and insert code which is listed below:, (*3)

<?php
require "vendor/autoload.php";

//not necessary
$modules = [
    "PhotoCategories",
    "Load"
];

try {
    // get App instance
    $app = \ubackupparser\App::getInstance()->init( $modules );

    // get parser and run convert listed modules
    $parser = $app->getParser();
    $parser = $parser->run();

    // get results array
    print_r( $parser->get() );
}
catch( \Exception $e ) {
    \ubackupparser\Util\Logger::run( $e->getMessage() );
}

// or short version (modules load from config file)

/*
    print json_encode(\ubackupparser\App::getInstance()
        ->init()
        ->getParser()
        ->run()
        ->get());
*/

and run script:, (*4)

$ php index.php

You can change some options (like path to dump folder, path to log file etc) in config file - /ubackupparser/src/config.php, (*5)

The Versions

13/04 2016

dev-master

9999999-dev

Parser csv files (database) from backup for uCoz sites.

  Sources   Download

MIT

The Requires

  • php ^5.0

 

by Alexander Morgunov

parser php ucoz

23/03 2016

1.0.0

1.0.0.0

Parser csv files (database) from backup for uCoz sites.

  Sources   Download

MIT

The Requires

  • php ^5.0

 

by Alexander Morgunov

parser php ucoz