Download the PHP package bartaakos/yii-skeleton without Composer

On this page you can find all versions of the php package bartaakos/yii-skeleton. 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 yii-skeleton

yii-skeleton

This is a basic skeleton for Yii applications enhanced with composer.

Installation

For project initialization you can run simply the command below:

$ composer create-project bartaakos/yii-skeleton MyNewProject

Keep in mind that you need to create the two configuration files (custom.php, params.php).

Static files

/web/assets
/vendor
/runtime
/config/custom.php
/config/params.php

The files listed above are ignored and you should handle them as static content.

Maintenance

nDeploy

This is a very convenient tool for high-level site maintenance.

For installation please check nDeploy's readme. The final build.properties should look like something like this:

;-- deploy basedir --
basedir=/home/my-new-project

;-- application --
application.name=my-new-project
application.framework=yii
;application.deploydir=/home/my-new-project/current
;application.repositorydir=/home/my-new-project/src/my-new-project
;application.releasesdir=/home/my-new-project/releases
application.releaseskept=10

;-- scm properties --
scm.type=git
scm.repository=repository-of-my-new-project.git
;scm.branch=master
;scm.git.extra.path.pull=

;-- shared files --
shared.files=config/custom.php,config/params.php,runtime,web/assets,vendor

;-- vendor --
vendor=composer
vendor.command=update

;-- yii framework properties --
application.framework.extra.migrate.command=./yiic
application.framework.extra.migrate=true
application.framework.extra.migrate.ask=false

;-- maintenance --
;maintenance=false
;maintenance.source=
;maintenance.destination=
;maintenance.remove=true

;-- hash --
;hash=true
;hash.file=

;-- lock --
;lock=true
;lock.file=

;-- ndpeloy build target's basedir --
ndeploy.basedir=/home/ndeploy/current

Note that I removed the yiic migration after composer update/install because we do that with nDeploy as you can see. If you need to get that back simply uncomment those lines in the params in console/console.php and set application.framework.extra.migrate to false in build.properties.

Credits

Netpositive


All versions of yii-skeleton with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
yiisoft/yii Version 1.1.*
yiiext/migrate-command Version @dev
yiiext/status-behavior Version dev-master
yiiext/imperavi-redactor-widget Version dev-master
assisrafael/giix Version dev-master
swiftmailer/swiftmailer Version dev-master
bartaakos/cserializebehavior Version dev-master
bartaakos/np-yii-console-command Version dev-master
bartaakos/yii-simple-queue Version dev-master
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 bartaakos/yii-skeleton contains the following files

Loading the files please wait ....