ペニス
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
サンプル:[https://lbdemo.technicalsuwako.moe/](https://lbdemo.technicalsuwako.moe/)
|
サンプル:[https://lbdemo.technicalsuwako.moe/](https://lbdemo.technicalsuwako.moe/)
|
||||||
|
|
||||||
## Little Beast とは?
|
## Little Beast とは?
|
||||||
Little Beast は PHP 8.5 以上向けのフレームワークで、076.moe(ゲーム開発会社)と technicalsuwako.moe(社長のブログ)向けに作られました。\
|
Little Beast は PHP 8.3 以上向けのフレームワークで、076.moe(ゲーム開発会社)と technicalsuwako.moe(社長のブログ)向けに作られました。\
|
||||||
メイン考え方は「必要な物だけ拡張し、不要な物は削除する」です。\
|
メイン考え方は「必要な物だけ拡張し、不要な物は削除する」です。\
|
||||||
各コア機能はライブラリに分割されている為、必要な物だけを選び易い設計になっています。\
|
各コア機能はライブラリに分割されている為、必要な物だけを選び易い設計になっています。\
|
||||||
全てのモジュールはゼロから書かれており、データベースは一切必要ありません。
|
全てのモジュールはゼロから書かれており、データベースは一切必要ありません。
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Simple, Pragmatic, Anti-bloat
|
|||||||
Demo installation: [https://lbdemo.technicalsuwako.moe/](https://lbdemo.technicalsuwako.moe/)
|
Demo installation: [https://lbdemo.technicalsuwako.moe/](https://lbdemo.technicalsuwako.moe/)
|
||||||
|
|
||||||
## What is Little Beast?
|
## What is Little Beast?
|
||||||
Little Beast is a PHP 8.5 or above framework made for 076.moe (game developer company) and technicalsuwako.moe (CEO's blog).\
|
Little Beast is a PHP 8.3 or above framework made for 076.moe (game developer company) and technicalsuwako.moe (CEO's blog).\
|
||||||
The core mentality is to extend what you need, and remove what you don't need.\
|
The core mentality is to extend what you need, and remove what you don't need.\
|
||||||
Each core feature is split into libraries, so it is easy to choose what you need.\
|
Each core feature is split into libraries, so it is easy to choose what you need.\
|
||||||
All modules are written from scratch, nothing is to be require a database.
|
All modules are written from scratch, nothing is to be require a database.
|
||||||
|
|||||||
7
util.php
7
util.php
@@ -386,3 +386,10 @@ function getImageInfo(string $url): \Site\Lib\Image {
|
|||||||
$img = new \Site\Lib\Image($url);
|
$img = new \Site\Lib\Image($url);
|
||||||
return $img;
|
return $img;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// PHP 8.3と8.4の場合
|
||||||
|
if (!function_exists('array_last')) {
|
||||||
|
function array_last(array $array): mixed {
|
||||||
|
return $array === [] ? null : $array[array_key_last($array)];
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user