yii2-extensions / app-advanced
Web Application Advanced
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >=8.1
- npm-asset/fortawesome--fontawesome-free: ^6.4
- oomphinc/composer-installers-extender: ^2.0
- sjaakp/yii2-icon: ^1.0
- yii2-extensions/asset-bootstrap5: dev-main
- yii2-extensions/bootstrap5: dev-main
- yiisoft/config: ^1.4
- yiisoft/yii2: ^2.2
- yiisoft/yii2-symfonymailer: ^4.0
Requires (Dev)
- codeception/c3: ^2.8
- codeception/codeception: ^5.0.0
- codeception/lib-innerbrowser: ^4.0
- codeception/module-asserts: ^3.0
- codeception/module-filesystem: ^3.0
- codeception/module-yii2: ^1.1
- codeception/verify: ^3.0
- maglnet/composer-require-checker: ^4.6
- symfony/browser-kit: ^6.3
- symfony/process: ^6.3
- yii2-extensions/debug: dev-main
- yii2-extensions/gii: dev-main
- yii2-extensions/phpstan: dev-main
This package is auto-updated.
Last update: 2024-12-02 16:27:13 UTC
README
Web Application Advanced
Directory structure
root
├── config
│ ├── backend Backend configuration.
│ ├── console Console configuration.
│ ├── frontend Frontend configuration.
│ ├── config-plugin.php Plugin configuration.
│ ├── messages.php Translation configuration.
│ ├── params-backend.php Backend parameters.
│ ├── params-console.php Console parameters.
│ ├── params-frontend.php Frontend parameters.
│ └── params.php Common parameters.
├── backend
│ ├── config Backend tests configuration.
│ ├── public Backend web server public.
│ ├── src
│ │ └── UseCase
│ │ └── Site Site use case.
│ └── Tests Backend tests.
├── common
│ └── src
│ └── Framework
│ └── Asset Common asset bundles files.
│ └── Controller Common controller files.
│ └── resource
│ ├── css Common Css files.
│ ├── js Common Js files.
│ ├── layout Common Layout files.
│ └── message Common Translation files.
├── console
│ ├── config Console tests configuration.
│ └── src
│ ├── UseCase
│ │ └── Hello Hello use case.
│ └── Tests Console tests.
├── frontend
│ ├── config Frontend tests configuration.
│ ├── public Frontend web server public.
│ └── src
│ ├── Framework
│ │ ├── EventHandler Event handler files.
│ ├── UseCase
│ │ ├── About About use case.
│ │ ├── Contact Contact use case.
│ │ └── Site Site use case.
│ └── Tests Frontend tests.
└── vendor Composer dependencies.
Installation
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this project app-basic using the following command:
composer create-project --prefer-dist --stability=dev yii2-extensions/app-advanced myapp
Now you should be able to access the application advanced through the following URL, assuming `frontend/public` amd `backend/public` is the directory directly under the Web root.
Virtual Host:
http://localhost:8080/
Backend Server Yii:
./yii serve -t backend/public -r backend/public/index.php
Frontend Server Yii:
./yii serve -t frontend/public -r frontend/public/index.php
Console commands:
./yii hello/index
Tests
// download all composer dependencies root project
$ composer update --prefer-dist -vvv
// run all tests with code coverage
$ vendor/bin/codecept run --coverage-xml
Our social networks
License
The MIT License. Please see License File for more information.