{"id":24716761,"url":"https://github.com/baylorrae/borealis","last_synced_at":"2026-05-21T05:06:10.453Z","repository":{"id":999761,"uuid":"811610","full_name":"BaylorRae/Borealis","owner":"BaylorRae","description":null,"archived":false,"fork":false,"pushed_at":"2010-08-03T02:17:04.000Z","size":204,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-04T01:42:03.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"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/BaylorRae.png","metadata":{"files":{"readme":"README.markdown","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":"2010-08-02T03:57:36.000Z","updated_at":"2015-05-14T06:10:24.000Z","dependencies_parsed_at":"2022-08-16T11:45:23.761Z","dependency_job_id":null,"html_url":"https://github.com/BaylorRae/Borealis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaylorRae/Borealis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2FBorealis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2FBorealis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2FBorealis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2FBorealis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaylorRae","download_url":"https://codeload.github.com/BaylorRae/Borealis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaylorRae%2FBorealis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33289546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T02:57:32.698Z","status":"ssl_error","status_checked_at":"2026-05-21T02:57:31.990Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-01-27T09:14:06.835Z","updated_at":"2026-05-21T05:06:10.428Z","avatar_url":"https://github.com/BaylorRae.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Borealis is still being built, but if you want to work on it here is the run down.\n\n### Database\nAll database interactions are handled with [PHP ActiveRecord](http://www.phpactiverecord.org/) and the models are place in `system/models`\n\n### Routes\nRoutes are created in `config/routes.php` with the following syntax.\n  \n\t$Map-\u003econnect('/product/:slug', array(\n\t\t\n\t  // (optional) (default = true) allows different types of formats (.json, .xml)\n\t  'allow_formats' =\u003e true,\n\t\n\t  // (optional) (defaults to config) the default format to load\n\t  'default_format' =\u003e 'json'\n\t));\n\nThe first parameter is the route and the second are the options. The above code includes all the options currently available.\n\nInside the route you may notice `:slug`. This will create a variable accessed via `$params['slug']`\n\nIf you went to `http://example.com/product/ballpoint-pen` in your browser Borealis would try to load the product page in the following hierarchy.\n\n1. `app/public_pages/product.php` (optional)\n2. `public/product.php`\n\nThe first file is used to make a dynamic page that doesn't exist on the server. The file requires the following class\n\n\t\u003c?php\n\t\n\t// The name of the class must match the page name\n\tclass product extends Base {\n\t\n\t  // The functions inside the class represent each format\n\t  function html() {\n\t\t\n\t\t// This will create the variable \"$hello_world\" available to us in \"public/product.php\"\n\t    $this-\u003ehello_world = 'hi';\n\t\n\t\t// We can also access the params variable\n\t\tif( $this-\u003eparams['slug'] )\n\t\t\techo $this-\u003eparams['slug'];\n\t  }\n\n\t  function json() {\n\n\t  }\n\n\t}\n\nIf you create a dynamic page Borealis will automatically try to load the file `public/product.php` if the file exists\n\n## TODO\n\n1. Make it easier to add models\n2. Start working on the admin page\n\n*This isn't everything to do, just the important stuff right now*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaylorrae%2Fborealis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaylorrae%2Fborealis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaylorrae%2Fborealis/lists"}