Download the PHP package yii2tech/project-template without Composer

On this page you can find all versions of the php package yii2tech/project-template. 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 project-template

Yii 2 Project Template


This project is a skeleton Yii 2 application best for developing complex Web applications with multiple tiers.

The template includes three tiers: front end, back end, and console, each of which is a separate Yii application.

The template is designed to work in a team development environment.

Latest Stable Version Total Downloads Build Status

REQUIREMENTS

Requirements check script:

INSTALLATION

  1. Clone the repository into the project destination directory.
  2. Switch the project branch to the needed one: 'master', 'stage', 'live' etc.
  3. Run the installation script using following command:

Project should be deployed beyond web accessible folder. Actual web root should be created as symlink to the 'web' folder:

ASSET COMPRESSION

For assets (CSS and JavaScript) compression use following command:

See config/frontend-asset-compress.php file for more details.

The 'backend' assets compression is performed as separated command:

See config/backend-asset-compress.php file for more details.

SITEMAP GENERATION

Sitemap is generated by app\controllers\console\SitemapController::actionGenerate() method. Make sure all pages, which should appear at sitemap are processed in this method. For sitemap generation use following command:

SELF-UPDATE

After successful installation 'stage' or 'production' server can be updated using 'self-update' command.

In order to perform an update, run the following commands:

GII

Admin section generation:

Admin section with context generation:

I18N

Translation messages generation:

TESTING

This project supports testing via PHPUnit as well as via Codeception

Regular PHPUnit tests are located under 'tests\unit' directory. In case you have PHPUnit installed you can run them using phpunit command from the project root.

Please refer to Codeception Testing manual for the details about Codeception tests setup and running.


All versions of project-template with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.0
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-bootstrap Version ~2.0.0
yiisoft/yii2-swiftmailer Version ~2.0.0 || ~2.1.0
yii2tech/admin Version *
yii2tech/ar-softdelete Version *
yii2tech/authlog Version *
yii2tech/config Version *
yii2tech/install Version *
yii2tech/filedb Version *
yii2tech/selfupdate Version *
yii2tech/sitemap 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 yii2tech/project-template contains the following files

Loading the files please wait ....