Skip to content

YovanggaAnandhika/DKAFramework-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DKA FRAMEWORK

powerfull framework for integration

Status

GitHub last commit GitHub contributors GitHub pull requests GitHub issues GitHub repo size

Benefit

Flexible: System opens and closes the function of loading the required modules because the framework module is unloading Install it.

Fast: Optimizes Servers with Low RAM, and the Fastest Combination of Frameworks, and Compression Technologies The good one.

Feature

  • Structured. Easily Comprehensible and Neat Code and Callable Like a Modulation Pack.
  • No Interface Blocking. Can Run Without Interfering With Other Functions.
  • Complete Documentation. Complete and Included Documentation and Sample Code.
  • Free from Error. There is an Error Detection so that Finding Errors Can be Easily Done.
  • Without Installing WebServer. Using the main JS language that is suitable in terms of data efficiency.
  • More Other Features. 🐈

Installing DKA PHP Framework Module

step 1 - Installing Composer :

In Linux

    php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
    php -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d92e6563bbde02') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
    php composer-setup.php
    php -r "unlink('composer-setup.php');"

in Windows

1a. Download Composer Installer .exe in this link Download
1b. Select PHP Interpreter Location Ex:C://xampp/php or C://program files/php

step 2 - Installing Packagist Library :

composer require yovanggaanandhika/dkaframework:<version>

step 3 - Example Code :

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

   //add namespace of modules
   use dkaframework\core\Module\Database\MariaDB\MariaDB;
   use dkaframework\core\Module\Database\MariaDB\CRUD;
   use dkaframework\core\Module\Database\MariaDB\CRUD\Read;
   use dkaframework\core\Module\Database\MariaDB\CRUD\Delete;

    /** @var array $db_config DB Configuration to Access Database */
    $db_config = array(
        'host' => "localhost",
        'user' => "developer",
        'password' => "Cyberhack2010",
        'database' => "test"
    );
    /** @var MariaDB $MariaDB call classess MariaDB */
    $MariaDB = new MariaDB($db_config);
    /** @var CRUD\CRUD $CRUD Add Crud For Create | Read | Update | delete */
    $CRUD = $MariaDB->CRUD();
    /** @var Read\Options $Options Read Options Of Data */
    $Options = new Read\Options();
    $Options
        ->jsonFormat(true) // Show Result to Array Formated PHP Or JSON String
        ->addSearch(array(
            "id" => 2
        ));
    /** @var $Read variable for Result Read */
    $Read = $CRUD->Read("test", $Options);
    //##############
    /** Example Format Show Data */
    header('Content-Type: application/json');
    /** Show Result */
    print_r($Read);

Read More About Installation Guide On the Website Us For More Information.

For Development donation

It cannot be denied that development requires time and energy as well as the operational side. If You Would Be Kind To Buy Me A Cup Of Coffee. Use the following donation payments.

alt text

More Details About Donation Options : DONATION

Read About : LICENCE

Team

@yovangga @DKAResearchCenter
Full Stack Development DKA Research Center

Kredit

Thanks To DKA Research Center To Donate a Package Name!