https://github.com/truemedia/lwap
Source code for building a laravel website as package (LWAP), from tutorial series by me (Wade Penistone)
https://github.com/truemedia/lwap
as composer development laravel lwap package parts series tutorial website
Last synced: 2 months ago
JSON representation
Source code for building a laravel website as package (LWAP), from tutorial series by me (Wade Penistone)
- Host: GitHub
- URL: https://github.com/truemedia/lwap
- Owner: Truemedia
- License: mit
- Created: 2017-05-22T19:46:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-01T20:02:15.000Z (over 8 years ago)
- Last Synced: 2025-03-02T09:30:57.711Z (11 months ago)
- Topics: as, composer, development, laravel, lwap, package, parts, series, tutorial, website
- Language: CSS
- Homepage: https://www.youtube.com/playlist?list=PL16aYxMS6PIIjJsD4kWWUV4U_CGpSjUEd
- Size: 22.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LWAP (Laravel website as package) #
## Source code from tutorial series by Wade Penistone ##
This is the source code built alongside a video series covering this practice of building websites:
https://www.youtube.com/playlist?list=PL16aYxMS6PIIjJsD4kWWUV4U_CGpSjUEd
### Installation ###
Add the following to the 'repositories' inside your `composer.json` located in the root folder of a Laravel instance (Create repositiories as key if it does not exist with value set as square brackets)
```
{
"type": "vcs",
"url": "git@github.com:Truemedia/lwap.git"
}
```
Then run the following command/s in your VM inside the root directory of the site
composer require truemedia/lwap:dev-master --prefer-source
#### Then... (Only for Laravel < 5.5) ####
Add the following line to `config/app.php` inside the 'providers' array to use the service provider
Truemedia\Lwap\LwapServiceProvider::class,
Update composer
composer update
Alter webpack.mix.js (root directory)
From: mix.js('resources/assets/js/app.js', 'public/js')
To: mix.js('vendor/truemedia/lwap/src/resources/assets/js/app.js', 'public/js')
Publish assets
php artisan vendor:publish
Compile assets
npm run dev
Run migrations
php artisan migrate
### Usage ###
To be updated
### Tests ###
To be updated
### Tools ###
To be updated
### Credits ###
Wade Penistone (@Truemedia) - 2017