Home

Awesome

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:

<a href="https://www.buymeacoffee.com/ishanvyas" target="_blank"> <img src="https://www.buymeacoffee.com/assets/img/custom_images/purple_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" > </a> <a href="https://www.patreon.com/ishanvyas"> <img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160"> </a>

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 git@github.com: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

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.