docker-apache-php-laravel
Spikster
docker-apache-php-laravel | Spikster | |
---|---|---|
1 | 1 | |
119 | 74 | |
3.4% | - | |
4.2 | 8.8 | |
2 months ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-apache-php-laravel
-
Deploying PHP App to Apache
The main concept you need to know about is the apache document root. This defines the start/root of "web space". Your document root is going to be the /public directory of your project. You should not be versioning or copying files in /vendor. That directory should be created by running composer install on the server from a shell in your project directory. composer will create the vendor directory, and pull all the same files you've been working with. This assumes that you have been versioning the composer.lock file. In production you only ever run composer install. Since laravel implements the front controller pattern, you need some sort of configuration to handle rewriting requests so they utilize the front controller (/public/index.php). Here is a typical mod_rewrite configuration you can put in a .htaccess file in the /public directory. For quite a while, many sysadmins paired nginx/php-fpm, whereas with apache you have the option to use mod_php. However, it is now quite possible to use apache and php-fpm. Think of php-fpm as the application server for php. Although this article talks about setting this up for the symfony framework, the principle would be exactly the same for a laravel app. I would recommend using apache with php-fpm as this is a more efficient use of resources and memory than setting apache up with mod_php. The main thing to ignore in that article is the use of the symfony package, which just provides a .htaccess that works with symfony. As symfony and Laravel are both front controller frameworks it might actually work with laravel, but I can't say for sure.
Spikster
-
Spikster: A New Open-Source, Hosting Control Panel
You can find more information on our website and GitHub page
What are some alternatives?
crunz - A PHP-based job scheduler
hestiacp - Hestia Control Panel | A lightweight and powerful control panel for the modern web.
webgrind - Xdebug Profiling Web Frontend in PHP
Bind9-Web-Manager - 🌐 Introducing Bind9 Web Manager: Your All-in-One DNS Solution for Effortless Management, Replication, and User Administration. Bid farewell to complexity and welcome simplicity and efficiency.
laracaptcha - A Laravel package to seamlessly use hCapthca or reCaptcha v2 or v3 on your forms or RESTful APIs
Froxlor - The server administration software for your needs - The official Froxlor development Git repository
lamp - Docker LAMP stack
Sentora - Sentora is a web hosting control panel written in PHP for *NIX
devilbox - A modern Docker LAMP stack and MEAN stack for local development
panel - Pterodactyl® is a free, open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
over-api - ¡BACKEND OVER APP! API REST IMPLEMENTANDO CONCEPTOS DE ARQUITECTURA HEXAGONAL, DDD, TDD Y SOLID. HECHO EN LARAVEL & PHP
laravel-jwt-api-starter - JWT API Auth: Laravel JSON Web Token API Authentication Template.