Download the PHP package naffiq/yii2-bridge without Composer
On this page you can find all versions of the php package naffiq/yii2-bridge. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-bridge
Yii2 Bridge
Краткое введение и туториал на русском
Bridge delivers you simple content management system that utilizes best production-tested components and plugins for Yii2.
Installation
Add it as Composer dependency by running
Be sure to configure module (instructions below), before running migrations.
Configuration
Add module declaration to your config file for web config:
And for console config, in order to run migrations:
Setup
After installing and config setup (including database), you should have installation executable in your vendor folder. You can run all the migrations required with single command:
Warning! This command is running with
--interactive=0
flag, which means it will not ask confirmation for it.
Usage
After running every step above you should have your admin panel running on /admin
route.
The only thing left is to run command to create users.
Creating first user
Run following command to generate users:
So the correct command to create user with admin role for admin panel would be:
Gii
Gii that is provided with bridge is packed with some improvements to basic gii.
When generating model with db fields ending by image
or file
, it would
automatically add corresponding upload behavior.
You can turn this behaviors off by clicking on checkbox in generator interface.
And also it has Bridge CRUD generator
, which will generate necessary fields
inputs and display it nicely to the index table.
Development and testing
Configure your .env
(refer to .env.example
). Run migrations with:
Bridge comes with console app for development and testing purposes, located in bin
folder.
You can simply execute it with
Test package with
All versions of yii2-bridge with dependencies
yii2tech/admin Version ^1.0
mongosoft/yii2-upload-behavior Version ^0.1.7
yiisoft/yii2-bootstrap Version ^2.0
kartik-v/yii2-widgets Version ^3.4
2amigos/yii2-usuario Version ~1.0
phpdocumentor/reflection-docblock Version ^4.1.1
mihaildev/yii2-elfinder Version ^1.2
mihaildev/yii2-ckeditor Version *
yii2tech/ar-position Version ^1.0
2amigos/yii2-grid-view-library Version ^1.0
yii2tech/ar-softdelete Version ^1.0
zelenin/yii2-i18n-module Version ^0.1.9
codemix/yii2-localeurls Version ^1.7
vlucas/phpdotenv Version ^2.4
kolyunya/yii2-map-input-widget Version ^1.2