Skip to content

Releases: ReactMVC/API-Monster

1.5.0

26 Aug 16:39
16e6908
Compare
Choose a tag to compare

new Model:
Info class which contains various methods to retrieve information about the user and the server.

1.4.9

25 Aug 11:29
421ef35
Compare
Choose a tag to compare

Fix Space in ENV

    // Read the environment file and parse its contents into an associative array
    private function readEnvFile($envFilePath)
    {
        $envData = array(); // Initialize an empty array to store the environment data
        $file = fopen($envFilePath, "r"); // Open the environment file for reading
        if ($file) {
            while (($line = fgets($file)) !== false) {
                // Ignore lines starting with # or empty lines
                if (preg_match("/^\s*(#|$)/", $line)) {
                    continue;
                }
                // Parse lines in the format KEY=VALUE
                if (preg_match("/^([^=]+)=(.*)$/", $line, $matches)) {
                    $key = trim($matches[1]);
                    $value = trim($matches[2], "\" \n\r\t");
                    $envData[$key] = $value; // Store the key-value pair in the $envData array
                }
            }
            fclose($file); // Close the environment file
        }
        return $envData; // Return the parsed environment data
    }

1.4.7

05 Aug 10:59
a87aada
Compare
Choose a tag to compare
Update composer.json

1.4.6

05 Aug 09:42
f7a3050
Compare
Choose a tag to compare
Update composer.json

1.4.4

04 Aug 19:12
b3e73c6
Compare
Choose a tag to compare

add CORS Model ( 1.0 )

1.4.3

04 Aug 13:01
128731e
Compare
Choose a tag to compare

SinglightAPI

SinglightAPI is a library for connect SinglightJs to API-Monster. in SinglightAPI you can create SPAs without create API

1.4.2

04 Aug 04:59
c53a1f5
Compare
Choose a tag to compare
Update composer.json

1.4.1

03 Aug 18:04
9326ed6
Compare
Choose a tag to compare
remove method

1.4.0

03 Aug 11:58
2ee46c2
Compare
Choose a tag to compare
Update composer.json

1.3.3

03 Aug 11:34
8dba311
Compare
Choose a tag to compare
Update composer.json