{"id":15572911,"url":"https://github.com/mwsimple/crudgeneratorbundle","last_synced_at":"2025-04-24T02:10:14.784Z","repository":{"id":8222307,"uuid":"9660410","full_name":"MWSimple/CrudGeneratorBundle","owner":"MWSimple","description":"CrudGeneratorBundle","archived":false,"fork":false,"pushed_at":"2016-10-12T21:01:11.000Z","size":545,"stargazers_count":15,"open_issues_count":3,"forks_count":10,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-24T02:10:14.104Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/MWSimple.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":"2013-04-25T00:13:56.000Z","updated_at":"2016-08-19T01:32:38.000Z","dependencies_parsed_at":"2022-08-06T22:15:31.127Z","dependency_job_id":null,"html_url":"https://github.com/MWSimple/CrudGeneratorBundle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MWSimple%2FCrudGeneratorBundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MWSimple%2FCrudGeneratorBundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MWSimple%2FCrudGeneratorBundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MWSimple%2FCrudGeneratorBundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MWSimple","download_url":"https://codeload.github.com/MWSimple/CrudGeneratorBundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250546086,"owners_count":21448260,"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-02T18:08:01.786Z","updated_at":"2025-04-24T02:10:14.768Z","avatar_url":"https://github.com/MWSimple.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrudGeneratorBundle\n\nThis bundle generates code cute you extending SensioGeneratorBundle using KnpPaginatorBundle and Boostrap Templates.\n\n## Installation\n\n### Using composer\n\nAdd following lines to your `composer.json` file:\n\n### Symfony 2.3.9 + Include Boostrap 3\n\n```json\n\"require\": {\n    ...\n    \"mwsimple/crud-generator\": \"v2.3.9\"\n}\n```\n### Symfony \u003e 2.3.6 + Include Boostrap 2\n\n```json\n\"require\": {\n\t...\n\t\"mwsimple/crud-generator\": \"dev-2.3-bootstrap2\"\n}\n```\n### Symfony 2.3.3\n\n```json\n\"require\": {\n\t...\n\t\"mwsimple/crud-generator\": \"v2.3.3\"\n}\n```\n### Symfony 2.3.1 - 2.3.2\n\n```json\n\"require\": {\n\t...\n\t\"mwsimple/crud-generator\": \"v2.3.2\"\n}\n```\n\nExecute:\n\n```cli\nphp composer.phar update \"mwsimple/crud-generator\"\n```\n\nAdd it to the `AppKernel.php` class:\n\n```php\n\t// ...\n\tnew MWSimple\\Bundle\\CrudGeneratorBundle\\MWSimpleCrudGeneratorBundle(),\n\tnew Knp\\Bundle\\PaginatorBundle\\KnpPaginatorBundle(),\n\tnew Lexik\\Bundle\\FormFilterBundle\\LexikFormFilterBundle(),\n```\n\n### Configuration paginator example\n\nYou can configure `config.yml` default query parameter names and templates\n\n```yaml\n    knp_paginator:\n        page_range: 5                      # default page range used in pagination control\n        default_options:\n            page_name: page                # page query parameter name\n            sort_field_name: sort          # sort field query parameter name\n            sort_direction_name: direction # sort direction query parameter name\n            distinct: true                 # ensure distinct results, useful when ORM queries are using GROUP BY statements\n        template:\n            pagination: KnpPaginatorBundle:Pagination:twitter_bootstrap_v3_pagination.html.twig # bootstrap 3 sliding pagination controls template\n            sortable: KnpPaginatorBundle:Pagination:sortable_link.html.twig # sort link template\n```\n\n### Configuration filter example\n\nYou can configure `config.yml` find Twig Configuration\n\n```yaml\n    twig:\n        ...\n        form:\n            resources:\n                - LexikFormFilterBundle:Form:form_div_layout.html.twig\n```\n\n### Configure translations (include en, es, ca)\n\nYou can configure `config.yml`\n\n```yaml\n    framework:\n        ...\n        translator:      { fallback: %locale% } # uncomment line\n```\n\n### Install assets\n\n```cli\napp/console assets:install\n```\n\n## Dependencies\n\nThis bundle extends [SensioGeneratorBundle](https://github.com/sensio/SensioGeneratorBundle) and add a paginator using [KnpPaginatorBundle](https://github.com/KnpLabs/KnpPaginatorBundle) and filter using [LexikFormFilterBundle](https://github.com/lexik/LexikFormFilterBundle) .\n\n## Usage\n\nUse following command from console:\n\n```cli\napp/console mwsimple:generate:crud\n```\n\n## Author\n\nGonzalo Alonso - gonkpo@gmail.com\n\n## Bootstrap 3\n\nTito Canteros - titocanteros@gmail.com\n\n.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwsimple%2Fcrudgeneratorbundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwsimple%2Fcrudgeneratorbundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwsimple%2Fcrudgeneratorbundle/lists"}