Giter Site home page Giter Site logo

yiiapp's Introduction

Yii with HTML5 Boilerplate,Responsive Bootstrap,YiiBooster and BootSwatch.

© 2012 Spiros Kabasakalis Licensed under the Apache License v2.0
http://www.apache.org/licenses/LICENSE-2.0

A starter project template for Yii built with HTML5 Boilerplate,Responsive Bootstrap,YiiBooster and BootSwatch. Tested with version 1.1.12

##Live Demo

Set it up

  • Clone the git repo - git clone git://github.com/drumaddict/YiiApp.git - or download it
  • Hook up your Yii framework path in index.php.
  • Fill in database info in config/main.php and config/console.php
  • Fill in your recaptcha private and public keys,if you want to use recaptcha.
  • Fill in myEmail and gmail_password parameters in config/main.php in order to use Gmail SMPT server for email.To set up your localhost (in my case XAMPP stack) to send emails with Gmail SMPT Server,(for testing purposes), see this article.
  • Run the migration in migrations folder,or use the sql dump in data folder to create the user table and a couple of test users. (Manually set the status active (1) and remove the activation_key entry for test users.)

Features (so far)

Authentication,Registration,Password Reset.

  • Usage of Password Strategy Extension. Note that this extension has some enviroment requirements,for example bcrypt will not work in old PHP versions.
  • Password Reset with email verification.
  • Registration with email activation.
  • Delete inactive Users (users that registered but did not activate their account) within a configured period of time, default is one day.This is done with a console command,which can be ran as cron job.See commands folder.
  • ReCaptcha for antispam,(optionally).
  • Input Extension,for data sanitation.

YiiBooster is configured to load assets straight from a webroot folder,to avoid publishing assets. Also,based on configuration parameter,YiiBooster will load a bootswatch theme,or just the default Bootstrap design.

RESOURCES

yiiapp's People

Contributors

kabasakalis avatar

Watchers

Benjamin Heller avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.