2017 © Pedro Peláez
 

project yiiskeleton

Yii skeleton app for quick bootstrapping of new projects via Composer's create-project command.

image

mynameiszanders/yiiskeleton

Yii skeleton app for quick bootstrapping of new projects via Composer's create-project command.

  • Monday, September 16, 2013
  • by zanderbaldwin
  • Repository
  • 0 Watchers
  • 0 Stars
  • 10 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

New Project

This project is designed to kickstart/bootstrap a new Yii application through Composer commands. Although it doesn't provide any functionality other than basic user authentication, it does provide many event declarations and an Event/Behaviour manager to allow the building of drop-in addons., (*1)

This project utilises the following libraries:, (*2)

  • PHPass: a library for the easy and secure management of passwords in PHP.
  • Yii Framework: a high-performance PHP framework best for developing Web 2.0 applications.

License

This project is licensed under the MIT/X11 open-source license. Copyright is held by the projects author, Zander Baldwin (2013)., (*3)

Documentation

Documentation is somewhat lacking for this project. Efforts have been focused on developing the application shell. Documentation will start appearing once this project reaches beta status., (*4)

All current documentation for this project is within the source-code itself, as comments or DocComments., (*5)

Source Code

This project is kept under Git and is hosted on the GitHub. Source code can be accessed from git@github.com:mynameiszanders/yiiskeleton.git., (*6)

Installation

This project is designed to be installed via Composer's create-project command., (*7)

composer create-project mynameiszanders/yiiskeleton /path/to/project 1.0.0-alpha

Create the file application/config/databases.php which returns an array of environment-separated database credentials. For example:, (*8)

<?php
    return array(
        'develop' => array(
            'connectionString' => 'mysql:host=localhost;dbname=test',
            'username' => 'root',
            'password' => '',
        ),
        'production' => array(
            'connectionString' => 'mysql:host=localhost;dbname=longDatabaseName',
            'username' => 'accountName',
            'password' => 'supersecret',
            'tablePrefix' => 'app_'
        ),
    );

Next, place the name of your chosen environment inside application/config/.environment. Then perform the database migration which will upgrade your database to work with the application:, (*9)

PROJECT="/path/to/project"

$ cd "$PROJECT/application"
$ ./yiic migrate

Note: This project has been built on the presumption that it will run on a 64-bit Debian, or Ubuntu, server with PHP 5.3+., (*10)

Authors

Contact

Please contact Darsyn directly on the following details for bug reports, feature requests, patch submissions, etc.:, (*11)

Darsyn Technologies
14 Hilda Street,
Pontypridd, Rhondda Cynon Taf,
United Kingdom. CF37 1TT.

Development Guidelines

Database

After you have set up your database credentials in application.config.databases, all changes to the database that are not done through normal application operations must be done through database migrations with the yiic tool. This means any schema changes, and default data., (*12)

As a rule of thumb, until you are comfortable with database changes being done this way, the use of phpMyAdmin is forbidden except as a reference tool., (*13)

Source Code

Coming soon..., (*14)

The Versions

16/09 2013

dev-develop

dev-develop https://github.com/mynameiszanders/yiiskeleton

Yii skeleton app for quick bootstrapping of new projects via Composer's create-project command.

  Sources   Download

MIT

The Requires

 

skeleton yii application project create

16/09 2013

dev-master

9999999-dev https://github.com/mynameiszanders/yiiskeleton

Yii skeleton app for quick bootstrapping of new projects via Composer's create-project command.

  Sources   Download

MIT

The Requires

 

skeleton yii application project create

16/09 2013

1.1

1.1.0.0 https://github.com/mynameiszanders/yiiskeleton

Yii skeleton app for quick bootstrapping of new projects via Composer's create-project command.

  Sources   Download

MIT

The Requires

 

skeleton yii application project create

12/09 2013

1.0.0-alpha

1.0.0.0-alpha https://github.com/mynameiszanders/yiiskeleton

Yii skeleton app for quick bootstrapping of new projects via Composer's create-project command.

  Sources   Download

MIT

The Requires

 

skeleton yii application project create