Download the PHP package webcretaire/symfony-vue without Composer
On this page you can find all versions of the php package webcretaire/symfony-vue. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download webcretaire/symfony-vue
More information about webcretaire/symfony-vue
Files in webcretaire/symfony-vue
Package symfony-vue
Short Description Example application with Symfony 4 and Vue 2
License MIT
Informations about the package symfony-vue
Symfony & Vue.JS skeleton 
This project demonstrate how Symfony 4 and Vue.JS 2 can be integrated in the same project.
Why does this exist ?
Most template / tutorials online help you build a website with a separated frontend and backend, but few will explain how you can host both in the same project, although it is useful for small project which have only one developer (or at least no separated frontend/backend teams).
Dependencies
This project suppose you use Virtualbox and Vagrant. Although if you don't want to you can delete the Vagrantfile
and ansible
directory and serve the app in development however you want (for example using Symfony's dev server).
Installation
On your system
Customize variables inside ansible/vars.yml
according to your needs.
Add whatever you chose for the server_domain
var to your host file (on Windows it is located in C:\Windows\System32\drivers\etc\hosts
).
Start the virtual machine by running vagrant up
inside you project folder.
On the VM
The frontend is compiled once by Ansible when the WM is created, but to watch changes made to the files you can use make watch_assets
, or run make vue_ui
and manage webpack through vue-ui on port 8001 (http://project.dom:8001 in this example)
Usage
Once the installation is complete, you should see this page when going on the domain you chose on port 8000 (http://project.dom:8000 in this example) :
You can then start developing your frontend at front/src/
and your backend at src/
.
All versions of symfony-vue with dependencies
ext-ctype Version *
ext-iconv Version *
friendsofsymfony/jsrouting-bundle Version ^2.3
sensio/framework-extra-bundle Version ^5.1
symfony/asset Version 4.2.*
symfony/console Version 4.2.*
symfony/dotenv Version 4.2.*
symfony/expression-language Version 4.2.*
symfony/flex Version ^1.1
symfony/form Version 4.2.*
symfony/framework-bundle Version 4.2.*
symfony/monolog-bundle Version ^3.1
symfony/orm-pack Version *
symfony/process Version 4.2.*
symfony/security-bundle Version 4.2.*
symfony/serializer-pack Version *
symfony/swiftmailer-bundle Version ^3.1
symfony/translation Version 4.2.*
symfony/twig-bundle Version 4.2.*
symfony/validator Version 4.2.*
symfony/web-link Version 4.2.*
symfony/webpack-encore-bundle Version ^1.2
symfony/yaml Version 4.2.*