{"id":18039353,"url":"https://github.com/philipinho/simple-php-blog","last_synced_at":"2025-04-05T13:03:32.921Z","repository":{"id":41185950,"uuid":"130840443","full_name":"Philipinho/Simple-PHP-Blog","owner":"Philipinho","description":"This is a simple blog built with PHP/MYSQL.","archived":false,"fork":false,"pushed_at":"2025-01-22T22:50:27.000Z","size":82,"stargazers_count":87,"open_issues_count":4,"forks_count":41,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T04:44:19.582Z","etag":null,"topics":["blog","mysql","php","php-blog"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"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/Philipinho.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":"security.php","support":null}},"created_at":"2018-04-24T10:59:14.000Z","updated_at":"2025-03-29T02:42:21.000Z","dependencies_parsed_at":"2023-02-10T10:15:48.924Z","dependency_job_id":null,"html_url":"https://github.com/Philipinho/Simple-PHP-Blog","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/Philipinho%2FSimple-PHP-Blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Philipinho%2FSimple-PHP-Blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Philipinho%2FSimple-PHP-Blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Philipinho%2FSimple-PHP-Blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Philipinho","download_url":"https://codeload.github.com/Philipinho/Simple-PHP-Blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339153,"owners_count":20923014,"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":["blog","mysql","php","php-blog"],"created_at":"2024-10-30T14:09:13.360Z","updated_at":"2025-04-05T13:03:32.895Z","avatar_url":"https://github.com/Philipinho.png","language":"PHP","readme":"# Simple-PHP-Blog\nSimple blog system for personal development using procedural PHP and MYSQL.\n\nFor educational purposes only.\n\n# Setup\n\nUpdate the `connect.php` file with your database credentials.  \nImport the `database.sql` file.  \n\nIf installed on a sub-folder, edit the `config.php` and replace the empty constant with the folder's name.  \n\nThe pagination results per page can be set on the `config.php` file.  \n\n### URL Rewrite\nThe latest update introduces 'slugs', also known as 'SEO URLs'.   \nAfter you update to the latest version, click on the \"Generate slugs (SEO URLs)\" button on the admin dashboard and slugs will be generated for all existing posts.   \n\nThe blog posts URL structure is like this: `http://localhost/p/4/apple-reveals-apple-watch-series-7`   \n\nIf you use Apache, enable the Apache rewrite module for the .htaccess rewrite rule to work.\n\nIf you use NGINX, you can insert something similar to the code below in your NGINX configuration block.      \n```\nlocation / {\n    rewrite ^p/(.*) view.php?id=$1;\n}\n```\n\n# Default Admin Login\nUsername: admin  \nPassword: 12345   \n\nThere is no way to update the admin password through the dashboard yet.  \nTo change your password, hash your password with PHP's `password_hash()` function. Then update the database value with the new password hash.   \n\n# Screenshots\n\n![screenshot_01](https://user-images.githubusercontent.com/16838612/66112823-78d32e00-e5c3-11e9-9b38-93ba488071e0.jpg)\n![screenshot_02](https://user-images.githubusercontent.com/16838612/66112874-8d172b00-e5c3-11e9-97e4-590da5675100.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipinho%2Fsimple-php-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilipinho%2Fsimple-php-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipinho%2Fsimple-php-blog/lists"}