I need to develop several websites with common functions and streams, the only thing that will change dramatically is CSS, even HTML will be distributed.
I am having trouble building this structure in Laravel 4 since I am still starting in the framework.
I would like to get an opinion on who should already have created such a structure.
Thanks in advance!
You can use the package function , first of all you need to make the kernel package as the main project, and then extend the "subprojects" from your git repository, this is an easy way, as the introduction to Laravel says:
"Packages can be a great way to work with dates like Carbon, or an entire BDD testing base like Behat."
In packages, you can highlight each function on composer.jsonand load them one at a time.
composer.json
Assuming a separate Git repository is required, one approach would be to have an application folder for each project, plus one for the main project. I.e:.
, , subapp. , . , , subapp. Git, , , .
.
, , , .
Source: https://habr.com/ru/post/1531014/More articles:A recommendation on how best to process information for random access? - pythonawk округление плавающего числа - awkArguments for eclipse compiler in Maven - javaUsing Maven Compiler Plugin with Eclipse and Lombok Compiler - eclipseNodeJS: I can't do connect-redis work with express - node.jsIs it possible to inherit methods into another namespace in clojure? - namespacesкакая разница между побитным смещением с 2 стрелками и 3 стрелками? - javaDifference between AppFabric workflow service and workflow manager - workflowHow to easily remove annotation from a map? - iosDate value: when entered, 00/00/0000 saves as 11/30/0002 - dateAll Articles