{"id":25653869,"url":"https://github.com/shahaf-segal/php-blog","last_synced_at":"2026-04-20T13:32:31.793Z","repository":{"id":276394871,"uuid":"929121358","full_name":"shahaf-Segal/php-blog","owner":"shahaf-Segal","description":"PHP Blog/ social media website","archived":false,"fork":false,"pushed_at":"2025-02-23T15:45:49.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T16:30:15.870Z","etag":null,"topics":["composer","oop","php","sqlite"],"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/shahaf-Segal.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":"2025-02-07T21:04:03.000Z","updated_at":"2025-02-23T15:45:52.000Z","dependencies_parsed_at":"2025-02-16T15:29:58.634Z","dependency_job_id":null,"html_url":"https://github.com/shahaf-Segal/php-blog","commit_stats":null,"previous_names":["shahaf-segal/php-blog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahaf-Segal%2Fphp-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahaf-Segal%2Fphp-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahaf-Segal%2Fphp-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahaf-Segal%2Fphp-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahaf-Segal","download_url":"https://codeload.github.com/shahaf-Segal/php-blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240371755,"owners_count":19790888,"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":["composer","oop","php","sqlite"],"created_at":"2025-02-23T20:15:56.357Z","updated_at":"2026-04-20T13:32:31.741Z","avatar_url":"https://github.com/shahaf-Segal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Blog\n\nA simple blog application aimed at learning the basics of PHP full-stack development.\n\n## Description\nThis project is designed to demonstrate the fundamental concepts of PHP full-stack development, including PHP, SQL, Object-Oriented Programming (OOP), and Composer. The blog allows users to view posts, comment on them, and create their own posts with user authorization and routing.\n\n## Features\n- **Post Management:** View, create, and manage blog posts.\n- **Commenting System:** Comment on posts and engage with other users.\n- **User Authorization:** Register, login, and manage user accounts.\n- **Routing:** Simple routing system for navigating between pages.\n\n## Technologies Used\n- **PHP:** Server-side scripting language.\n- **SQL:** Relational database management system.\n- **OOP:** Object-Oriented Programming principles.\n- **Composer:** Dependency management tool.\n\n## Getting Started\n\n### Installation\n1. **Clone the repository:**\n   ```sh\n   git clone https://github.com/your-username/php-blog.git\n   ```\n2. **Navigate to the project directory:**\n   ```sh\n   cd php-blog\n   ```\n3. **Install dependencies:**\n   ```sh\n   composer install\n   ```\n4. **Create a database and import the schema:**\n   ```sh\n   mysql -u your-username -p your-database-name \u003c schema.sql\n   ```\n5. **Configure the database connection:**\n   Update `config/db.php` with your database credentials.\n\n## Usage\n **Start the development server:**\n   ```sh\n   php -S localhost:8000 -t public\n   ```\n- Open your web browser and navigate to [http://localhost:8000](http://localhost:8000).\n- Register or login to create and manage your own posts.\n- Explore the blog and engage with other users by commenting on posts.\n\n\n### Code Style\n- Follow the **PSR-12** coding standard.\n- Use meaningful variable names and comments.\n- Keep functions and methods concise and focused.\n- Use OOP for ease of read and usability\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahaf-segal%2Fphp-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahaf-segal%2Fphp-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahaf-segal%2Fphp-blog/lists"}