{"id":17997369,"url":"https://github.com/danielhe4rt/yet-another-php-psr4-project","last_synced_at":"2025-03-26T04:31:18.133Z","repository":{"id":248732663,"uuid":"829545095","full_name":"danielhe4rt/yet-another-php-psr4-project","owner":"danielhe4rt","description":"YET Another PHP PSR4 Class in my livestream please subscribe to twitch.tv/danielhe4rt","archived":false,"fork":false,"pushed_at":"2024-07-16T16:49:49.000Z","size":67,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T02:09:33.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/danielhe4rt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T16:40:31.000Z","updated_at":"2024-07-17T13:57:17.000Z","dependencies_parsed_at":"2024-07-16T20:43:12.381Z","dependency_job_id":"53bfa859-3421-4863-a557-22043b6622fe","html_url":"https://github.com/danielhe4rt/yet-another-php-psr4-project","commit_stats":null,"previous_names":["danielhe4rt/yet-another-php-psr4-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Fyet-another-php-psr4-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Fyet-another-php-psr4-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Fyet-another-php-psr4-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielhe4rt%2Fyet-another-php-psr4-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielhe4rt","download_url":"https://codeload.github.com/danielhe4rt/yet-another-php-psr4-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245589259,"owners_count":20640253,"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-29T21:18:10.586Z","updated_at":"2025-03-26T04:31:17.443Z","avatar_url":"https://github.com/danielhe4rt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP PSR4 Project\n\n![Project Thumbnail](/.github/logo.png)\n\nThis is a simple PHP project that uses the PSR4 autoloading standard building a Routing System.\n\nPlease take a look at the [PSR4 Autoloading Standard](https://www.php-fig.org/psr/psr-4/). and\nthe [PSR12 Coding Standard](https://www.php-fig.org/psr/psr-12/).\n\n## Dependencies\n\n- PHP 8.2^\n- Composer\n\n## Database\n\n```sql \nCREATE DATABASE dev_aulinhas;\n\nuse dev_aulinhas;\n\nCREATE TABLE posts\n(\n    id           INT          NOT NULL AUTO_INCREMENT PRIMARY KEY,\n    title        varchar(255) NOT NULL,\n    slug         varchar(255) NOT NULL,\n    content      LONGTEXT     NOT NULL,\n    published_at timestamp\n);\n```\n\n## Installation\n\n```bash\ngit clone https://github.com/DanielHe4rt/yet-another-php-psr4-project.git yet-another-psr4\ncd yet-another-psr4\ncomposer install\n```\n\n## Run\n\n```bash\nphp -S localhost:8000\n```\n\n* Access `http://localhost:8000` in your browser.\n* Routes:\n  * `/` - Home\n  * `/posts/{category}/{postSlug}` - get post based on category and slug\n  * `/404` - Not Found","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhe4rt%2Fyet-another-php-psr4-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielhe4rt%2Fyet-another-php-psr4-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielhe4rt%2Fyet-another-php-psr4-project/lists"}