Skip to content

notcod/sophia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sophia PHP Minimalistic framework

Webiste: Sophia PHP framework


DOCUMENTATION WILL BE AVAILABLE SOON

If you want to download framework using composer:

composer create-project notcod/sophia



Easy download on server

<?php
$name = "sophia";
$version = "1.2";

$zip_file = $name . '-' . $version . '.zip';

file_put_contents($zip_file, file_get_contents("https://github.com/notcod/$name/archive/$version.zip"));
$zip = new ZipArchive;
$res = $zip->open($zip_file);
if ($res === TRUE) {
    $zip->extractTo(dirname(__FILE__));
    $zip->close();
    unlink($zip_file);
    echo 'cool!';
} else {
    echo 'doh!';
}
?>