ishanvyas22 / cakephpvue-spa
A CakePHP + VueJS single page application skeleton/boilerplate
Fund package maintenance!
Patreon
Installs: 387
Dependents: 0
Suggesters: 0
Security: 0
Stars: 49
Watchers: 7
Forks: 11
Open Issues: 3
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
- dev-master
- 2.1.1
- 2.1.0
- 2.0.1
- 2.0.0
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- dev-dependabot/composer/twig/twig-3.11.3
- dev-dependabot/composer/twig/twig-3.11.2
- dev-dependabot/composer/symfony/process-5.4.46
- dev-dependabot/npm_and_yarn/elliptic-6.6.0
- dev-deepsource-transform-88a29e76
- dev-cake3
- dev-develop
This package is auto-updated.
Last update: 2024-11-11 15:42:37 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.