Download the PHP package vova07/yii2-start without Composer

On this page you can find all versions of the php package vova07/yii2-start. 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 yii2-start

Yii2-start

DEMO:

Frontend: http://yii2-start.find-freelancer.pro
Backend: http://yii2-start.find-freelancer.pro/backend/

Authentication:
Login: admin
Password: admin12345

Installation and getting started:

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

If you do not have Composer-Asset-Plugin installed, you may install it by running command: php composer.phar global require "fxp/composer-asset-plugin:1.0.0"

  1. Run the following commands to install Yii2-Start: php composer.phar create-project --prefer-dist --stability=dev vova07/yii2-start yii2-start
    During the installation process can be required password and\or username from your Github account. This is because you make too much request to Github service. Just remember that this can be.
  2. Run command: cd /my/path/to/yii2-start/ and go to main application directory.
  3. Run command: php requirements.php and check the requirements.
  4. Run command: php init to initialize the application with a specific environment.
  5. Create a new database and adjust it configuration in common/config/db.php accordingly.
  6. Apply migrations with console commands:
    • php yii migrate --migrationPath=@vova07/users/migrations
    • php yii migrate --migrationPath=@vova07/blogs/migrations
    • php yii migrate --migrationPath=@vova07/comments/migrations
    • This will create tables needed for the application to work.
    • You also can use database dump db.sql from my/path/to/yii2-start/common/data, but however I recommend to use migrations.
  7. Run modules RBAC commands:
    • php yii rbac/rbac/init
    • php yii users/rbac/add
    • php yii blogs/rbac/add
    • php yii comments/rbac/add
  8. Set document roots of your Web server:

    For Apache:

    • Use the URL http://yii2-start.domain to access application frontend.
    • Use the URL http://yii2-start.domain/backend/ to access application backend.

    For Nginx:

    Frontend

    Backend

    Remove 'baseUrl' => '/backend' from /my/path/to/yii2-start/backend/config/main.php.

    • Use the URL http://yii2-start.domain to access application frontend.
    • Use the URL http://backend.yii2-start.domain to access application backend.

Notes:

By default will be created one super admin user with login admin and password admin12345, you can use this data to sing in application frontend and backend.

Themes:


All versions of yii2-start 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 vova07/yii2-start contains the following files

Loading the files please wait ....