This is a Symfony 6 application that calculates the Fibonacci sequence. Follow the instructions below to set up and run the application.
- Clone the repository to your local machine using Git:
git clone https://github.com/bartek3xe/php-fibonacci-sequence.git
- Navigate to the project directory:
cd php-fibonacci-sequence
- Install PHP dependencies using Composer:
composer install
- istall JavaScript dependencies using Yarn:
yarn install
- Build the JavaScript assets:
yarn encore dev
In this project, we've set up some custom command aliases to streamline your workflow. You can use these aliases in your terminal for common tasks.
-
start()
: Start the Symfony development server. -
stop()
: Stop the Symfony development server. -
pconsole()
: Run Symfony console commands conveniently. -
punit()
: Run PHPUnit tests.
These aliases will make your development workflow more efficient and save you time when working with this Symfony application.
- Load .profile file with aliases
source .profile
- Start the Symfony development server:
start