{"id":22682211,"url":"https://github.com/hyper-prog/codkep","last_synced_at":"2025-03-29T14:22:52.707Z","repository":{"id":156340732,"uuid":"108527656","full_name":"hyper-prog/codkep","owner":"hyper-prog","description":"CodKep - lightweight web framework","archived":false,"fork":false,"pushed_at":"2024-11-21T22:10:55.000Z","size":3906,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T15:19:40.682Z","etag":null,"topics":["framework","javascript","modules","php","webserver","website"],"latest_commit_sha":null,"homepage":"http://www.hyperprog.com/codkep","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyper-prog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2017-10-27T09:36:52.000Z","updated_at":"2024-11-21T22:10:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"718599dd-d4a4-4890-81fb-4458b450bce2","html_url":"https://github.com/hyper-prog/codkep","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Fcodkep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Fcodkep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Fcodkep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyper-prog%2Fcodkep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyper-prog","download_url":"https://codeload.github.com/hyper-prog/codkep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246193916,"owners_count":20738571,"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":["framework","javascript","modules","php","webserver","website"],"created_at":"2024-12-09T20:25:51.616Z","updated_at":"2025-03-29T14:22:52.686Z","avatar_url":"https://github.com/hyper-prog.png","language":"PHP","readme":"![CodKep Logo](https://raw.githubusercontent.com/hyper-prog/codkep/master/images/cklogo_mid.png)\n\nCodKep - Lightweight web framework\n==================================\n\nCodKep is a lightweight web framework written in [PHP](https://php.net/). \nIt has a modular design and use hook system for easy extend the core functions. \nAlthough the working of base api was inspired by the Drupal CMS (version 7),\nthe CodKep does not contains or use any codes from Drupal, it's built on own codebase.\n(Written from scratch)\nIt's designed to build very database active sites,\nso it has a rich set of form generation tools.\n\n- Webpage:            http://hyperprog.com/codkep\n- Documentation:      http://hyperprog.com/codkep/doc\n- Modules for codkep: https://github.com/hyper-prog/codkepmodules\n\n                 The documentation on hyperprog.com can be very outdated.\n                 After installing use the local \"doc/codkep\" url to reach\n                 the newest available documentation.\n\nInstall on bare machine\n------------------------\n*Note: The github repository contains the \"sys\" directory.*\n\n#### Steps to install\n\n    #Step 1: The CodKep needs a php enabled webserver to run.\n\n    $ sudo apt-get install -y apache2 libapache2-mod-php php-gd php-mysql php-pgsql php-apcu \n    $ sudo a2enmod rewrite \n    $ cd /var/www/html\n\n    #Step 2: Copy the CodKep files in the webserver root's \"sys\" directory:\n\n    /var/www/html$ git clone https://github.com/hyper-prog/codkep.git sys\n\n    #Step 3: Make a symlink to sys/index.php\n\n    /var/www/html$ ln -s sys/index.php index.php\n\nIn case the php is enabled you shoud see the CodKep's open page in your browser.\nThe documentation is also available there.\n\nDocker images\n-------------\nAvailable with Debian and Apline linux with apache webserver on:\n Docker hub:\n\n- https://hub.docker.com/r/hyperprog/codkepdebian (Debian base)\n- https://hub.docker.com/r/hyperprog/codkepalpine (Alpine base)\n\n Downloadable (pullable) image names:\n\n    hyperprog/codkepdebian\n    hyperprog/codkepalpine\n\nTo run a pure CodKep container and expose to port 80 \n(For example to read the newest documentation)\n\n    $ docker run -t -p 80:80 hyperprog/codkepalpine\n\nSettings for webservers\n-----------------------\n### NGINX config sample with cleanurl support:\n\n```\nserver {\n    listen 80;\n    listen [::]:80;\n\n    server_name sandbox.example.com;\n\n    root /var/www/mypage;\n    index index.php;\n\n    location / {\n        try_files $uri @rewrite;\n    }\n\n    location @rewrite {\n        rewrite ^ /index.php;\n    }\n\n    location ~ \\.php$ {\n        include snippets/fastcgi-php.conf;\n        # For php5:\n        #fastcgi_pass unix:/var/run/php5-fpm.sock;\n        # For php7:\n        fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;\n    }\n}\n```\n\n### Apache 2.X config with cleanurl\n\n```\n\u003cVirtualHost *:80\u003e\n    ServerAdmin webmaster@localhost\n    ServerName sandbox.example.com\n    DocumentRoot /var/www/mypage\n    \u003cDirectory /var/www/mypage/\u003e\n        DirectoryIndex index.php\n        AllowOverride None\n        Options -Indexes +FollowSymLinks\n\n        #On apache 2.2\n         Order allow,deny\n         allow from all\n        #On apache 2.4\n         Require all granted\n\n        RewriteEngine on\n        RewriteBase /\n        RewriteCond %{REQUEST_FILENAME} !-f\n        RewriteCond %{REQUEST_FILENAME} !-d\n        RewriteRule ^(.*)$ index.php [L]\n    \u003c/Directory\u003e\n\u003c/VirtualHost\u003e\n```\n\n#### If you use apache you can put the rewrite rules into .htaccess file:\n\n```\nDirectoryIndex index.php\nOptions -Indexes\n\nRewriteEngine on\nRewriteBase /\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule ^(.*)$ index.php [L]\n```\n\nAuthor\n-------\nThe CodKep is written by Peter Deak (C) hyper80@gmail.com , License GPLv2\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper-prog%2Fcodkep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyper-prog%2Fcodkep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyper-prog%2Fcodkep/lists"}