{"id":22859214,"url":"https://github.com/laxmariappan/lwp-books","last_synced_at":"2025-07-11T13:35:23.900Z","repository":{"id":267651429,"uuid":"901564687","full_name":"laxmariappan/lwp-books","owner":"laxmariappan","description":"Basic example of how to create a WordPress plugin with custom post type, custom taxonomy and custom table.","archived":false,"fork":false,"pushed_at":"2024-12-13T12:48:58.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T08:19:50.876Z","etag":null,"topics":["learn-wordpress","php","plugin-development","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://laxmariappan.github.io/lwp-books/","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/laxmariappan.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-12-10T22:32:25.000Z","updated_at":"2024-12-14T10:18:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"edc3f70f-f104-49f1-83d8-32fef8cc5e4f","html_url":"https://github.com/laxmariappan/lwp-books","commit_stats":null,"previous_names":["laxmariappan/lwp-books"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/laxmariappan/lwp-books","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laxmariappan%2Flwp-books","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laxmariappan%2Flwp-books/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laxmariappan%2Flwp-books/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laxmariappan%2Flwp-books/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/laxmariappan","download_url":"https://codeload.github.com/laxmariappan/lwp-books/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laxmariappan%2Flwp-books/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264821944,"owners_count":23669300,"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":["learn-wordpress","php","plugin-development","wordpress-plugin"],"created_at":"2024-12-13T09:06:27.817Z","updated_at":"2025-07-11T13:35:23.874Z","avatar_url":"https://github.com/laxmariappan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Plugin Structure\n\n@see: https://engineering.hmn.md/standards/structure/#plugin-structure\n\n## Description\n\nThis plugin adds a custom post type for books.\n\n## Installation\n\n1. Clone the repository into your `wp-content/plugins` directory\n2. Activate the plugin via the WordPress admin interface\n3. Use the `Books` custom post type to add books to your site\n4. View the books at `/books/`\n5. View a single book at `/books/{slug}/`\n6. Click on the subscribe button to subscribe to the book\n7. View the subscribers at `/wp-admin/admin.php?page=subscribers-list`\n\n## Further Development\n\n1. Fork the repository \n2. Create a new branch for your feature or changes\n3. Create a new issue in the repository for the feature or changes\n4. Create a pull request for your changes\n\n## Improvements\n\n\u003e The following improvements can make your plugin development more efficient and maintainable.\n\n1. Use classes for the plugin files.\n2. Autoload classes using spl_autoload_register or PSR-4 autoloading.\n3. Use WP PHPCS for coding standards.\n4. Send an email to the site admin when a new subscriber is added.\n5. Add a column to the books list table to show the number of subscribers.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaxmariappan%2Flwp-books","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flaxmariappan%2Flwp-books","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flaxmariappan%2Flwp-books/lists"}