{"id":36983576,"url":"https://github.com/lodev09/bootstrap-php","last_synced_at":"2026-01-13T22:58:00.839Z","repository":{"id":33015421,"uuid":"149855882","full_name":"lodev09/bootstrap-php","owner":"lodev09","description":"A PHP library that prints html for bootstrap","archived":false,"fork":false,"pushed_at":"2022-04-21T22:40:50.000Z","size":89,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-05T03:53:26.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/lodev09.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":"2018-09-22T07:37:18.000Z","updated_at":"2025-06-12T12:25:01.000Z","dependencies_parsed_at":"2022-08-07T19:17:09.380Z","dependency_job_id":null,"html_url":"https://github.com/lodev09/bootstrap-php","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"purl":"pkg:github/lodev09/bootstrap-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodev09%2Fbootstrap-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodev09%2Fbootstrap-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodev09%2Fbootstrap-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodev09%2Fbootstrap-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lodev09","download_url":"https://codeload.github.com/lodev09/bootstrap-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lodev09%2Fbootstrap-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-13T22:57:59.968Z","updated_at":"2026-01-13T22:58:00.830Z","avatar_url":"https://github.com/lodev09.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bootstrap PHP\n============================\n\nA highly extendable PHP library that generate and prints html for [bootstrap](http://getbootstrap.com/).\n\n## Installation\n```term\n$ composer require lodev09/bootstrap-php\n```\n\n## Built-in Components\nThe library has built-in components that are already available for you to use. See [creating custom components](https://github.com/lodev09/bootstrap-php/tree/master/docs/custom.md) to learn more on how to create your own component.\n- [Table](docs/table.md) - Print tables from datasource\n- [Button](docs/button.md) - Print simple buttons\n- [Select](docs/select.md) - Print select from datasource\n- [Alert](docs/alert.md) - Print alert\n- [Input](docs/input.md) - Print input (text, password, etc)\n\n_If you want me to add your own component, feel free to contribute and submit a PR!_\n\n## Usage\n```php\nuse \\Bootstrap\\Components\\Table;\n\n// somewhere in your project.\n// sample data from your db\n$data = [\n    ['name' =\u003e 'Jovanni Lo', 'email' =\u003e 'lodev09@gmail.com'],\n    ['name' =\u003e 'foo', 'email' =\u003e 'bar@email.com']\n];\n\n$table = new Table($data);\n$table-\u003ecell = [\n    'name' =\u003e [\n        'class' =\u003e 'text-primary',\n        'url' =\u003e '#docs',\n        // ... so much more\n    ],\n    // can also be a closure\n    'username' =\u003e function($row, $index, $value) {\n        // print_r($row)\n        return '\u003cstrong\u003e@'.$row['username'].'\u003c/strong\u003e';\n    }\n];\n\n// print the html\n$table-\u003eprintHtml();\n```\n\n## Feedback\nAll bugs, feature requests, pull requests, feedback, etc., are welcome. Visit my site at [www.lodev09.com](http://www.lodev09.com \"www.lodev09.com\") or\n[![LICENSE MIT](https://img.shields.io/badge/Mail%20me%20at-lodev09%40gmail.com-green.svg)](mailto:lodev09@gmail.com)\n\n## Credits\n\u0026copy; 2018 - Coded by Jovanni Lo / [@lodev09](http://twitter.com/lodev09)\n\n## License\nReleased under the [![LICENSE MIT](https://img.shields.io/badge/license-MIT-red.svg)](http://opensource.org/licenses/MIT)\nSee [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flodev09%2Fbootstrap-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flodev09%2Fbootstrap-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flodev09%2Fbootstrap-php/lists"}