{"id":20235326,"url":"https://github.com/phphleb/radjax","last_synced_at":"2025-03-03T14:15:26.253Z","repository":{"id":57040476,"uuid":"196619216","full_name":"phphleb/radjax","owner":"phphleb","description":"Fast Ajax- and API-router for PHP Micro-Framework HLEB","archived":false,"fork":false,"pushed_at":"2022-05-23T18:22:40.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T07:17:00.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/phphleb.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-12T17:29:28.000Z","updated_at":"2024-02-25T06:41:43.000Z","dependencies_parsed_at":"2022-08-23T22:00:08.964Z","dependency_job_id":null,"html_url":"https://github.com/phphleb/radjax","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fradjax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fradjax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fradjax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phphleb%2Fradjax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phphleb","download_url":"https://codeload.github.com/phphleb/radjax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678154,"owners_count":20001682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T08:15:54.582Z","updated_at":"2025-03-03T14:15:26.225Z","avatar_url":"https://github.com/phphleb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":" ## Radjax (fast Ajax- and API-router)\n \n ### ![RADJAX LOGO](https://raw.githubusercontent.com/phphleb/radjax/671f5116685362cfb733e94e665d7ca5efb15821/Src/logo.jpg)\n\nThe Radjax is not included in the original configuration of the framework [HLEB](https://github.com/phphleb/hleb), so it must be copied to the folder with the vendor/phphleb  libraries from the [github.com/phphleb/radjax](https://github.com/phphleb/radjax)  repository or installed using Composer:\n\n```bash\n$ composer require phphleb/radjax\n```\n\nConnection to the project in /routes/radjax.php (are priority)\n\n```php\n\nRadjax\\Route::get(\"/info/\", [\"get\"], \"App\\Controllers\\TestController@index\", [\"protected\"=\u003efalse]);\n\n// and advanced customization\n\nRadjax\\Route::get(\"/weather/{y}/{m}/{d}/{h?}/\", [\"get\",\"post\"], \"App\\Controllers\\TestController@weather\", [\"protected\"=\u003etrue, \"where\"=\u003e[\"y\"=\u003e\"[0-9]+\", \"m\"=\u003e\"[0-9]+\", \"d\"=\u003e\"[0-9]+\", \"h\"=\u003e\"[0-9]+\"], \"session_saved\" =\u003e false]);\n\n```\n\nConnection separate from HLEB :\n\n```php\n// require or through classes autoloader\n\nrequire '/vendor-directory/phphleb/radjax/Route.php';\n\nrequire '/vendor-directory/phphleb/radjax/Src/RCreator.php';\n\nrequire '/vendor-directory/phphleb/radjax/Src/App.php';\n\n// Initialization with the path to the route file.\n// If the route was found, boolean `true` will be returned, else `false`.\n$isActive = (new Radjax\\Src\\App(['/path-to-directory/routes/radjax-route.php']))-\u003eget();\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Fradjax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphphleb%2Fradjax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphphleb%2Fradjax/lists"}