Skip to content

Commit

Permalink
Prepare for packagist
Browse files Browse the repository at this point in the history
  • Loading branch information
energy-coresky committed Feb 18, 2023
1 parent 36dd990 commit 6b6af2b
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 14 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_arch
composer.lock
earth.base
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "coresky/earth",
"license": "MIT",
"description": "Dev-ware for Coresky framework",
"keywords": [
"coresky",
"coresky framework",
"sky",
"earth"
],
"require": {
"php": ">7.0"
},
"authors": [
{
"name": "Energy",
"homepage": "https://coresky.net/"
}
]
}
Binary file modified earth.base
Binary file not shown.
2 changes: 1 addition & 1 deletion mvc/earth_vars.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
last_sand sql
last_sand php
last_docs 9
last_func 1
width 100
Expand Down
8 changes: 6 additions & 2 deletions mvc/sand/php-coresky.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,16 @@ echo '<h1>Far manager colorer</h1>';
$earth = Plan::_g('mvc/earth_c.php');
echo tag(Display::php($earth, str_pad('', 22, '=').'*'), 'style="background:#222"');
~
print_r (
echo Plan::var (
SKY::$dd->_tables()
);
) . "\n";

print_r (
SQL::open('venus')->_tables()
);
//new AbsentClass;



~
$a = ['default'=>'#b11', 'comment'=>'#68a', 'html'=>'', 'keyword'=>'#d11', 'string'=>'#aa3'];
Expand Down
10 changes: 2 additions & 8 deletions mvc/sand/php-other.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
print_r (
SKY::$dd->_tables()
);
print_r (
SQL::open('_e')->_tables()
);

new AbsentClass;
SKY::$debug=0;
//echo sqlf('update $_memory set id=id-20');


~
Expand Down
4 changes: 3 additions & 1 deletion mvc/sand/sql-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@select id, dt from $_memory order by id
%select id, name from $_memory order by id


~
+select 1+11
~
Expand Down
2 changes: 0 additions & 2 deletions mvc/t_earth.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ function save() {
}

function topic($md) {
MVC::in_tpl(false);
preg_match_all("!^### (.*)!m", $md, $m);
$s = view('earth.topic', ['ary' => $m]);
MVC::in_tpl();
return $s;
}

Expand Down

0 comments on commit 6b6af2b

Please sign in to comment.