Download the PHP package arckteh/yii2-request-app without Composer

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

Requests management app based on Yii 2 Basic Project Template


For original template check Yii 2 Basic Project

The project implements a system for accepting and processing user requests from the site

INSTALLATION

Clone repository to your web server root

git clone [email protected]:arckteh/yii2-request-app app

Install on an existing server

If tou already have web server with composer installed and configured run project initialization:

composer create-project

Adjust the configuration: set cookie validation key in config/web.php

'request' => [
    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'cookieValidationKey' => '<secret random string goes here>',
],

Adjust database settings in config files

config/db.php  
config/test_db.php

Now you can init databases with composer command

composer init-db

Access the application through the following URL

http://localhost/basic/web/

Install web server with Docker

Copy _.envtemplate to the .env. If you want, change docker settings in the .env file

Start the container

docker compose up -d

Run project installation

docker compose run --rm php composer create-project

Adjust settings: Set cookie validation key in config/web.php and database configuration in config/db.php and _config/testdb.php. Run database initialization

docker compose run --rm php composer init-db   

You can then access the application through the following URL:

http://loclhost

To stop and remove the container use command

docker compose  down

TESTING

To run all tests use the command:

vendor/bin/codecept run

And you can run the api tests with the command

vendor/bin/codecept run api

All versions of yii2-request-app with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4.0
yiisoft/yii2 Version ~2.0.45
yiisoft/yii2-symfonymailer Version ~2.0.3
yiisoft/yii2-bootstrap5 Version ^2.0
yii2mod/yii2-swagger Version ^1.1
doctrine/annotations Version <2.0.0
yiisoft/yii2-jui Version ^2.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 arckteh/yii2-request-app contains the following files

Loading the files please wait ...