You can install Spiral components independently or use a pre-build application skeleton, which enables most of the framework functions. You can either downgrade Web skeleton or use the CLI skeleton with minimal number dependencies to start a new application.
Default Web (full-stack) skeleton is available on https://github.com/spiral/app
Installation includes the following packages out of the box and framework-specific functions enabled:
Make sure that your server configured with the following PHP version and extensions:
Application bundle includes the following components:
composer create-project spiral/app
Note
Application server will be downloaded automatically (php-curl
andphp-zip
required).
Once the application installed, you can ensure that it was configured properly by executing:
php app.php configure
To start application server execute:
./rr serve
On Windows:
./rr.exe serve
The application will be available on http://localhost:8080
.
Note
Read more about application server configuration here.
Check other skeleton builds: