{"id":16978711,"url":"https://github.com/srph/e-dental","last_synced_at":"2025-10-17T09:39:08.715Z","repository":{"id":26083407,"uuid":"29527353","full_name":"srph/e-dental","owner":"srph","description":":hospital: IT22-FA3 EDMS, built with Laravel","archived":false,"fork":false,"pushed_at":"2015-03-15T13:28:38.000Z","size":3064,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T21:22:15.638Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srph.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-20T11:49:29.000Z","updated_at":"2022-12-20T16:16:01.000Z","dependencies_parsed_at":"2022-08-25T01:00:17.613Z","dependency_job_id":null,"html_url":"https://github.com/srph/e-dental","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/srph%2Fe-dental","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fe-dental/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fe-dental/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srph%2Fe-dental/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srph","download_url":"https://codeload.github.com/srph/e-dental/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505758,"owners_count":21115353,"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-10-14T01:44:03.404Z","updated_at":"2025-10-17T09:39:03.678Z","avatar_url":"https://github.com/srph.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## E-Dental [![Author | Shields.io](http://img.shields.io/badge/author-%40srph-blue.svg?style=flat-square)](http://twitter.com/_srph) [![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\n[![Preview](https://cloud.githubusercontent.com/assets/5093058/5860329/a0056576-a29b-11e4-844d-39839ec50b9d.png)](https://cloud.githubusercontent.com/assets/5093058/5860329/a0056576-a29b-11e4-844d-39839ec50b9d.png)\n\nA quickie for a project on IT22-FA3, built with Laravel.\n\n**As of Mar 15, 2015**, this project has been [rewritten from scratch](https://github.com/srph/e-dental-re).\n\n## Building\n\n### Requirements\n\n1. PHP ```\u003e=5.4```\n2. MySQL ```~5.5```\n3. [Composer](https://getcomposer.org)\n4. Bower (which requires ```npm``` and ```nodejs```)\n\n### Installing\n\n[1] Clone the repository.\n\n```bash\n$ git clone https://github.com/srph/e-dental.git\n\n# switch the current direct to the cloned repository\n$ cd e-dental\n```\n\n[2]  **Update dependencies**\n\n```bash\n# Install PHP dependencies\n$ composer install\n\n# Install Bower (static assets) dependencies\n$ bower install\n```\n\n[3] **Installing the database**\n\nCreate a database on MySQL first.\n\n```bash\nmysql -u root -p\nCREATE DATABASE `edms`;\n```\n\nAnd then, register your machine to the list of detected environment at `bootstrap/start.php`:\n\n```php\n/*\n|--------------------------------------------------------------------------\n| Detect The Application Environment\n|--------------------------------------------------------------------------\n|\n| Laravel takes a dead simple approach to your application environments\n| so you can just specify a machine name for the host that matches a\n| given environment, then we will automatically detect it for you.\n|\n*/\n$env = $app-\u003edetectEnvironment(array(\n\t// Other environment..\n\t\n\t'your-environment-name' =\u003e array('your-machine-name'),\n));\n```\n\n\\* Replace `your-environment-name` with any unique name (this will be used to identify which environment (or configurations) to use), and `your-machine-name` of course the computer name.\n\nProceed to the configurations located at `app/config/` to create your own folder (the same as your environment name). And then create `database.php` on the same folder (now, you have `app/config/myMachine/database.php`).\n\nPaste this in:\n\n```php\n\u003c?php\nreturn array(\n\t'default' =\u003e 'mysql',\n\t\n\t'connections' =\u003e array(\n\t\t'mysql' =\u003e array(\n\t\t\t'driver'    =\u003e 'mysql',\n\t\t\t'host'      =\u003e 'localhost',\n\t\t\t'database'  =\u003e 'edms', // YOUR PREFERRED DB NAME\n\t\t\t'username'  =\u003e 'forge', // YOUR MYSQL USERNAME\n\t\t\t'password'  =\u003e 'forge', // YOUR MYSQL PASS\n\t\t\t/** reduced for bevity */\n\t\t),\n\t)\n);\n```\n\nRun the migrations.\n\n```bash\n# on your root folder\n$ php artisan migrate # run the table migration\n$ php artisan db:seed # seed data\n```\n\n## Limitations\n\n- Bad UX overall.\n- Bad practices all over the place.\n\nDo not read this shit for *Best Practices™* . Thanks.\n\n## Acknowledgement\n\n**e-dental** © 2014+, Kier Borromeo (srph). Released under the [MIT](http://mit-license.org/) License.\u003cbr\u003e\n\n\u003e [srph.github.io](http://srph.github.io) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e GitHub [@srph](https://github.com/srph) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@_srph](https://twitter.com/_srph)\n\n[MIT]: http://mit-license.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrph%2Fe-dental","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrph%2Fe-dental","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrph%2Fe-dental/lists"}