Another mautic guide Mautic Developer Documentation https developer mautic or g plugin-directory-structure Mautic Developer Documentation https developer mautic or g plugin-directory-structure Introduction W elcome to the Mautic Developer Documentation Th
Mautic Developer Documentation https developer mautic or g plugin-directory-structure Mautic Developer Documentation https developer mautic or g plugin-directory-structure Introduction W elcome to the Mautic Developer Documentation This documentation will go over how to build a Mautic Plugin that extends the features of Mautic how to build custom themes and and how to integrate applications outside of Mautic using its REST API S u b m ittin g C o d e to M a u tic Development is open and available to any member of the Mautic community All ?xes and improvements are done through pull requests to the code on GitHub This code is open source and publicly available Read more about the PR process on the Mautic Governance page The code should try to follow Symfony ? s Coding Standards S y m fo n y Mautic is built on Symfony the popular PHP framework Mautic x uses Symfony Mautic x uses Symfony This document will go over the basics but most of their documentation applies to Mautic as well which can be used to obtain more advanced Symfony functionality There are some structural dif ferences between Mautic and standard Symfony Below is a list of where you will ?nd some of standard Symfony locations in Mautic Symfony Mautic src app bundles Mautic core or plugins Mautic plugins web AcmeBundle Resources con ?g AcmeBundle Con ?g AcmeBundle Resources views AcmeBundle V iews AcmeBundle Resources public AcmeBundle Assets AcmeBundle Resources translations domain en US ini AcmeBundle T ranslations en US domain ini Most of Symfony ? s standard locations such as the Resources views and Resources translations directories should still function with Mautic However it may be required to handle service registration etc with native Symfony processes if not using the Mautic methods de ?ned in this document D e v e lo p m e n t E n v iro n m e n t SETUP It is assumed that the system already has composer and git installed and con ?gured Mautic Developer Documentation https developer mautic or g plugin-directory-structure To setup the developer environment simply fork and clone the source from GitHub Then Run composer install on the source Open your browser and complete the installation through the Mautic installer ENVIRONMENTS There are three environments in Mautic prod dev and test prod is used when accessing the site through index php dev is used when accessing the site through index dev php Using Mautic in the dev environment will activate Symfony ? s pro ?ler toolbar has more strict error handling will display information about exceptions and will not cache as much see below Note that steps should be taken to ensure index dev php is not accessible to the public as it could potentially reveal sensitive information It is restricted to localhost by default However there are two ways to allow access to index dev php from a non-localhost The ?rst option is to set a header from the web-server with the IP addresses assigned
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/Iky1CRFGzlNUSUs4iH5lfCKEaAVygK7BsWX61Gyse9iAwsMtyi6C5WNbYub9oRVShHxnoyUit6wrp0DlqLyuO82u.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701109211ncoy3zmnlg3aiz2jfdqkla8vrfxboyiwaj9jqidu3m87gq47nbbypv1ggxixxfvabjqb55gklsxljyglj0pq35kp0lw5hcb5nygt.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701178543j0trcaxyt5mtlhrebjnfca0li8h2jj5at0oqbpaw5wqjdddquhjdfzcdnnefmei36ek5j5nqlb0eitnlctqsskmpi4czvg5rbvmq.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701181357vtadjcofw9f0enyvjsumy6d3u7vpnvk2u88k3wym91e7ukomdlvabsy9q4x4rsc0se3ae1dkfocnupzarrouopzd50lffrhmbbdd.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701073241foy61jafniyt8hvtgl8sjttio5p7ypimaze1zp25qir0nvshrt3uawldcyld9lhuf2fppx4xyncbzmfvkccfrlecavkmhqy33bsi.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11706543820pw3via5kqk58i6hebwavnowmoa1kdalnmsrquulvsh88usfjb9qp7corlimxjlksgkfoxj5zo05qnkqzznisxkzfa7jzabwxojz0.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/d0fwE3imMeN8GGD9zGBsAFYuxFmGRh5StTJv9wmwGRggdTRs0GBsstDbEnTz9IzCUK3nkuaKlLAEs0SdlENCCGX1.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701098269wibxdkzhpmj1pyd9qjhnrdqhf5mevzumxo2rnobjvb814nu045cinfhgfuo6wb0avh4mrzxst3zbrow8ki49vnxqpapgjrf3gbd2.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/mXnsgQ2sa8VDro1W1ntcoCJo8KDuI3GV7DqAlryibVhxeZUSc0WX1WaTooSp704Q8A4pUyNGCyfyJELZVvvB9MjL.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11701166238wpzsc03ngy7t0h6uspw9kkqigtb1tqhom1dvzlkmuknl33txy8amtcbaayab77w0mxyujcsjtjiohmpi7ykkmhbo1alcxqjizj5s.png)
-
25
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Oct 10, 2022
- Catégorie Administration
- Langue French
- Taille du fichier 23MB