A skeleton for creating applications based on RadPHP framework.
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 -dto 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
- 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
webdirectory 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