{"id":22974277,"url":"https://github.com/diversen/pebble-framework","last_synced_at":"2025-08-13T14:33:52.263Z","repository":{"id":41226434,"uuid":"390738362","full_name":"diversen/pebble-framework","owner":"diversen","description":"A simple, small, and fast php framework. ","archived":false,"fork":false,"pushed_at":"2024-07-22T10:56:29.000Z","size":3706,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-13T23:48:13.016Z","etag":null,"topics":["php-framework","php-library","simple-php-framework","small-php-framework"],"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/diversen.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":"2021-07-29T13:46:38.000Z","updated_at":"2024-07-22T10:56:32.000Z","dependencies_parsed_at":"2024-01-07T11:25:14.862Z","dependency_job_id":null,"html_url":"https://github.com/diversen/pebble-framework","commit_stats":{"total_commits":372,"total_committers":1,"mean_commits":372.0,"dds":0.0,"last_synced_commit":"92d0ab18bb180880ac2855aa595151c7a10958e6"},"previous_names":[],"tags_count":142,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fpebble-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fpebble-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fpebble-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fpebble-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/pebble-framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229767225,"owners_count":18121043,"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-framework","php-library","simple-php-framework","small-php-framework"],"created_at":"2024-12-15T00:00:31.178Z","updated_at":"2024-12-15T00:01:15.714Z","avatar_url":"https://github.com/diversen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pebble-framework\n\nA small framework and library for creating PHP applications.\n\n# Documentation \n\n[https://diversen.github.io/pebble-framework-docs/](https://diversen.github.io/pebble-framework-docs/)\n\n\n# Install\n\nRequirements (PHP \u003e= 8.1):\n\n    composer require diversen/pebble-framework:^10.0\n\n# Install for testing\n\nClone the repo:\n\n    git clone git@github.com:diversen/pebble-framework.git \u0026\u0026 cd pebble-framework\n\nThe framework is coupled against MySQL, so in order to run the tests you will need to edit `config/DB.php`.\n\nYou should add a `config-locale` folder and copy the `DB.php` file into this folder. \n\n    mkdir config-locale \u0026\u0026 cp config/DB.php config-locale/\n\n`config-locale` is in [.gitignore](.gitignore) to make sure the folder is not commited and stays `locale`. \n\nEdit the `config-locale/DB.php` file and add a valid `database`, `username`, and `password`\n\nInstall dependencies (there is only require-dev dependencies):\n\n    composer install\n    \nCheck if you can connect:\n\n    ./cli.sh db --con\n\nRun DB migrations\n\n    ./cli.sh migrate --up\n\nThen run the unit tests:\n\n    ./test.sh\n\n# Clean up\n\nInstall:\n\n    composer require --working-dir=tools/php-cs-fixer friendsofphp/php-cs-fixer\n    ./tools/php-cs-fixer.sh\n\n# Docker MySQL\n\nInstall (run) a MySQL image that will work:\n\n    docker run -p 3306:3306 --name mysql-server -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0\n\nCreate a database:\n\n    ./cli.sh db --server-connect\n    CREATE DATABASE `pebble`;\n\n# Other docker commands\n\nInstall (run) a MySQL image that will work:\n\n    docker run -p 3306:3306 --name mysql-server -e MYSQL_ROOT_PASSWORD=password -d mysql:8.0\n\nList containers \n\n    docker container ls\n\nStop container (mysql-server):\n\n    docker stop mysql-server\n\nStart container (mysql-server) again:\n\n    docker start mysql-server\n\nRemove container (you will need to run the 'run' command again):\n\n    docker rm mysql-server\n\n# License\n\nMIT © [Dennis Iversen](https://github.com/diversen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fpebble-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fpebble-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fpebble-framework/lists"}