ishanvyas22 / cakephpvue-spa
A CakePHP + VueJS single page application skeleton/boilerplate
Fund package maintenance!
Patreon
Installs: 385
Dependents: 0
Suggesters: 0
Security: 0
Stars: 49
Watchers: 7
Forks: 11
Open Issues: 5
Type:project
Requires
- php: >=7.2
- ext-json: *
- cakephp/cakephp: ~4.1.0
- cakephp/migrations: ^3.0
- cakephp/plugin-installer: ^1.3
- ishanvyas22/asset-mix: ^1.0
- mobiledetect/mobiledetectlib: ^2.8
Requires (Dev)
- cakephp/bake: ^2.0.3
- cakephp/cakephp-codesniffer: ~4.2.0
- cakephp/debug_kit: ^4.1
- josegonzalez/dotenv: ^3.2
- phpstan/phpstan: ^0.12.36
- phpunit/phpunit: ^8.0
- psy/psysh: @stable
This package is auto-updated.
Last update: 2024-11-06 20:47:33 UTC
README
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:
or Paypal me
Follow me
Installation
-
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
-
Install composer dependencies
composer install
-
Connect with your database
-
Run the migrations
bin/cake migrations migrate
-
Start CakePHP web server or create v-host to run this app.
Development
- Install npm packages
npm install
- 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
- To watch every changes in your vue file
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.