{"id":17846438,"url":"https://github.com/technicalguru/php-bootstrap","last_synced_at":"2025-04-02T15:41:12.084Z","repository":{"id":57066110,"uuid":"312608397","full_name":"technicalguru/php-bootstrap","owner":"technicalguru","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-30T10:02:08.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T06:30:42.386Z","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":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/technicalguru.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-13T15:10:20.000Z","updated_at":"2020-11-13T17:38:05.000Z","dependencies_parsed_at":"2022-08-24T14:53:59.588Z","dependency_job_id":null,"html_url":"https://github.com/technicalguru/php-bootstrap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fphp-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fphp-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fphp-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technicalguru%2Fphp-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technicalguru","download_url":"https://codeload.github.com/technicalguru/php-bootstrap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246847052,"owners_count":20843438,"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":[],"created_at":"2024-10-27T21:39:56.937Z","updated_at":"2025-04-02T15:41:12.066Z","avatar_url":"https://github.com/technicalguru.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-bootstrap\nProvides Bootstrap links for PHP apps using the [twbs/bootstrap](https://packagist.org/packages/twbs/bootstrap) module.\n\n# License\nThis project is licensed under [GNU LGPL 3.0](LICENSE.md). \n\n# Installation\n\n## By Composer\n\n```\ncomposer install technicalguru/bootstrap\n```\n\n## By Package Download\nYou can download the source code packages from [GitHub Release Page](https://github.com/technicalguru/php-bootstrap/releases)\n\n# How to use\n\n## Get the provided version number\n\n```\n$version = \\TgBootstrap\\Bootstrap::getVersion();\n```\n\n## Get the URI of Bootstrap CSS stylesheet and JavaScript library\n\nThe following methods will give you URIs for your further inspection:\n\n```\nuse TgBootstrap\\Bootstrap;\n\n// Get URI to all minified CSS\n$uri = Bootstrap::getCssUri();\n\n// Get URI to all uncompressed grid module CSS\n$uri = Bootstrap::getCssUri('grid', FALSE);\n\n// Get URI to minified Javascript bundle\n$uri = Bootstrap::getJsUri();\n\n// Get URI to minified, normal Bootstrap Javascript\n$uri = Bootstrap::getJsUri(FALSE);\n\n// Get URI to uncompressed, normal Bootstrap Javascript\n$uri = Bootstrap::getJsUri(FALSE, FALSE);\n```\n\nYou can get the correct HTML tags to be included in your HTML output in the same way:\n\n```\nuse TgBootstrap\\Bootstrap;\n\n// Get HTML stylesheet tag to all minified CSS\n$tag = Bootstrap::getCssLink();\n\n// Get HTML stylesheet tag to all uncompressed grid module CSS\n$tag = Bootstrap::getCssLink('grid', FALSE);\n\n// Get HTML Javascript tag to minified Javascript bundle\n$tag = Bootstrap::getJsLink();\n\n// Get HTML Javascript tag to minified, normal Bootstrap Javascript\n$tag = Bootstrap::getJsLink(FALSE);\n\n// Get HTML Javascript tag to uncompressed, normal Bootstrap Javascript\n$tag = Bootstrap::getJsLink(FALSE, FALSE);\n```\n\nAll methods will throw an `BootstrapException` when you ask for a non-existing library.\n\n# Contribution\nReport a bug, request an enhancement or pull request at the [GitHub Issue Tracker](https://github.com/technicalguru/php-bootstrap/issues).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalguru%2Fphp-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnicalguru%2Fphp-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnicalguru%2Fphp-bootstrap/lists"}