{"id":23968640,"url":"https://github.com/vutran/wpmvc","last_synced_at":"2025-04-13T15:40:35.136Z","repository":{"id":15747742,"uuid":"18486429","full_name":"vutran/wpmvc","owner":"vutran","description":":bell: WordPress MVC framework -- Docker, webpack, Hot Reloading, Babel/ES6, SCSS, PostCSS","archived":false,"fork":false,"pushed_at":"2016-06-18T08:55:26.000Z","size":778,"stargazers_count":14,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T06:34:39.467Z","etag":null,"topics":["mvc","php","wordpress"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/vutran.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":"2014-04-06T09:34:22.000Z","updated_at":"2023-09-19T20:48:28.000Z","dependencies_parsed_at":"2022-09-01T16:01:56.320Z","dependency_job_id":null,"html_url":"https://github.com/vutran/wpmvc","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/vutran%2Fwpmvc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fwpmvc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fwpmvc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Fwpmvc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vutran","download_url":"https://codeload.github.com/vutran/wpmvc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248739749,"owners_count":21154222,"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":["mvc","php","wordpress"],"created_at":"2025-01-07T00:15:34.404Z","updated_at":"2025-04-13T15:40:35.102Z","avatar_url":"https://github.com/vutran.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress MVC Theme Skeleton (WPMVC)\n\nWordPress MVC framework -- Docker, webpack, hot reloading, Babel/ES6, SCSS, PostCSS\n\n# Features\n - WordPress/MySQL contained within Docker\n - Create and organize application specific Models, and Views\n - Manage PHP packages with Composer\n - Managed JS packages with NPM\n - Modules bundling and hot reloading with webpack on a separate node.js server\n - Develop with ES6 in the front-end\n - View architecture for easily separating presentation and business logic\n\n## Quickstart\n\nTo get started, make sure you have [Docker](https://www.docker.com/) installed.\n\n#### Install Composer packages\n\n````bash\n$ docker-compose up install\n````\n\n#### Update Composer packages\n\n````bash\n$ docker-compose up update\n````\n\n#### Boot up the database and web services\n\n````bash\n$ docker-compose up db web\n````\n\n#### Boot up the a PHPMyAdmin service\n\n````bash\n$ docker-compose up phpma\n````\n\n#### Boot up the hot reload server\n\n````bash\n$ docker-compose up hotReload\n````\n\n#### Boot up a development workflow (db, web, PHPMyAdmin, and hotReload)\n\n````bash\n$ docker-compose up db web phpma hotReload\n````\n\n## Booting up the first time\n\nWhen you boot up the container for the very first time, you will have to go through the WordPress setup flow and set a WordPress admin username and password.\n\n## Your Application Resources\n\nYour app codebase should be stored in the `app` folder located in your theme's folder.\n\n***You shouldn't touch anything outside of the `app` folder unless you absolutely have to.***\n\n### Models\n\nModels are stored in the `app/models/` directory. Models holds your data for a specific resource like a post or taxonomy term.\n\n### Views\n\nViews should be stored in the `app/views/` directory. These are regular HTML-based template with a mixture of some PHP.\n\n| View Name | View File |\n|:---|:---|\n|Home Page|views/home.php|\n|404 Error Page|views/404.php|\n|Search Results|views/search/index.php|\n|Tag Archive|views/tag/index.php|\n|Taxonomy Archive|views/taxonomy/`{taxonomy-slug}`/index.php|\n|Post Type Archive|views/`{post-type}`/index.php|\n|Post Type Permalink|views/`{post-type}`/single.php|\n|Page Permalink|views/`{page-slug}`.php|\n\n# webpack and Hot Reloading\n\nPlease store all static assets files (fonts, images, scripts, and stylesheets) in the `app/assets` folder respectively. webpack will automatically bundle everything into the `dist/bundle.js` file.\n\nHot reloading is served in a separate node.js container and linked via Docker Compose.\n\n**Note: Please remember to disable hot reloading on production!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran%2Fwpmvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvutran%2Fwpmvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran%2Fwpmvc/lists"}