dynamatrix / laravel-vue
A laravel and vue combination supporting a laravel backend and a vue frontend.
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 11
Language:JavaScript
Type:project
Requires
- php: ^8.2
- laravel/framework: ^11.0
- laravel/sanctum: ^4.0
- laravel/tinker: ^2.9
Requires (Dev)
- fakerphp/faker: ^1.23
- laravel/pint: ^1.13
- laravel/sail: ^1.26
- mockery/mockery: ^1.6
- nunomaduro/collision: ^8.0
- phpunit/phpunit: ^11.0.1
- spatie/laravel-ignition: ^2.4
- dev-testing
- v1.0.1
- v1.0.0
- dev-dependabot/npm_and_yarn/vite-6.3.2
- dev-dependabot/npm_and_yarn/vite-6.3.1
- dev-dependabot/npm_and_yarn/pinia-3.0.2
- dev-dependabot/npm_and_yarn/sass-1.86.3
- dev-dependabot/composer/composer-e6d0169aed
- dev-dependabot/composer/laravel/framework-11.43.2
- dev-dependabot/npm_and_yarn/sass-loader-16.0.5
- dev-dependabot/composer/phpunit/phpunit-11.5.6
- dev-dependabot/composer/laravel/sanctum-4.0.8
- dev-dependabot/composer/laravel/sail-1.41.0
- dev-dependabot/composer/laravel/tinker-2.10.1
- dev-dependabot/npm_and_yarn/npm_and_yarn-545022be4d
- dev-production
This package is auto-updated.
Last update: 2025-04-18 07:01:13 UTC
README
About the laravel-vue scaffold
The laravel-vue scaffold is a template repository usable for new projects that rely on Laravel and Vue. This scaffold combines the two in such a way that they work together efficiently and without issue. Laravel handling the back-end, API and database connections, while Vue handles the front-end, routing and API calls to the back-end.
Stack
- Laravel
- Vue
- SCSS
- Tailwind
- MySQL
Setup
You can use this scaffold by pulling it and changing the git remote, or by using composer create-project dynamatrix/laravel-vue
.
You can find the scaffold on packagist.
Prerequisites:
- MySQL database (MariaDB is recommended) with database and user:
$ sudo apt update $ sudo apt install mariadb-server $ sudo mysql_secure_installation
For the configuration, please read this article by DigitalOcean
- Node 20.12.x
- PHP 8.3.x
Installation
After setup, if you have Node and PHP installed; you may continue by using the installers:
$ npm install $ composer install
After that, you may run the application using
$ php artisan serve $ npm run watch
Axios is installed for the communication between front-end and backend. You may use Axios to make api calls to the laravel backend.
For information on how to use Vue, Laravel, SCSS, Tailwind and Mysql: