Giter Site home page Giter Site logo

truemedia / lwap Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 23 KB

Source code for building a laravel website as package (LWAP), from tutorial series by me (Wade Penistone)

Home Page: https://www.youtube.com/playlist?list=PL16aYxMS6PIIjJsD4kWWUV4U_CGpSjUEd

License: MIT License

PHP 36.18% HTML 3.35% CSS 59.36% JavaScript 1.11%
laravel website as package lwap composer development parts tutorial series

lwap's Introduction

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": "[email protected]: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

lwap's People

Contributors

kageryuuu avatar truemedia avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.