Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.35 KB

README.md

File metadata and controls

58 lines (44 loc) · 1.35 KB

Symfony Application

Requirements

Installation

To download and install the project on your computer, run these commands:

Clone the project to download its contents

$ cd projects/
$ git clone https://github.com/andreoneres/symfony-api.git

Make composer install the project's dependencies into vendor:

$ cd symfony-api/
$ composer install

Usage

There's no need to configure anything to run the application. If you have installed Symfony binary, run this command:

$ cd symfony-api/
$ symfony server:start

Then access the application in your browser at the given URL (https://localhost:8000 by default).

If you don't have the Symfony binary installed, run php -S localhost:8000 -t public/ to use the built-in PHP web server or configure a web server like Nginx or Apache to run the application.

Tests

Execute this command to run tests:

$ cd symfony-api/
$ ./bin/phpunit