How To Install php-laravel-framework on Debian 12
Introduction
In this tutorial we learn how to install php-laravel-framework
on Debian 12.
What is php-laravel-framework
php-laravel-framework is:
Laravel is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:
- Simple, fast routing engine
- Powerful dependency injection container
- Multiple back-ends for session and cache storage
- Database agnostic schema migrations
- Robust background job processing
- Real-time event broadcasting
Laravel is accessible, yet powerful, providing tools needed for large, robust applications. A superb combination of simplicity, elegance, and innovation gives you a complete toolset required to build any application with which you are tasked.
There are three methods to install php-laravel-framework
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install php-laravel-framework Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install php-laravel-framework
using apt-get
by running the following command:
sudo apt-get -y install php-laravel-framework
Install php-laravel-framework Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install php-laravel-framework
using apt
by running the following command:
sudo apt -y install php-laravel-framework
Install php-laravel-framework Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install php-laravel-framework
using aptitude
by running the following command:
sudo aptitude -y install php-laravel-framework
How To Uninstall php-laravel-framework on Debian 12
To uninstall only the php-laravel-framework
package we can use the following command:
sudo apt-get remove php-laravel-framework
Uninstall php-laravel-framework And Its Dependencies
To uninstall php-laravel-framework
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove php-laravel-framework
Remove php-laravel-framework Configurations and Data
To remove php-laravel-framework
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge php-laravel-framework
Remove php-laravel-framework configuration, data, and all of its dependencies
We can use the following command to remove php-laravel-framework
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge php-laravel-framework
Dependencies
php-laravel-framework have the following dependencies:
- php-common
- php-json
- php-mbstring
- php-doctrine-inflector
- php-dragonmantank-cron-expression
- php-dragonmantank-cron-expression
- php-email-validator
- php-email-validator
- php-laravel-serializable-closure
- php-laravel-serializable-closure
- php-league-commonmark
- php-league-flysystem
- php-league-flysystem
- php-monolog
- php-monolog
- php-nesbot-carbon
- php-nesbot-carbon
- php-opis-closure
- php-opis-closure
- php-psr-container
- php-psr-container
- php-psr-log
- php-psr-simple-cache
- php-psr-simple-cache
- php-ramsey-uuid
- php-ramsey-uuid
- php-swiftmailer
- php-swiftmailer
- php-symfony-console
- php-symfony-console
- php-symfony-error-handler
- php-symfony-error-handler
- php-symfony-finder
- php-symfony-finder
- php-symfony-http-foundation
- php-symfony-http-foundation
- php-symfony-http-kernel
- php-symfony-http-kernel
- php-symfony-mime
- php-symfony-mime
- php-symfony-process
- php-symfony-process
- php-symfony-routing
- php-symfony-routing
- php-symfony-var-dumper
- php-symfony-var-dumper
- php-tijsverkoyen-css-to-inline-styles
- php-tijsverkoyen-css-to-inline-styles
- php-vlucas-phpdotenv
- php-vlucas-phpdotenv
- php-voku-portable-ascii
- php-voku-portable-ascii
- php-illuminate-auth
- php-illuminate-broadcasting
- php-illuminate-bus
- php-illuminate-cache
- php-illuminate-collections
- php-illuminate-config
- php-illuminate-console
- php-illuminate-container
- php-illuminate-contracts
- php-illuminate-cookie
- php-illuminate-database
- php-illuminate-encryption
- php-illuminate-events
- php-illuminate-filesystem
- php-illuminate-hashing
- php-illuminate-http
- php-illuminate-log
- php-illuminate-macroable
- php-illuminate-mail
- php-illuminate-notifications
- php-illuminate-pagination
- php-illuminate-pipeline
- php-illuminate-queue
- php-illuminate-redis
- php-illuminate-routing
- php-illuminate-session
- php-illuminate-support
- php-illuminate-testing
- php-illuminate-translation
- php-illuminate-validation
- php-illuminate-view
References
Summary
In this tutorial we learn how to install php-laravel-framework
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.