All Projects → petkopara → PetkoparaCrudGeneratorBundle

petkopara / PetkoparaCrudGeneratorBundle

Licence: MIT license
Symfony3 CRUD generator bundle with pagination, filter, bulk actions and Twitter bootstrap 3.3.6 features.

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects

Projects that are alternatives of or similar to PetkoparaCrudGeneratorBundle

blogging-app-with-Angular-CloudFirestore
A blogging application created with the help of Angular on front-end and Google Cloud Firestore on backend.
Stars: ✭ 45 (-34.78%)
Mutual labels:  pagination
gorm-paginator
gorm pagination extension
Stars: ✭ 154 (+123.19%)
Mutual labels:  pagination
PagedLists
Paginated UITableView and UICollectionViews for iOS.
Stars: ✭ 69 (+0%)
Mutual labels:  pagination
laravelmanthra
Laravel Crud Generator, I have working for years and I can tell you... It's all CRUD 💩💩💩
Stars: ✭ 27 (-60.87%)
Mutual labels:  crud-generator
roove
Dating app based on firebase services and facebook login. MVVM-Kotlin-RxJava-Dagger-Databinding
Stars: ✭ 55 (-20.29%)
Mutual labels:  pagination
EasyDataTable
易用和全面的纯Ajax分页插件(中文)
Stars: ✭ 18 (-73.91%)
Mutual labels:  pagination
Ajaxinate
🎡 Ajax pagination plugin for Shopify themes
Stars: ✭ 107 (+55.07%)
Mutual labels:  pagination
loopback-row-count-mixin
A loopback mixin to get total count of a model
Stars: ✭ 13 (-81.16%)
Mutual labels:  pagination
continuation-token
A library for fast, reliable and stateless Web API pagination with Continuation Tokens.
Stars: ✭ 17 (-75.36%)
Mutual labels:  pagination
spring-tiles-sample-app
Spring MVC - Apache Tile - AdminLTE Bootstrap template - Sample Application
Stars: ✭ 33 (-52.17%)
Mutual labels:  twitter-bootstrap
beer-app
🍺 Example App - Paginate API response with BLoC in Flutter
Stars: ✭ 20 (-71.01%)
Mutual labels:  pagination
repository
[PHP 7] Implementation and definition of a base Repository in Domain land.
Stars: ✭ 26 (-62.32%)
Mutual labels:  pagination
celerio
Celerio is a code generator tool for data-driven application.
Stars: ✭ 73 (+5.8%)
Mutual labels:  crud-generator
materialui-pagination
A simple pagination component for Material UI.
Stars: ✭ 31 (-55.07%)
Mutual labels:  pagination
MMM-page-indicator
MagicMirror² module to display what page you're on.
Stars: ✭ 33 (-52.17%)
Mutual labels:  pagination
jetstream-inertia-generator
Laravel 8 Admin CRUD generator built with Jetstream, Inertia js, Vue 3 and Tailwindcss 2
Stars: ✭ 105 (+52.17%)
Mutual labels:  crud-generator
data
Data providers
Stars: ✭ 31 (-55.07%)
Mutual labels:  pagination
theleakycauldronblog
My Personal Blog. Powered by Gatsby and Netlify CMS
Stars: ✭ 33 (-52.17%)
Mutual labels:  pagination
generator
A Laravel Module Generator Package for Laravel AdminPanel <https://github.com/viralsolani/laravel-adminpanel>
Stars: ✭ 19 (-72.46%)
Mutual labels:  crud-generator
redux-paginator
redux-paginator helps you deal with paginated API with Redux without the need to create new actions and reducers cases
Stars: ✭ 73 (+5.8%)
Mutual labels:  pagination

CrudGeneratorBundle

Symfony3 CRUD generator bundle with pagination, filtering, Twitter bootstrap 3.3.6 markup and many other features. It's Simple to use and fully customizable.

Designed to bring back the functionality of the old Symfony 1.4 admin generator, but extending from SensioGeneratorBundle with additional options and features.

Build Status SensioLabsInsight Latest Stable Code Coverage Scrutinizer Code Quality Total Downloads

Features

  • Pagination - using PagerFanta
  • Filtering (With single multi search input or form)
  • Doctrine association mapping support for Many-to-One, One-to-One and Many-to-Many (if the relation is the owning side) in forms and filters
  • Sorting
  • Items per page
  • Bulk actions(delete) on multiple rows
  • Delete from index
  • Set your base template in the generated views.
  • Possibility to set the save path for all the generated files (by default in app/Resources).
  • Possiblity to not generate show code.
  • Most of the features are optional and you can generate the CRUD very flexible depending on your needs.

Screenshots

Multi Search Filter

Screenshot

Form Filter

Screenshot

Installation

This bundle is compatible with Symfony 2.8/3.0 or higher.

Using composer

Symfony >= 2.8

composer require petkopara/crud-generator-bundle

Register the CRUD and filter bundles in your AppKernel.php:

new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(),
new Petkopara\MultiSearchBundle\PetkoparaMultiSearchBundle(),
new Petkopara\CrudGeneratorBundle\PetkoparaCrudGeneratorBundle(),

Install the assets.

php bin/console assets:install --symlink

For the bootstrap theme of the forms, add this to your app/config/config.yml

twig:
    form_themes:
	- 'bootstrap_3_layout.html.twig' 

Optionally if you are using your own base template, be sure that you include the javascript file of the bundle in it.

<script src="{{ asset('bundles/petkoparacrudgenerator/js/petkopara-crud-generator.js') }}"></script>

Dependencies

This bundle extends SensioGeneratorBundle. Pagination with PagerFanta . For the filtering is used PetkoparaMutiSearchBundle and LexikFormFilterBundle.

Usage

Use the following command from console:

php bin/console petkopara:generate:crud

And follow the wizard steps.

Available new options

The default behavior of the bundle is to generate full featured crud, but you can customize what to be generated or not. The bundle adds few new parameters compared to the doctrine crud generator, to control all of the new features.

  • --filter-type - Which filter type to use. There is three options:

    • input - To use Multi Search input.
    • form - To use Lexik form filter.
    • none - Will not generate any filter code.
  • --template - The base template name, which the views will override. For example set it to --template=base.html.twig to extends your base template.(by default PetkoparaCrudGeneratorBundle::base.html.twig).

  • --without-write - The default behavior of the bundle is to generate write code, so for that --with-write option is transformed to this.

  • --without-show - Many times you don't need show code, for that this option is introduced.

  • --without-sorting - To not generate sorting code.

  • --without-page-size - To not generate items per page code.

  • --without-bulk - To not generate bulk actions code.

  • --bundle-views - Whether to store the view files in the bundles dir. By default the vies are stored in app/Resources/views/ .

Don't forget, that this is a just crud generator and you are free to change everything generated from this bundle.

Templates

Every generated file is based on a template. There are default templates but they can be overridden by placing custom templates in one of the following locations, by order of priority:

BUNDLE_PATH/Resources/PetkoparaCrudGeneratorBundle/skeleton/crud
APP_PATH/Resources/PetkoparaCrudGeneratorBundle/skeleton/crud

And

BUNDLE_PATH/Resources/PetkoparaCrudGeneratorBundle/skeleton/form
APP_PATH/Resources/PetkoparaCrudGeneratorBundle/skeleton/form

Author

Petko Petkov - petkopara at gmail dot com

License

CrudGeneratorBundle is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].