radphp / app
RadPHP application skeleton
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Type:project
Requires
- php: >=5.5.21
- radphp/asset-bundle: 0.1.x-dev
- radphp/radphp: 0.1.x-dev
Requires (Dev)
- phpunit/phpunit: 4.5.0
This package is not auto-updated.
Last update: 2024-12-19 09:42:23 UTC
README
A skeleton for creating applications based on RadPHP framework.
Installation
With Docker (Recommended):
- First make sure you have Docker and Docker Compose
- Run
composer create-project --ignore-platform-reqs -s dev --prefer-dist radphp/app [app_name]
- Change directory to
[app-name]
- Run
docker-compose up -d
to run web container - Go to you container with
docker-compose exec --user=radphp web ash
- Execute
composer update
- Then open http://127.0.0.1/ in your browser
With your own installation of web server and PHP:
- First make sure you have Composer
- Run
composer create-project -s dev --prefer-dist radphp/radphp-app [app_name]
- Put
[app_name]
directory somewhere in your web root directory - Create a virtual host config file in your web server and point it's root directory to
web
directory of[app_name]
- Add your defined SERVERNAME in front of 127.0.0.1 line in your /etc/hosts
- Then open http://SERVERNAME/ in your browser