J
J
jslby2017-12-30 02:02:12
PHP
jslby, 2017-12-30 02:02:12

Which tool to choose to quickly create a simple admin panel?

I thought to use this https://github.com/skyronic/crudkit
But a problem arose - it does not provide for the possibility of connections through one to many.
For example, categories from an article - ideally, when creating an article, you need to generate a select with a category selection.
Maybe someone knows a similar tool to quickly interact with MySQL (phpmyadmin is not suitable)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2017-12-30
@SilenceOfWinter

yii2 should work

M
Maksim Fedorov, 2017-12-30
@Maksclub

Take Slim or Silex
Yii2 can also generate the necessary CRUD based on migrations ... only the selects with categories will need to be filed with handles ...
roughly speaking this:
you just need to replace it with this:

<?= $form->field($model, 'category_id')->dropDownList(Category::find()->select(['name', 'id'])->indexBy('id')->column()) ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question