Download the PHP package trntv/yii2-starter-kit without Composer

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

Yii 2 Starter Kit

Packagist Version Packagist Downloads Build

An application template for building advanced websites on Yii 2. It ships the parts most projects rebuild from scratch: authentication with RBAC, a content-managed backend, a REST API, internationalisation, file storage and a Docker development stack.

It is aimed at developers. The result is a starting point for your own application, not a finished product.

Requirements

Requirement Version Needed for
PHP 8.4 or newer The application. ext-intl and ext-gd are declared in composer.json; pdo_mysql, fileinfo and zip are required at runtime
MySQL 8.4 or newer The application and the test suite
Node.js 24 or newer Asset builds
Composer 2.x Creating and updating the project
Docker with Compose v2 Current release The recommended route: the containers provide PHP, Node and MySQL
taskctl Optional An alternative to make

The Docker route needs only Docker and Composer on the host, because make build installs the PHP and Node dependencies inside the containers. The manual route in docs/installation.md needs everything in the table.

Quickstart

  1. Install Docker with Compose v2.
  2. Create the project:

  3. Create the environment file and start the stack:

  4. Open http://yii2-starter-kit.localhost. If your system does not resolve *.localhost, add the four host names to /etc/hosts as described in the installation guide.

The same stack answers on http://backend.yii2-starter-kit.localhost for the backend, on http://api.yii2-starter-kit.localhost for the API and its Swagger UI, and on http://localhost:8025 for Mailpit.

make is the maintained entry point. Run make help to list every target, and make install to put the Composer and npm packages on the host as well, which you need for IDE autocompletion and for make test-local. If you use another runner, the taskctl pipelines (taskctl install, taskctl start) and the Composer scripts (composer run-script docker:build) do the same work.

Documentation

Guides

Project

Features

Backend

Development

Internationalisation

Users

Widgets and behaviours

Default accounts

The seed migration creates three accounts, one per role. The credentials and the role each one holds are listed in docs/installation.md. Change them before deploying.

Contributing

Contributions of every kind are welcome, documentation included. CONTRIBUTING.md covers local setup and the checks a pull request has to pass. docs/development-workflow.md explains branches, Conventional Commits and the release flow.

Questions

Open an issue or write to [email protected], the current maintainer.

Licence

Released under the BSD-3-Clause licence. See LICENSE.md.

See also

Stand with Ukraine 🇺🇦

This starter kit began as the work of Yevhen Terentiev, who is Ukrainian. In March 2022, days after Russia launched its full-scale invasion, he added the note quoted below. The project keeps that position: the war is a crime, and staying silent about it is not neutrality. Companies, organisations and individuals who profit from the war, or who look away while it happens, are not welcome to use this package.

Everyone else is welcome here, and there are concrete ways to help:

Sharing verified reporting about war crimes, and asking your representatives to support Ukraine, costs nothing and matters just as much. Thank you for taking the time.

While Russia is destroying my home and my country, killing my friends and neighbors - any russian company, organization, or citizen, who do nothing about it, is prohibited from using this package. For others - please, pray for us, share information about war crimes Russia is conducting in Ukraine, do everything you can to urge your governments to be on the right side of history. Ukraine will prevail! Good triumph over evil! Русский военный корабль, иди нах#й!


All versions of yii2-starter-kit with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
ext-intl Version *
ext-gd Version *
yiisoft/yii2 Version ^2.0.13
yiisoft/yii2-swiftmailer Version ^2.0.0
yiisoft/yii2-authclient Version ^2.0.0
yiisoft/yii2-bootstrap4 Version ^2.0
yiisoft/yii2-jui Version ^2.0.0
yiisoft/yii2-debug Version ^2.0.0
yii2-starter-kit/yii2-file-kit Version ^2.1.0
asofter/yii2-imperavi-redactor Version >=0.0.3@dev
trntv/yii2-aceeditor Version ^2.0
trntv/probe Version ^1.0
trntv/yii2-glide Version ^1.2
trntv/yii2-datetime-widget Version dev-master@dev
trntv/cheatsheet Version ^0.1@dev
trntv/yii2-command-bus Version ^3.0
intervention/image Version ^2.1
vlucas/phpdotenv Version ^2.0
almasaeed2010/adminlte Version ^3.0
npm-asset/font-awesome Version ^5.0
npm-asset/html5shiv Version ^3.0
npm-asset/jquery-slimscroll Version ^1.3
npm-asset/flot Version ^3.2
symfony/process Version ^4.0
guzzlehttp/guzzle Version ^6.0
alexantr/yii2-elfinder Version ^1.3
trntv/sitemaped Version ^0.1
yii2mod/yii2-swagger Version ^1.1
rmrevin/yii2-fontawesome Version ^3.4
kartik-v/yii2-widgets Version ^3.4
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 trntv/yii2-starter-kit contains the following files

Loading the files please wait ...