{"id":13702891,"url":"https://github.com/jan-vandenberg/cruddiy","last_synced_at":"2025-05-05T06:32:32.125Z","repository":{"id":37712563,"uuid":"254430406","full_name":"jan-vandenberg/cruddiy","owner":"jan-vandenberg","description":"No-code Bootstrap PHP CRUD generator","archived":false,"fork":false,"pushed_at":"2024-03-18T07:47:27.000Z","size":415,"stargazers_count":252,"open_issues_count":31,"forks_count":80,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-13T10:37:45.717Z","etag":null,"topics":["crud","database"],"latest_commit_sha":null,"homepage":"http://cruddiy.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jan-vandenberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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-04-09T16:58:00.000Z","updated_at":"2024-11-02T02:36:17.000Z","dependencies_parsed_at":"2024-01-14T19:14:28.728Z","dependency_job_id":"0af5e7e0-b2e8-4803-9205-1c9b35e06adb","html_url":"https://github.com/jan-vandenberg/cruddiy","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jan-vandenberg%2Fcruddiy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jan-vandenberg%2Fcruddiy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jan-vandenberg%2Fcruddiy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jan-vandenberg%2Fcruddiy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jan-vandenberg","download_url":"https://codeload.github.com/jan-vandenberg/cruddiy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451994,"owners_count":21750021,"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":["crud","database"],"created_at":"2024-08-02T21:00:45.556Z","updated_at":"2025-05-05T06:32:31.348Z","avatar_url":"https://github.com/jan-vandenberg.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# CRUDDIY\n\nCruddiy is a free **no-code**  PHP Bootstrap CRUD generator with foreign key support.\n\nWith Cruddiy you can easily generate some simple, but beautiful, PHP Bootstrap 4 CRUD pages (Create, Read, Update and Delete) with search, pagination and foreign key awareness.\n\n### Notes\n* Does not support MyISAM for Foreign Keys and Cascades. Will need InnoDB type ENGINE. MyISAM can be used, but Foreign Keys and Cascades will not be available.\n* PHP 8+ is recommended\n* Capable of string ID Primary Keys as well as integer ones.\n\n# How it works\n\nCruddiy is written in PHP and will run on any PHP 7+ webserver. Just drop the folder with the code somewhere on your webserver and navigate to the folder (core/index.php). Cruddiy will first ask for your **database connection** information. Most of the time the database server is on the same machine (localhost): but it can be anywhere, and as long as you can connect to it, Cruddiy can generate the code for you.\n\n[![N|Cruddiy](https://j11g.com/cruddiy/bs4-cruddiy-start.png)](https://cruddiy.com)\n\nOnce the connection parameters are entered correctly, Cruddiy will display all existing table relations (aka Foreign Keys). This only works for InnoDB tables.\n\n[![N|Cruddiy](https://j11g.com/cruddiy/bs4-cruddiy-relations.png)](https://cruddiy.com)\n\nIt is possible to add or delete database relations and define actions (e.g. ON DELETE CASCADE).\nIt is absolutely safe to SKIP this step (press the big green button) and continue if you please. However, having well-defined relations will result in prepopulated input fields on the create forms, and it will make sure child records are deleted correctly etc. When you use MyISAM you need to skip this step anyway.\n\nFor the next step, Cruddiy will display all available **tables** in your database.\n\n[![N|Cruddiy](https://j11g.com/cruddiy/bs4-cruddiy-tables.png)](https://cruddiy.com)\n\nFrom there you can select tables you wish to generate CRUD pages for (maybe you just need a couple and not all tables in your database), and you can give them proper readable names (with capitalization or spaces etc.). Selecting a table will generate CRUD pages for that specific table. If you leave them unselected, NO pages will be created.\nAfter you have selected your tables, Cruddiy will present all **columns** from the previously selected tables. Again: you can give proper names and select which tablefields (columns) should be visible in the Index page. In this example you can see two tables, each have three columns selected to be visible on the index page. \n\n[![N|Cruddiy](https://j11g.com/cruddiy/bs4-cruddiy-columns.png)](https://cruddiy.com)\n\nAnd that's it!\n\nClick Generate pages and Cruddiy will generate a complete PHP app for you in a separate folder, with config file, startpage and errorfile. You can directly navigate to your app, it will open in a new tab.\n\n[![N|Cruddiy](https://j11g.com/cruddiy/bs4-cruddiy-app.png)](https://cruddiy.com)\n\nThis is the startpage. For every selected table, Cruddiy has created 5 pages: Index, Create, Read, Update and Delete. These pages are fully functional: the Index page has pagination and can be sorted by clicking on the columnname. You can also use the search box to quickly find records for that table.\n\n[![N|Cruddiy](https://j11g.com/cruddiy/bs4-cruddiy-app-index.png)](https://cruddiy.com)\n\nYou can rename or move the generated 'app' folder anywhere. It is completely self-contained. And you can delete Cruddiy, it is not needed anymore. Or you can can run it many more times (use the back button in the browser), until you get your pages just the way you like them. Each time it will overwrite your existing app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjan-vandenberg%2Fcruddiy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjan-vandenberg%2Fcruddiy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjan-vandenberg%2Fcruddiy/lists"}