This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| laravel:part_1 [2022/12/12 12:27] admin created | laravel:part_1 [2025/01/26 19:44] (current) admin | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| The installation section of Laravel's documentation gives you some instructions on how to get started: https://laravel.com/docs/9.x/installation | The installation section of Laravel's documentation gives you some instructions on how to get started: https://laravel.com/docs/9.x/installation | ||
| + | |||
| + | A quick example of some prerequisites on Debian (to get it working out of the box): | ||
| + | |||
| + | <code> | ||
| + | sudo apt install composer phpunit php-xml php-sqlite3 | ||
| + | </code> | ||
| Once we have the prerequisites installed, you can create a new Laravel install in an empty directory: | Once we have the prerequisites installed, you can create a new Laravel install in an empty directory: | ||
| Line 18: | Line 24: | ||
| php artisan | php artisan | ||
| </code> | </code> | ||
| + | |||
| + | |||
| That should give you a list of available commands.  If you spot any errors - make sure you have PHP installed properly and your version is correct. | That should give you a list of available commands.  If you spot any errors - make sure you have PHP installed properly and your version is correct. | ||