Download the PHP package yii2-bridge/core without Composer

On this page you can find all versions of the php package yii2-bridge/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package core

Yii2 Bridge Build Status Maintainability

Yet another admin panel

Краткое введение и туториал на русском

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 core with dependencies

PHP Build Version
Package Version
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package yii2-bridge/core contains the following files

Loading the files please wait ....