SELECT name, COUNT(name) as count_name FROM table1 group by name
if ($model->load(Yii::$app->request->post()) && $model->validate() && $model->save() && $model->contact(Yii::$app->params['adminEmail']) && $_POST["ContactForm"]["check"] === 'nospam')
"scripts": {
"production-front": "cross-env process.env.section=front NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
"production-admin": "cross-env process.env.section=admin NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
let mix = require('laravel-mix');
if (process.env.section) {
require(__dirname + '/webpack.mix.' + process.env.section + '.js');
}
webpack.mix.front.js
и webpack.mix.admin.js