Git Product home page Git Product logo

app-basic's Introduction

Yii 3.0 Web Application Basic


Yii Framework Build Status Code Quality Code Intelligence Status StyleCI


App Web Application Basic of Yii Version 3.0 Yii Framework application best for rapidly creating projects with Bootstrap 4.


app-basic


DIRECTORY STRUCTURE:

config/             contains application configurations
docs/               contains documentation app-basic
src/
  assets/           contains assets definition
  controllers/      contains Web controller classes
  forms/            contains models forms classes  
  messages/         contains messages translate application 
  views/            contains view files for the Web application
tests/              contains various tests for the basic application
vendor/             contains dependent 3rd-party packages

FEATURES:

The App Web Application contains:

It includes all commonly used configurations that would allow you to focus on adding new features to your application.

REQUIREMENTS:

The minimum requirement by this project template that your Web server supports PHP 7.1.

INSTALLATION:

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

composer create-project --prefer-dist --stability=dev terabytesoft/app-template-basic myapp

Now you should be able to access the application through the following URL, assuming `public` is the directory directly under the Web root.

App Web Application Basic (terabytesoft/app-basic) is installed automatically together with the Web Project Skeleton Application Basic (terabytesoft/app-template-basic), both try the necessary packages to start your Web Application Basic in Yii3.

Virtual Host:

http://localhost/

Server Yii:

Directory - / [app-template-basic]

 ./vendor/bin/yii serve

CONFIGURATION:

APP-BASIC SETUP DEFAULT:

config/params.php - [app-template-basic]

return [
    // aplication:
    'app.id' => 'my-project-basic',
    'app.name' => 'My Project Basic',
    'adminEmail' => '[email protected]',
    'debug.allowedIPs' => ['127.0.0.1'],
    'favicon.ico' => '@yii/app/../public/favicon.ico',
    // mailer:
    'mailer.useFileTransport' => true,
    // translator:
    'i18n.locale' => 'en',
    'translator.basePath' => dirname(__DIR__) . '/messages',
    'translator.sourceLanguage' => 'en',
];

NOTE:

All the configuration is customizable through parameters, there is no need to modify any configuration of Yii 3.0 Web Application Basic, if you need any extra configuration you can open an issue with pleasure we will add it.

Very important when changing any configuration run composer du, to apply it.

GENERATE MESSAGES TRANSLATION:

To generate the Yii 3.0 Web Application Basic translations, you can change the language settings in:

config/messages.php - [app-template-basic]:

'languages' => ['en'], 

Automatically the generator will create the folder of your language in /messages - [app-template-basic], If any translation is needed, you can open an issue to add it.

root directory - [app-template-basic]:
 ./vendor/bin/yii message config/messages.php

WEB SERVER SUPPORT:

  • Apache.
  • Nginx.
  • OpenLiteSpeed.

DOCUMENTATION STYLE GUIDE:

LICENSE:

License Total Downloads

app-basic's People

Contributors

terabytesoftw avatar

Watchers

 avatar  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.