cakephpvue-spa icon indicating copy to clipboard operation
cakephpvue-spa copied to clipboard

A CakePHP + VueJS single page application skeleton/boilerplate.

A Basic CakePHP + VueJS Single Page Application

Build Status Latest Stable Version Total Downloads License

A basic CakePHP + VueJS single page application. Provides basic skeleton/boilerplate to quickly get started with CakePHP and Vue.js.

❤️ Support The Development

Do you like this project? Support it by donating:

Buy Me A Coffee

or Paypal me

or Contact me on Codementor

Follow me

Installation

  1. Get project into your system

    Via composer:

    composer create-project ishanvyas22/cakephpvue-spa
    

    Via cloning the project into your server:

    git clone [email protected]:ishanvyas22/cakephpvue-spa.git
    
  2. Install composer dependencies

    composer install
    
  3. Connect with your database

  4. Run the migrations

    bin/cake migrations migrate
    
  5. Start CakePHP web server or create v-host to run this app.

Development

  1. Install npm packages
    npm install
    
  2. Run below command (Uses awesome Asset Mix plugin for asset compilation)
    • To watch every changes in your vue file
      npm run watch
      
    • To generate development version of js file
      npm run dev
      
    • To generate production version of js file
      npm run prod
      

Notes

  • This is project is under development currently so you might not want to use this app in production directly.
  • This is just a skeleton/example how you can implement the Vue.js with CakePHP.

Changelog

Please see CHANGELOG for more information about recent changes.

Contribution

I love to welcome your contributions if you know CakePHP / Vue.js.

License

The MIT License (MIT). Please see License File for more information.