Download the PHP package simple-yii2/app-single-page without Composer

On this page you can find all versions of the php package simple-yii2/app-single-page. 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 app-single-page

Single-page site template

This is a single-page template based on Yii PHP Framework Version 2.

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 global require "fxp/composer-asset-plugin:^1.2.0"
composer create-project --prefer-dist simple-yii2/app-single-page single-page

CONFIGURATION

Database

Edit the file config/db.php with real data.

NOTES:

Once the database is configured, open in browser your_app/cms page. On first start, the control system will create an tables in database and add the required rows to get started.

Application

All you need is set name and language properties of your application in config/web.php file.

Mailer

To receive messages from site you need to configure mailer property in config/web.php file.

For more information see yii\swiftmailer\Mailer

Domain

Replace domain.com with your domain name in web/.htaccess and web/robots.txt files.

CONTENT MANAGEMENT SYSTEM

To access content management system open your_app/cms page. You can change this address by modifying rule for urlManager in config/web.php.

For more information see simple-yii2/cms.

User management

By default there are one user with e-mail and password admin. After first login the system will ask you to change your password.

For more information see simple-yii2/user.

Page content

To edit page content use Pages module, available from the Modules menu. To customize layout edit views/layouts/main.php file.

For more information see simple-yii2/page.

Feedback form

To add feedback form use cms\feedback\frontend\widgets\Feedback widget. Note, that you need to set e-mail in Feedback module, available from the Modules menu.

For more information see simple-yii2/feedback.

Blocks with user-defined content

Use Settings module from the Modules menu to solve this issue. In application code block content available with cms\settings\frontend\widgets\Settings widget.

For more information see simple-yii2/settings.

Error page

Customize error page by editing views/site/error.php file.

Search engine optimization

To manage title, meta-keywords and meta-description, use the settings with title, keywords and description aliases.

Disable debug in production

Disable debug in production in file web/index.php.

Storage

All uploaded files placed in web/upload directory. When it stored, it placed in storage directory. Stored files is cached in web/public directory.


All versions of app-single-page with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
yiisoft/yii2 Version ~2.0.5
yiisoft/yii2-bootstrap Version ~2.0.0
yiisoft/yii2-swiftmailer Version ~2.0.0
simple-yii2/cms Version 1.0.*
simple-yii2/user Version 1.0.*
simple-yii2/settings Version 1.0.*
simple-yii2/page Version 1.0.*
simple-yii2/feedback Version 1.0.*
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 simple-yii2/app-single-page contains the following files

Loading the files please wait ...