{"id":20286919,"url":"https://github.com/fauzan1892/php-mvc-codekop","last_synced_at":"2025-03-04T04:14:11.293Z","repository":{"id":129389885,"uuid":"231865714","full_name":"fauzan1892/php-mvc-codekop","owner":"fauzan1892","description":"A simple open web project using php mvc frameworks from Codekop","archived":false,"fork":false,"pushed_at":"2020-10-19T12:12:25.000Z","size":81,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T08:22:41.851Z","etag":null,"topics":["php","php-pdo"],"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/fauzan1892.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":"2020-01-05T04:11:12.000Z","updated_at":"2020-12-07T06:31:39.000Z","dependencies_parsed_at":"2023-03-23T15:03:07.256Z","dependency_job_id":null,"html_url":"https://github.com/fauzan1892/php-mvc-codekop","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/fauzan1892%2Fphp-mvc-codekop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzan1892%2Fphp-mvc-codekop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzan1892%2Fphp-mvc-codekop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fauzan1892%2Fphp-mvc-codekop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fauzan1892","download_url":"https://codeload.github.com/fauzan1892/php-mvc-codekop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241780497,"owners_count":20019061,"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":["php","php-pdo"],"created_at":"2024-11-14T14:37:26.751Z","updated_at":"2025-03-04T04:14:11.270Z","avatar_url":"https://github.com/fauzan1892.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Codekop PHP MVC Codekop Version 1.0 ( Beta )\nA simple open web project using php mvc frameworks from Codekop \n\n## Starter Apps :\nsetting base url on index : app/Config/Config.php\n\n\u003cpre\u003e\n $config['base_url'] = \"http://\".$_SERVER['HTTP_HOST'].preg_replace('@/+$@','',dirname($_SERVER['SCRIPT_NAME'])).'/';\n\u003c/pre\u003e\n\n## Default Controller\nsetting default controller : app/Config/Routes.php\n\u003cpre\u003e\n$routes['DefaultController'] = 'Home::index';\n\u003c/pre\u003e\n\n## Setting Database\n\nsetting database  : app/Config/Database.php\n\n\u003cpre\u003e\n    $dbhost_ = 'localhost'; // host your server\n    $dbname_ = ''; // your database name\n    $dbuser_ = 'root'; // user your server\n    $dbpass_ = '';  // pass your server\n\u003c/pre\u003e\n\n## Model View Controller\ncreate models in codekop framework on app/Models\n\u003cbr/\u003e\ncreate controller in codekop framework on app/Controllers\n\u003cbr/\u003e\ncreate views in codekop framework on app/Views :\nhow to use views in controller example :\n\u003cpre\u003e\n// controller \npublic function index()\n{\n    $data['title'] = 'Selamat datang di codekop php mvc';\n    $this-\u003eshow-\u003eview('welcome_view', $data);\n}\n\n\u003c/pre\u003e\n\n## Contributors\n\n\u003ca href=\"https://github.com/fauzan1892\" target=\"_blank\"\u003e fauzan1892 Github\u003c/a\u003e\n\u003cbr/\u003e\n\u003ca href=\"https://fauzan.codekop.com/\" target=\"_blank\"\u003e Fauzan Portfolio Website\u003c/a\u003e\n\u003cbr/\u003e\n\u003ca href=\"https://www.codekop.com/\" target=\"_blank\"\u003e Codekop.com\u003c/a\u003e\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffauzan1892%2Fphp-mvc-codekop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffauzan1892%2Fphp-mvc-codekop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffauzan1892%2Fphp-mvc-codekop/lists"}