The power of webpack, distilled for the rest of us.

Overview

Laravel Mix

Node NPM NPM NPM

Introduction

Laravel Mix thumbnail

Laravel Mix provides a clean, fluent API for defining basic webpack build steps for your applications. Mix supports several common CSS and JavaScript pre-processors.

If you've ever been confused about how to get started with module bundling and asset compilation, you will love Laravel Mix!

Documentation

You may review the initial documentation here.

License

Laravel Mix is open-sourced software licensed under the MIT license.

Comments
  • Unexpected character '@' after upgrade from v0.5.3 to v0.5.9

    Unexpected character '@' after upgrade from v0.5.3 to v0.5.9

    Upgrading from v0.5.3 to v0.5.9 causes the following errors:

    Module parse failed: ...resources\assets\sass\portal.scss Unexpected character '@' (1:0) You may need an appropriate loader to handle this file type. | @font-face { | font-family: 'Open Sans'; | font-style: normal;

    Switching back to v0.5.3 or v0.5.7 without any other config changes everything is ok...

    help wanted 
    opened by rn1ee 138
  • Laravel Mix npm run dev error

    Laravel Mix npm run dev error

    • Laravel Mix Version: 1.4.2 (npm list --depth=0)
    • Node Version (node -v): v8.2.1
    • NPM Version (npm -v): 5.3.0
    • OS: Debian 8

    Description:

    When I'm running the command npm run dev, I'm getting the following output with an error:

    root@gra2-status:/var/www/webinterface# npm run dev
    
    > @ dev /var/www/webinterface
    > npm run development
    
    
    > @ development /var/www/webinterface
    > cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
    
    events.js:182
          throw er; // Unhandled 'error' event
          ^
    
    Error: spawn node_modules/webpack/bin/webpack.js ENOENT
        at exports._errnoException (util.js:1024:11)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:192:19)
        at onErrorNT (internal/child_process.js:374:16)
        at _combinedTickCallback (internal/process/next_tick.js:138:11)
        at process._tickCallback (internal/process/next_tick.js:180:9)
        at Function.Module.runMain (module.js:607:11)
        at startup (bootstrap_node.js:158:16)
        at bootstrap_node.js:575:3
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @ development: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the @ development script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2017-07-29T07_18_17_185Z-debug.log
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @ dev: `npm run development`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the @ dev script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /root/.npm/_logs/2017-07-29T07_18_17_205Z-debug.log
    

    Steps To Reproduce:

    Clean Laravel Installation ( composer create-project laravel/laravel webinterface)

    1. run: composer install
    2. run: npm install
    3. run: npm run dev
    opened by HerrTxbias 123
  • [ON HOLD] Support for webpack 4

    [ON HOLD] Support for webpack 4

    This is currently blocked by an issue with webpack 4 regarding CSS chunk splitting.

    All but one test currently pass.


    I've gathered some data on which plugins have releases (beta or otherwise) that work with webpack 4. Any help here would be 👌

    Working Loaders / Plugins

    • babel-loader (7.1.3)
    • css-loader (0.28.10)
    • less-loader (4.0.6)
    • resolve-url-loader (2.3.0)
    • sass-loader (6.0.7)
    • sass-resources-loader (1.3.3)
    • stylus-loader (3.0.2)
    • ts-loader (4.0.0)
    • friendly-errors-webpack-plugin (1.7.0)
    • webpack-chunk-hash (0.6.0)

    Likely Working Loaders / Plugins

    These have not been updated but appear to work

    • coffee-loader

    Unknown

    • html-loader
    • img-loader
    • postcss-loader
    opened by thecrypticace 117
  • Cannot find module cross-env

    Cannot find module cross-env

    • Laravel Mix Version: 0.8.7
    • Node Version (node -v): 7.6.0
    • NPM Version (npm -v): 4.3.0
    • OS: MacOS

    Description:

    I am using Spark (latest version) but when I compiled css and js by using npm run dev then I got an error:

    Cannot find module '/PATH/node_modules/cross-env/bin/cross-env.js'
        at Function.Module._resolveFilename (module.js:470:15)
        at Function.Module._load (module.js:418:25)
        at Module.runMain (module.js:605:10)
        at run (bootstrap_node.js:422:7)
        at startup (bootstrap_node.js:143:9)
        at bootstrap_node.js:537:3
    
    npm ERR! Linux 3.19.0-25-generic
    npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
    npm ERR! node v7.6.0
    npm ERR! npm  v4.3.0
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the @ dev script 'node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the  package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs 
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls 
    npm ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /home/vagrant/.npm/_logs/2017-02-26T08_26_31_924Z-debug.log
    

    I tried to update npm, node, laravel-mix and remove all modules in node_modules and re-install but I still got that error.

    opened by phuclh 68
  • Please test the Laravel Mix 4 Beta

    Please test the Laravel Mix 4 Beta

    Hey, everyone. I just pushed the first beta release of Laravel Mix 4. This is the big one that catches us up to webpack 4, Babel 7, and vue-loader 15. This comes with a whole host of improvements.

    For the next week or so, I'd like as many people as possible to try it out. We had to rewrite a lot of code as part of this update, and even though all our tests are passing, you never know...

    You can install the beta release of Mix, like so:

    npm install laravel-mix@beta
    

    Upgrade Notes

    • If upgrading from Mix 2.*, and your project includes Babel plugins that are not provided by Mix out of the box, you'll need to update them. Review the Mix 3.0 release notes for more information. Don't worry, it's a quick update.
    • For optimization/minification, we've switched from uglify-js to terser. If your project was overriding any of our default uglify config, you'll need to update it to terser (very similar API).

    Gotchas

    As part of our webpack update, to require() a module or Vue SFC with the CommonJS approach, you'll now need to append .default, like so:

    Before

    Vue.component('example-component', require('./components/ExampleComponent.vue'));
    

    After

    Vue.component('example-component', require('./components/ExampleComponent.vue').default);
    

    Alternatively, you can/should switch to ES modules.

    import ExampleComponent from './components/ExampleComponent.vue';
    
    Vue.component('example-component', ExampleComponent);
    

    With this in mind, the default Laravel app resources/assets/js/app.js boilerplate code will need to be updated accordingly. One of us will take care of that once Mix 4.0 is out of beta.

    Please share any issues you come across in this thread, and we'll address them as quickly as possible.

    opened by JeffreyWay 60
  • Mix does not delete old versioned files when a new one is generated

    Mix does not delete old versioned files when a new one is generated

    • Laravel Mix Version: 0.11.4
    • Node Version: v6.10.0
    • NPM Version: 3.10.10
    • OS: Windows 7 Ultimate 64x

    Description:

    When I'm using the version() function, it doesn't matter if I'm running in production mode or not, the old versioned files are not been deleted (BTW this is not a Laravel project) oij8jp6 1

    Steps To Reproduce:

    Put this setting in the webpack.mix.js 30d441f4-3aba-11e7-8472-4e598bca6e04 1

    opened by DannyFeliz 56
  • BrowserSync: Sass compilation causing whole page reload

    BrowserSync: Sass compilation causing whole page reload

    • Laravel Mix Version: 1.4.2 (github:jeffreyway/laravel-mix#5aad0dfde5349e284e0876388a6f307547f7c002)
    • Node Version (node -v): 8.2.1
    • NPM Version (npm -v): 5.3.0
    • OS: macOS Sierra 10.12.6

    Description:

    When using browserSync, css changes are injected however the page is also reloaded due to the fact that the JS bundle is re-emitted even when the only file that changed was a sass file.

    Steps To Reproduce:

    webpack.mix.js:

    mix
    	.js('resources/assets/js/main.js', 'public/assets/js/bundle.js')
    	.extract(['jquery', 'babel-polyfill'])
    	.autoload({
    		jquery: ['$', 'jQuery', 'window.jQuery']
    	})
    	.sass('resources/assets/sass/style.scss', 'public/assets/css')
    	.disableNotifications()
    	.options({
    			processCssUrls: false
    	})
    	.sourceMaps()
    	.browserSync({
    		proxy: process.env.APP_URL,
            files: [
                'app/**/*.php',
                'resources/views/**/*.php',
                'public/assets/js/**/*.js',
                'public/assets/css/**/*.css'
            ]
        })
    

    Run npm run watch, site is served at localhost:3000, save a sass file and watch the browser refresh rather than just inject the changes.

    stale 
    opened by SethTompkins 55
  • Versioning no longer Load Balancer friendly

    Versioning no longer Load Balancer friendly

    Hi

    Upgraded from 0.10 today to 1.2.2 due to some issues I was having on our live servers, and have realised it has created another issue, now with the versioning.

    Let's say you have 2...n servers, that all individually update their code, and run npm run production, they are all set up so they share a session state so, for the most part, it doesn't matter which server they hit.

    In the pre 1.0 versioning you might get a code update that for a short period of time creates an inconsistent state: The browser gets told by server 1 /css/app.5ee7141a759a5fb7377a.css is current, due to true Load Balancing it might try getting it from server 2 which hasn't quite finished npm run production yet. It gets a 404, no big deal, the browser requests that file next time and either manages to get it from a different server, or the other one had finished processing it.

    Post 1.0, this creates a larger issue: The browser gets told by server 1 /css/app..css?id=5ee7141a759a5fb7377a is current, if server 2 hasn't finished compiling yet, it might serve that client the old CSS code, the browser will cache this old code for days/weeks/months.

    If we throw a CDN in the mix (something that I'm planning on doing), this creates an even larger issue, because it is possible in that small window, that it caches the old code (even though cachebusting on the new ID), and will serve that to many browsers. CDN even means that any Load Balancer stickiness (for browsers) is completely off the table as well.

    It would be great to have the old versioning back (even as an option),
    I realise the query string keeps things a bit tidier, but it does mean in multi-server setups there's no guarantee that the file version being served is actually the right version - having the file existing/not existing is really the only guarantee here.

    Thanks

    Ben

    v1.3 stale 
    opened by bbluemel 54
  • .extract() leads to empty .css files

    .extract() leads to empty .css files

    • Laravel Mix Version: [email protected] (npm list --depth=0)
    • Node Version (node -v): v10.10.0
    • NPM Version (npm -v): 6.5.0
    • OS:

    Description:

    css files are empty (0 bytes), with no error, whenever a js file has been processed before.

    mix
      .js('resources/front/visitors/visitors.js', 'public/js')
      .sass('resources/front/visitors/sass/visitors.scss', 'public/css')
      .extract([....])
    

    leads to a 0 bytes css file whenever

    mix
      .js('resources/front/visitors/visitors.js', 'public/js')
      .sass('resources/front/visitors/sass/visitors.scss', 'public/css')
    

    creates the wanted css.

    Steps To Reproduce:

    Running npm run dev or npm run prod. Specifying the array of libs you want to extract (.extract([...])) or letting Mix do the guessing job (.extract()) does not change the problem.

    Output in the first case:

     DONE  Compiled successfully in 11268ms
                         Asset      Size                                         Chunks             Chunk Names
    /css/semantic-visitors.css   0 bytes                     /js/manifest, /js/visitors  [emitted]  /js/manifest, /js/visitors
             /css/visitors.css   0 bytes                     /js/manifest, /js/visitors  [emitted]  /js/manifest, /js/visitors
               /js/manifest.js  9.08 KiB                                   /js/manifest  [emitted]  /js/manifest
                 /js/vendor.js  2.14 MiB                                     /js/vendor  [emitted]  /js/vendor
               /js/visitors.js  1.28 MiB                                   /js/visitors  [emitted]  /js/visitors
    

    and in the second case:

     DONE  Compiled successfully in 11111ms
                         Asset        Size                                         Chunks             Chunk Names
    /css/semantic-visitors.css     653 KiB                                   /js/visitors  [emitted]  /js/visitors
             /css/visitors.css    14.5 KiB                                   /js/visitors  [emitted]  /js/visitors
               /js/visitors.js    2.93 MiB                                   /js/visitors  [emitted]  /js/visitors
    
    opened by rderimay 52
  • Dependencies not found error references my own files

    Dependencies not found error references my own files

    • Laravel Mix Version: +-- [email protected]
    • Node Version: v8.1.3
    • NPM Version: 5.2.0
    • OS: Windows 10

    npm list --depth=0 does give me an error though (even when manually installing webpack):

    `-- [email protected]
    
    npm ERR! peer dep missing: webpack@^2.2.0, required by [email protected]
    

    Complete list:

    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    +-- [email protected]
    `-- [email protected]
    
    npm ERR! peer dep missing: webpack@^2.2.0, required by [email protected]
    

    Description:

    Since updating laravel-mix and npm I receive the following error:

    These dependencies were not found:
    
    * C:\Projects\project-name\resources\assets\js\cms\cms.js in multi ./resources/assets/js/cms/cms.js ./resources/assets/sass/cms/cms.scss ./resources/assets/sass/website/style.scss
    * C:\Projects\project-name\resources\assets\js\website\website.js in multi ./resources/assets/js/website/website.js
    * C:\Projects\project-name\resources\assets\sass\cms\cms.scss in multi ./resources/assets/js/cms/cms.js ./resources/assets/sass/cms/cms.scss ./resources/assets/sass/website/style.scss
    * C:\Projects\project-name\resources\assets\sass\website\style.scss in multi ./resources/assets/js/cms/cms.js ./resources/assets/sass/cms/cms.scss ./resources/assets/sass/website/style.scss
    
    To install them, you can run: npm install --save C:\Projects\project-name\resources\assets\js\cms\cms.js C:\Projects\project-name\resources\assets\js\website\website.js C:\Projects\project-name\resources\assets\sass\cms\cms.scss C:\Projects\project-name\resources\assets\sass\website\style.scss
    

    So I tried reverting the update back but the error does not go away. When I empty to files to // the error still occurs. Only when removing the mix entries the error goes away.

    My webpack.mix.js file:

    const {mix} = require('laravel-mix');
    
    mix.disableNotifications();
    
    mix.options({
        processCssUrls: false
    });
    
    mix.js('resources/assets/js/cms/cms.js', 'public/build/js/cms.js')
        .js('resources/assets/js/website/website.js', 'public/build/js/website.js')
        .sass('resources/assets/sass/cms/cms.scss', 'public/build/css/cms.css')
        .sass('resources/assets/sass/website/style.scss', 'public/build/css/website.css');
    
    if (mix.inProduction()) {
        mix.version();
    }
    

    The following scripts gives me that error:

    npm run dev
    
    npm run prod
    
    npm run watch
    

    My package.json:

    {
    	"private": true,
    	"scripts": {
    		"dev": "npm run development",
    		"development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    		"watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    		"watch-poll": "npm run watch -- --watch-poll",
    		"hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    		"prod": "npm run production",
    		"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
    	},
    	"devDependencies": {
    		"cross-env": "^5.0.1",
    		"laravel-mix": "^1.1.1",
    		"webpack": "2.2.0"
    	},
    	"dependencies": {
    		"axios": "^0.15.2",
    		"bootstrap-sass": "^3.3.7",
    		"cropperjs": "^1.0.0-beta.2",
    		"flatpickr": "^2.3.7",
    		"jquery": "^3.1.0",
    		"jquery-mousewheel": "^3.1.13",
    		"lodash": "^4.16.2",
    		"malihu-custom-scrollbar-plugin": "^3.1.5",
    		"nouislider": "^9.2.0",
    		"owl.carousel": "^2.2.0",
    		"tinymce": "^4.6.4",
    		"vue": "^2.0.1"
    	},
    	"eslintConfig": {
    		"extends": "eslint:recommended",
    		"parserOptions": {
    			"ecmaVersion": 6,
    			"sourceType": "module"
    		},
    		"env": {
    			"browser": true,
    			"node": true
    		},
    		"globals": {
    			"_": true,
    			"axios": true
    		}
    	}
    }
    
    opened by Hendriksie 52
  • Help Requested From Windows Users

    Help Requested From Windows Users

    Hey, everyone. I could use some help from Windows users. If you have the time, would you mind doing:

    laravel new example
    npm install
    npm run dev
    

    Did you get an error related to "node_modules not being an external command", or anything along those lines? If so, can you try running a variant of this command?

    node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
    

    This ends up being more complicated, because Yarn has this weird thing where it doesn't symlink bin installs to node_modules/.bin. So, if you install Mix with NPM, no problem. But if you do it through Yarn, the NPM script can't find webpack or webpack-dev-server.

    So we updated the NPM script to specify the full path to these executable, but now some Windows users are having issues, and I'm not quite sure what the root of it is.

    Any help would be appreciated! :)

    opened by JeffreyWay 50
  • HMR - works for .vue files, but reloads entire page for .js files

    HMR - works for .vue files, but reloads entire page for .js files

    • Laravel Mix Version: 6.0.37
    • Node Version: v15.14.0
    • NPM Version: 7.7.6
    • OS: Mac OS Big Sur 11.6

    Description:

    I setup HMR on my laravel/vue app per the instructions from the mix docs here: https://laravel-mix.com/docs/6.0/hot-module-replacement

    Everything works perfectly when editing .vue files (The change is applied without the entire page reloading).

    However, when I edit any .js files (including but not limited to vuex store files), the entire page is reloaded. This is not ideal - I would like it to work the same as when editing .vue files.

    Any ideas on how to debug this issue? Any clues about what would make the entire page reload as opposed to just the chunks that were edited? Any tips on documentation or articles somewhere that would point me in the right direction?

    Any help would be appreciated. Thanks!

    opened by andrew-ycode 0
  • JSON5 security vulnerability

    JSON5 security vulnerability

    Prototype Pollution in JSON5 via Parse Method - https://github.com/advisories/GHSA-9c47-m6qq-7p4h

    It looks like an update to [email protected] should fix the issue, but I'm not familiar enough with the mix library to know what the breaking changes might affect.

    opened by PDXfoster 2
  • More modern output breaks the build

    More modern output breaks the build

    • Laravel Mix Version: 4.1.4
    • Node Version (node -v): 16.7.1
    • NPM Version (npm -v): 8.15.0
    • OS: Linux

    Description:

    So all I'm trying to do is get Babel to output something more modern than ES5. I added this:

    mix.babelConfig({
        presets: [
            [
                "@babel/preset-env",
                {
                    targets: [
                        "last 2 Chrome versions",
                        "last 2 Firefox versions",
                    ],
                },
            ],
        ],
    })
    

    And now the build breaks! I can "fix it" by adding forceAllTransforms: true, which is for some reason Laravel Mix's default Babel config. However, I don't want ES5 output. I only need to support the most recent browsers. As a bonus, this saves a lot of building time.

    Steps To Reproduce:

    Add the above configuration, have some modern syntax like foo ?? bar in a JS file: build breaks with the following:

    ERROR in ./resources/js/bla.js 12:34
    Module parse failed: Unexpected token (12:34)
    File was processed with these loaders:
     * ./node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    
    opened by ameenross 0
  • Bump express from 4.17.1 to 4.18.2

    Bump express from 4.17.1 to 4.18.2

    Bumps express from 4.17.1 to 4.18.2.

    Release notes

    Sourced from express's releases.

    4.18.2

    4.18.1

    • Fix hanging on large stack of sync routes

    4.18.0

    ... (truncated)

    Changelog

    Sourced from express's changelog.

    4.18.2 / 2022-10-08

    4.18.1 / 2022-04-29

    • Fix hanging on large stack of sync routes

    4.18.0 / 2022-04-25

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • Bump decode-uri-component from 0.2.0 to 0.2.2

    Bump decode-uri-component from 0.2.0 to 0.2.2

    Bumps decode-uri-component from 0.2.0 to 0.2.2.

    Release notes

    Sourced from decode-uri-component's releases.

    v0.2.2

    • Prevent overwriting previously decoded tokens 980e0bf

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2

    v0.2.1

    • Switch to GitHub workflows 76abc93
    • Fix issue where decode throws - fixes #6 746ca5d
    • Update license (#1) 486d7e2
    • Tidelift tasks a650457
    • Meta tweaks 66e1c28

    https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.1

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    opened by dependabot[bot] 0
  • LimitChunkCountPlugin leads to file saved as mix.css

    LimitChunkCountPlugin leads to file saved as mix.css

    • Laravel Mix Version: 6.0.49
    • Node Version: 16.17.1
    • NPM Version: 8.19.2
    • OS: Ventura 13.0.1

    Description:

    var mix = require("laravel-mix");
    const webpack = require("webpack")
    
    mix.webpackConfig({
        plugins:
            [
                new webpack.optimize.LimitChunkCountPlugin({
                    maxChunks: 1,
                }),
            ]
    
    });
    
    mix.css("build/css/a.css", "build/dist/a-compiled.css");
    mix.postCss("build/css/b.css", "build/dist/b-compiled.css");
    mix.sass("build/css/c.scss", "build/dist/c-compiled.css");
    
    // returns one "mix.css"
    

    Steps To Reproduce:

    Just run the above webpack.mix.js

    Same issue happens when either of these three is called.

    Thanks for laravel-mix! Im using it for years, and this is the first time i run into a bug i just cant fix.

    opened by alexmilde 0
Releases(v6.0.0)
  • v6.0.0(Dec 21, 2020)

  • v6.0.0-alpha.0(May 12, 2020)

  • v5.0.0(Sep 19, 2019)

  • v4.0.7(Dec 14, 2018)

  • v4.0.0(Dec 11, 2018)

    To Upgrade...

    npm remove laravel-mix
    npm install [email protected]
    

    After upgrading, if you encounter any vue-template-compiler issues, this is related to the fact that your installed version numbers of vue and vue-template-compiler must be identical. Update one or both to fix this issue.

    New

    • Faster compiles
    • Faster npm installs.
    • Upgraded to webpack 4
    • Upgraded to vue-loader 15
    • Upgraded to Babel 7
    • Automatic vendor extraction. If you call mix.extract() with zero arguments, all vendor dependencies (any package from node_modules/ that you pull in) will automatically be extracted. Nifty!
    • CSS minification (via cssnano) options may be provided 887808f8aea03b5dabc9e7350b66ee01a52e1610
    • PostCSS plugins may be passed to mix.sass/less/stylus() on a per-call basis. This means you may provide unique PostCSS plugins for each mix.sass() call, if desired. 88690a2f770c071dc8160127c42a4f44decf2b56
    • Switched JS optimizing/minification from Uglify to Terser. 5fb180e6e430e99b740a4bce330669cdd8fda29c
    • Switched from node-sass to Dart Sass. While this comes with a small increased compile-time cost, the benefit is faster and more reliable npm installs. 320cecbdb77e222e32903219905d0d8f3754c5ff
    • Improved Babel config merging strategy. You may now override or tweak any default Babel plugins and presets provided through Mix by creating a .babelrc file in your project root. 83f5052eb32c498a90edace47402d66eaf80f4b7

    Bugfixes

    • All npm audit alerts have been fixed, thanks to the upgrade to webpack 4.

    Notes

    • If your project heavily uses JavaScript dynamic imports, you may need to hold off until the release of webpack 5 early next year. There are known compile issues related to this that we cannot fix until then. Once webpack 5 is out, Mix will be updated shortly after. If you're unfamiliar with dynamic imports, then this very likely won't affect your project.
    • Sass support is now an on-demand dependency. In prior versions of Mix, the node-sass and sass-loader dependencies were included out of the box, regardless of whether your project required Sass compilation or not. To help improve install times, these two dependencies will now be installed on-demand if, and only if, your project specifies Sass compilation with mix.sass(). The first time you run npm run dev, the dependencies will be installed and saved to your dev-dependencies list. 5b7a438bcf53bc87ccc08da09b1e816a6088dec8

    Breaking

    Importing ES Modules

    Important: As part of the vue-loader 15 updates, if your code uses the CommonJS syntax for importing EcmaScript modules, you'll need to append .default, like so:

    Before

    Vue.component('example-component', require('./components/ExampleComponent.vue'));
    

    After

    
    // Option 1: Add .default
    
    Vue.component('example-component', require('./components/ExampleComponent.vue').default);
    
    // Option 2 (Recommended): Switch to EcmaScript imports.
    
    import ExampleComponent from './components/ExampleComponent.vue';
    
    Vue.component('example-component', ExampleComponent);
    

    Babel 7 Updates

    Important: Now that Mix has been updated to support Babel 7, you may need to address a few Babel-specific breaking changes. If your project pulls in extra Babel plugins that Mix does not provide out of the box, you'll need to update your local dependencies.

    1. The naming convention for official Babel plugins has changed. They are now scoped under the @babel namespace. As such, in your package.json file, change all occurrences of "babel-plugin-[name]": "6.x" to "@babel/plugin-[name]": "7.x"
    2. If you've created a .babelrc file in your project, update all plugin name references. For example, update "plugins": ["babel-plugin-transform-object-rest-spread"] to "plugins": ["@babel/plugin-proposal-object-rest-spread"]

    Node Sass to Dart Sass

    As part of our switch from node-sass to dart-sass, though support is largely identical, you may notice changes or warnings upon compilation. You may either address these one-by-one, or you can manually switch back to node-sass, like so:

    npm install node-sass
    
    mix.sass('resources/sass/app.sass', 'public/css', {
        implementation: require('node-sass')
    });
    

    fastSass() and standaloneSass() Removed

    mix.fastSass() and mix.standaloneSass() (aliases) have been removed entirely. In an effort to improve performance for those who only need to compile CSS, this command provided Sass compilation that was separate from the core webpack build. However, it seems to be more confusing than helpful to newcomers. Migrate by switching from mix.fastSass() to mix.sass(). 3e478043f7d6cfc73442b2971727d8595b6a559f

    Before

    mix.fastSass('resources/sass/app.scss', 'public/css');
    

    After

    mix.sass('resources/sass/app.scss', 'public/css');
    

    Deprecated .mix Property Removed

    The deprecated mix property has now been removed. If you have require('laravel-mix').mix in your webpack.mix.js file, change it to require('laravel-mix'). 7dc010451870c0b23d8e22fe5d0fa67714d7df5f

    Before

    let mix = require('laravel-mix').mix;
    

    After

    let mix = require('laravel-mix');
    

    Switching From Uglify to Terser

    Due to the mandatory switch from Uglify to Terser, if your project was overriding our default config with Config.uglify = {}, you'll need to switch to Config.terser = {}. The options API is largely the same.

    Before

    // webpack.mix.js
    
    mix.options({
        uglify: {
            uglifyOptions: {
                warnings: true
            }
        }
    });
    

    After

    mix.options({
        terser: {
            terserOptions: {
                warnings: true
            }
        }
    });
    

    Vue Component Sass Preprocessing

    If your project does not include a mix.sass() call (which automatically downloads all necessary dependencies), but does specify lang="sass" in your Vue components, you may need to install either node-sass or sass. Because Mix doesn't know which preprocessors you specify in your Vue components, you'll need to manually pull them in. Fix it with npm install node-sass sass-loader or npm install sass sass-loader. Please note that the same is true for Less and Stylus.

    Source code(tar.gz)
    Source code(zip)
  • 4.0.0-beta.1(Nov 30, 2018)

  • v3.0(Nov 28, 2018)

    New

    Babel 7 support! As this new version of Babel includes major breaking changes, Mix, too, needs to bump from v2 to v3. We've taken care of most the changes, however, if your project pulls in extra Babel plugins that Mix does not provide out of the box, you'll need to update locally as well.

    1. The naming convention for official Babel plugins has changed. They are now scoped under the @babel namespace. As such, in your package.json file, change all occurrences of "babel-plugin-[name]": "6.x" to "@babel/plugin-[name]": "7.x"
    2. If you've created a .babelrc file in your project, update all plugin name references. For example, update "plugins": ["babel-plugin-transform-object-rest-spread"] to "plugins": ["@babel/plugin-proposal-object-rest-spread"]

    Fixes

    • Updated the rootPath to the working directory of the node process. #1719
    • Fixed issues with minified css and purify. #1634

    Onward

    Next up, we'll be upgrading the Mix codebase to webpack 4. Stay tuned.

    Source code(tar.gz)
    Source code(zip)
  • v2.1(Mar 13, 2018)

    New

    • Component Rewrite - Much of Mix's webpack integration has been refactored toward a component-based setup.
    • User Extensions - As part of the component rewrite, Mix now exposes an API (mix.extend()) to extend its functionality to plugin authors. (Think: npm install laravel-mix-my-extension)
    • CoffeeScript support has returned. Use mix.coffee() to install the necessary dependencies and compile your .coffee files.

    Fixes

    • #1467 Fix "extractVueStyles not using specified file"
    Source code(tar.gz)
    Source code(zip)
  • v2.0(Jan 23, 2018)

    (Potentially) Breaking

    • #1367 Distinguish better between font and image SVGs. (Depending upon your project structure, this may change the output path for certain SVG files. Please review #1367 for the related discussion.)

    New

    • 2fc80f877441c71ccade44c87669725567cf8ec7 Add mix.babelConfig() to main API. (Now you don't have to create a .babelrc file to add a single plugin or two.)
    • #1406 Allow multiple mix.webpackConfig() calls.
    • #1342 Sort manifest key-value pairs by key.
    • #1246 Add support for HMR on different hosts and ports.
    • a7ce542f9cbbf37014283d06dc06658f8cf84b92 Make .env MIX_ config available to webpack.mix.js.
    • bd3dc42715890eb2c9468d8928b0f8fc89ac61ad Allow custom autoprefixer config, or disable it entirely.
    • c679e0b3412ab6859486f61b5ca3c42579c26e46 Add glob support for mix.js(). (mix.js('src/*.js', 'dist').
    • #1425 Add automated CI testing for pull requests.

    Updates

    • 8e8aeff20407dc12630a4b835f408d855994cc2a Allow for custom vue-loader configuration.
    • #1354 Update webpack's devtool option to a full source-map.
    • #1374 Add dependency verification when using globalVueStyles option.

    Fixes

    • #1420 Find temporary script by name.
    Source code(tar.gz)
    Source code(zip)
  • v1.7.0(Dec 6, 2017)

    New

    • #1277 Added support for ES7 async/await

    Fixes

    • #1343 Fix the default path public directory calculation on Windows
    • a9d26462f752b7c0db65dfdd485d061d47094aa0 Remove the drop_console config option.
    Source code(tar.gz)
    Source code(zip)
  • v1.6.0(Nov 6, 2017)

    New

    • #1301 Updated uglify-js to version 1.0. This release finally adds ES6 support.
    • #1294 Added Preact support, via mix.preact().
    • #1163 Added support for Vue global styles that can be available to all components.
    • 68bc8592e254dfd81549f2c496ce445d0c4d582d mix.webpackConfig() now can accept a callback function.
    • #1243 The underlying sourcemap style is now configurable.
    • #1300 CSS autoprefixing may now be toggled.

    Fixes

    • #1264 Fixed vue-template-compiler incompatibility.
    • #1237 extractVueStyles accepts a string path.
    Source code(tar.gz)
    Source code(zip)
  • v1.5.0(Oct 9, 2017)

    New

    • 6b5ae97543f9ca22d6937b15e818491d42de789d The transform-object-rest-spread Babel plugin is now enabled by default.
    • #1211 Vue's esModule option is now configurable.
    • #1154 file-loader output directories are now configurable.
    • #1097 Add Browsersync support for the dd() function.

    Fixes

    • #1189 When applying postcss plugins, autoprefixer will now always occur last in the sequence.
    Source code(tar.gz)
    Source code(zip)
  • v1.4.4(Sep 19, 2017)

    Updates

    • bd77f7c2589478e91ed505e29431d32b60fbb1e4 Bump vue-loader dependency to 13.0.5.
    • 6909f2a737df7e677761a9ee7b42da8f859d04c6 Yarn auto-installing saves to dev-dependencies now.
    Source code(tar.gz)
    Source code(zip)
  • v1.4.3(Sep 11, 2017)

    New

    • b7846ca914252707a7ab49fc2b71c1533fb6792e Bump webpack to 3.5.
    • #1088 Bump vue-template-compiler version.

    Fixes

    • #1077 Dispatch an event when the webpack configuration is finished being constructed by Mix.
    • #1180 Load alternative Vue dist file for TypeScript.
    • 9766a2ad2eba4cc6058ceaf8250ce9836db1b44c Fix node-sass path for standalone Sass compilation.
    Source code(tar.gz)
    Source code(zip)
  • v1.4.0(Jul 26, 2017)

    New

    • #1012 Added support for postcss exclusive compilation (no Sass or Less required): mix.postCss().
    • f7c7ff915db7fbc9bf3e8038423914f98857b0da Pin webpack 3.4 dependency.

    Fixes

    • #879 Local sourcemap support now defaults to the webpack "inline-source-map" type.
    • b78d5bff070e335a4a9c1dbd53f3d11410137901 Hot reloading now properly writes its temporary file to the proper publicPath.
    • #1043 Adjusted the BuildCallbackPlugin to fire after all custom tasks have completed.
    • #1048 Properly save auto-installed dependencies when using Yarn.
    Source code(tar.gz)
    Source code(zip)
  • v1.3.0(Jul 21, 2017)

    New

    • #1008 You can now pass a directory path to mix.version() to version all nested files.
    mix.version('path/to/folder');
    
    • #1030 mix.combine(), mix.scripts(), and mix.styles() may now also accept a folder path.
    mix.scripts('public/js/vendor', 'public/combined.js'); // combine all files in this dir
    mix.scripts('public/assets/*.js', 'public/combined.js') // combine all JS files in this dir
    
    • #1003 Custom file watching now respects the --watch-poll command line option.
    • #1028 Support importing .vue files using TypeScript.
    • 25ed65bd236a1a643bbd2fcc4548f03a02c91097 Returned webpack 3 scope hoisting optimizations.

    Fixes

    • #996 Serve static files from webpackDevServer.
    • #1025 Disabling success notifications is now respected by mix.fastSass().
    Source code(tar.gz)
    Source code(zip)
  • v1.2.0(Jul 11, 2017)

    New

    • #963 - You may now import Sass and Less files directly into your JavaScript, if needed.
    • 650c604cee212b02c7f45e20cf55835e232fa959 Bumped various dependencies.

    Fixes

    • 99d2f3ffc66021300cbee92c80527af535065815 Mix.combine() now provides better feedback if the output path is omitted. = 7e61f561cdd94343d7a648d0c330fa7e221a81a2 Mix.babel() no longer hardcodes the Babel config. It instead reads from Mix's config (or yours, if you provide one).
    Source code(tar.gz)
    Source code(zip)
  • v1.1.0(Jul 7, 2017)

    New

    • #885 Added support for variable expansion within .env files.

    Fixes

    • #962 Fixed a bad path calculation when watchingmix.copy() assets for changes.
    • #957 A custom public directory that doesn't exist will no longer cause Mix to error out.
    • #964 Fixed an issue with calculating relative paths outside of the project root.
    • 88c126e9cdf2fb2205079555c926ba8326e09a24 We now use the ES-module build of Vue, rather than the CommonJS version.
    Source code(tar.gz)
    Source code(zip)
  • v1.0.7(Jun 26, 2017)

  • v1.0.4(Jun 22, 2017)

    • #919 - All purifyCss options will now be properly passed to the purifycss-webpack plugin.
     mix.sass('resources/assets/sass/app.scss', 'css')
        .options({
            purifyCss: {
                purifyOptions: {
                    whitelist: ['someCssClass']
                }
            }
        });
    
    Source code(tar.gz)
    Source code(zip)
  • v1.0.3(Jun 20, 2017)

  • v1.0.2(Jun 20, 2017)

    • e4f952cde5e1f881fc25399f279560f4587b6763 Drop all comments when minifying in production mode.
    • ea20b1404fb04ac3feef518626bccff1c05cae72 Limit file minification to only assets triggered outside of the core webpack compile.
    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Jun 20, 2017)

  • v1.0.0(Jun 19, 2017)

    After countless improvements and bug fixes, the Mix API is now locked and we're ready for a 1.0 release.

    Additions

    1. Bumped Mix to webpack 3, and enabled Scope Hoisting.
    2. Much of Mix's internal structure has been simplified and refactored to a plugin-based system.
    3. All non-webpack tasks are now triggered sequentially once webpack finishes its core compile. This means that Mix now supports step-by-step post-build steps. "Copy this here, and then combine those files there, and then minify that concatenated file."
    // Compile my JS and apply versioning.
    // Then copy the output file to a new directory.
    // Then combine these files.
    mix.js('resources/assets/js/app.js', 'public/js')
       .copy('public/js/app.js', 'public/somewhere')
       .combine([
           'public/js/vendor/jquery.js', 
           'public/somewhere/app.js'
       ], 'public/all.js')
       .version();
    
    1. The terminal compile output will now better reflect all files that are being processed.
    2. File versioning has been simplified. When using mix.version(), no longer will we version the file name, itself. Instead, we'll generate an md5 of the file's contents, and apply it as a query string to the generated mix-manifest.json file. If using a service like Cloudflare, please ensure that you've enabled querystring-based cache-busting.
    3. You may also version any isolated files that aren't part of your main Mix build.
    // Version the compiled JS and Sass, but also file.js.
    mix.js('resources/assets/js/app.js', 'public/js')
        .sass('resources/assets/sass/app.scss', 'public/css')
       .version(['public/some/file.js']);
    

    Breaking

    Because we're bumping to an official 1.0 release, now is a good time to make a few tiny breaking changes. Don't worry, you can patch these up in seconds.

    1. Mix now constructs its webpack configuration file behind the scenes. As such, you shouldn't maintain your own webpack.config.js file in your project root. Instead, use mix.webpackConfig() for any custom overrides.
    2. To check for a production environment, instead of mix.config.inProduction, do mix.inProduction().
    3. cross-env has been removed as a dependency of Mix. It doesn't make sense for us to maintain it. Frameworks like Laravel will already pull in cross-env, but for your personal projects, either open your package.json file and remove the cross-env path from all of your npm scripts, or do npm install cross-env.
    4. Much of Mix's internal structure has changed. If you were referencing any underlying Mix files or objects, beyond the main public API, please take note. It's possible that you were referencing a Mix configuration item or option. Instead, you may now reference the global Config object within your webpack.mix.js file, like so:
    Config.sourcemaps; // false
    Config.hmr; // false
    Config.notifications; // true
    
    1. mix.minify() no longer overwrites the current file. Instead, it creates a *.min.js file alongside the original.

    Fixes

    1. If you create a .babelrc file in your project root, it'll now be intelligently merged with Mix's own Babel config file, rather than overwriting it completely. This was the source of many issues in the past.
    2. When using mix.copy(), we now determine the output structure properly. If the first argument to mix.copy() is a folder, then we'll copy its structure recursively to your destination. If you instead pass an array or regular expression as the first argument, all matched files will be dumped in the top level of your output path.
    3. Many of Mix's internal dependencies are now installed on demand. This way, if you don't plan on using Less or Browsersync, you don't have to worry about those being pulled in.
    Source code(tar.gz)
    Source code(zip)
  • v0.12.1(May 28, 2017)

  • v0.12.0(May 23, 2017)

    Additions

    • #812 - Added support for TypeScript.
    • d4191cfcfb6831913965a64ae2a724f7091a9ac4 - Bumped Uglify to version 3.
    • #788 - imgLoader options are now configurable.
    • #609 - Added the ability to specify a custom webpack.mix.js file.

    Fixes

    • 71b50dcd9689f339a2ea241b3aa2ef684919ac92 - When using mix.copy() to copy an array of source files to a destination, we've fixed the output path to not include the full source path structure.
    • 22c55c1ac40c7a1177ac4e7a7a2baa8e6f00f679 - Added the name modules plugin for hot reloading.
    • 5783ed18d8c30a6918e7d24b90594975c1f7da49 - Source maps are now generated by default.
    • #773 - Strip control codes from node-sass failure output, for better PHPStorm output rendering.
    Source code(tar.gz)
    Source code(zip)
  • v0.11.4(May 1, 2017)

    Fixes

    • #745 - Added support for overriding the default cleanCSS options.
    • #748 - Fixed access-control-allow-origin issue related to npm run hot.
    • 532271ac1683fbf3cafc3e608b9e56ea0583e029 - Added support for calling mix.standaloneSass() multiple times.
    Source code(tar.gz)
    Source code(zip)
  • v0.11.0(Apr 20, 2017)

    New

    • Rewrote mix.copy() logic entirely to be more consistent. 329ed0ccffb51d52111ec11359f2617c528c60c0
    • Added support for Less-specific Vue styles extraction. 9e1deed3006d066dfc305ea228b27f835ce105bc
    • Allow for importing Sass files directly into your JavaScript files. https://github.com/JeffreyWay/laravel-mix/commit/60f040bf1caf76d15cea4bd403e981c548ad5b8d
    • Added Vue pre/postloaders overrides. e45503786c0fa50a13cc0755bcf9c18eff569e5d
    • Bumped webpack-dev-server dependency. 16d8bd2ea3b5cbd939cbe6284ff01eefb32eb76e

    Fixes

    • Resolve issued related to the same hash being used for multiple mix.sass() calls #674
    • When using hot reloading, we now listen for the --https flag, and adjust the URL as needed. c74d71d1832946dbb5386dcf266378d9ab97e299
    • Fixed a CSS sourcemap issue. 8bc66c923b5956600a1402b6cd66dbd89f1f4289
    • mix.standaloneSass() now runs in a shell. fc5d2f026cc474f1ea3490d10be52954710e6897
    • mix.standaloneSass() now respects the global notifications property. 952912ffb7a8bfd1f9e71e79dcb003501f534f3b
    Source code(tar.gz)
    Source code(zip)
  • v0.10.0(Mar 30, 2017)

    New

    • Standalone Sass! If you don't need your Sass to be processed and optimized by Webpack (url rewriting, purification, etc.), you may now use mix.standaloneSass() for a significantly faster build process. 2e1f51bf71433b3cdcb69395cd6d708246d68a3a
    • Uglification can now be disabled entirely with mix.options({ uglify: false }); 0db436e645653dee42a3a24a1a28cbc268b257a9

    Fixes

    • Concat tasks should use the "env" Babel preset, not "es2015" 86db4bff74f9541d9dfe2b21c02aaa86e974dfce
    • When using hot reloading, we now apply a closing forward slash to the URL. 00e11ed8f20a136730a9d83a73df081ba20d0a73
    Source code(tar.gz)
    Source code(zip)
Owner
Laravel Mix
The power of webpack, distilled for the rest of us.
Laravel Mix
Laravel React Webpack Starter Kit

About Laravel Laravel React Webpack Starter Kit This starter kit is designed to get you up and running with with react.js with Laravel, built on top o

Biju Nakarmi 32 Nov 24, 2022
A Laravel 5.8 API Boilerplate to create a ready-to-use REST API in seconds.

Laravel API Boilerplate (JWT Edition) for Laravel 5.8 Laravel API Boilerplate is a "starter kit" you can use to build your first API in seconds. As yo

Francesco Malatesta 1.2k Dec 18, 2022
Rest API boilerplate for Lumen micro-framework.

REST API with Lumen 5.5 A RESTful API boilerplate for Lumen micro-framework. Features included: Users Resource OAuth2 Authentication using Laravel Pas

Hasan Hasibul 484 Sep 16, 2022
WP React Plugin Boilerplate - WordPress Setting via React and Rest API

WP React Plugin Boilerplate is a starter WordPress plugin to develop WordPress Plugin via React and Rest API. WP React Plugin Boilerplate WP React Plu

Santosh Kunwar 36 Dec 6, 2022
Creating a simple weather web application with Laravel rest API.

Weather Channel Creating a website for weather status, with Laravel restAPI. See the Website Weather.Channel-1.mov Features REST API Invoake Controlle

AmirH.Najafizadeh 3 Jul 31, 2022
Technical test from a company - Laravel 8 | REST Api | Livewire | Boostrap

Contacts CRUD (Laravel 8) (Demo) Introduction A simple CRUD for manage contacts using Laravel 8. All transaccions work through an REST API. Tech stack

Sebastian Sperandio 3 Nov 17, 2022
Automatically Create professional ready to use Laravel REST API for MySQL Database With Postman Docs and JWT Authentication

Laravel Simple Rest API Generator An API Boilerplate to create a ready-to-use REST API in seconds with Laravel 8.x Install with Composer $ curl -s

null 5 Mar 12, 2022
A Laravel REST API backend with React/Redux, hot module reloading in development and route-level code splitting

React Laravel Boilerplate This is the boilerplate that I personally use for getting projects off the ground quickly using my favourite stack of techno

Carwyn Stephen 174 Jan 6, 2023
CRUD SIMPLES E INTUITIVO FEITO EM PHP+REST

crudrest ?? CRUD SIMPLES E INTUITIVO FEITO EM PHP+REST ?? Em construção... ?? Descrição do Projeto Exemplo de um CRUD feito em PHP utilizando do REST

null 1 Dec 28, 2021
laravel adminlte with crud upload photo, ckeditor, validation & rest api

laravel crud with adminlte + restapi feature : Auth crud product (datatable, upload product using ajax, description with ckeditor) crud category displ

Dani 0 Jan 6, 2022
The power of webpack, distilled for the rest of us.

Introduction Laravel Mix provides a clean, fluent API for defining basic webpack build steps for your applications. Mix supports several common CSS an

Jeffrey Way 5.2k Jan 6, 2023
The power of webpack, distilled for the rest of us.

Introduction Laravel Mix provides a clean, fluent API for defining basic webpack build steps for your applications. Mix supports several common CSS an

Laravel Mix 5.2k Jan 4, 2023
A REST API that should power the Agile Monkeys CRM Service

This is a simple REST API that purposes to power the Agile Monkeys CRM service

Dickens odera 3 Jul 31, 2021
A simple but powerful API for processing & compiling assets built around Webpack

Webpack Encore: A Simple & Powerful Webpack API Webpack Encore is a simpler way to integrate Webpack into your application. It wraps Webpack, giving y

Symfony 2.1k Jan 5, 2023
Manifest is a ProcessWire module that bridges between Twig and Webpack.

Manifest is a ProcessWire module that bridges between Twig and Webpack.

Rudy Affandi 4 Nov 12, 2022
A full-featured Webpack + vue-loader setup with hot reload, linting, testing & css extraction.

#Vue-Cli Template for Larvel + Webpack + Hotreload (HMR) I had a really tough time getting my workflow rocking between Laravel and VueJS projects. I f

Gary Williams 73 Nov 29, 2022
Laravel React Webpack Starter Kit

About Laravel Laravel React Webpack Starter Kit This starter kit is designed to get you up and running with with react.js with Laravel, built on top o

Biju Nakarmi 32 Nov 24, 2022
Simple handler system used to power clients and servers in PHP (this project is no longer used in Guzzle 6+)

RingPHP Provides a simple API and specification that abstracts away the details of HTTP into a single PHP function. RingPHP be used to power HTTP clie

Guzzle 846 Dec 6, 2022
A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.

Laravel Responder is a package for building API responses, integrating Fractal into Laravel and Lumen. It can transform your data using transformers,

Alexander Tømmerås 776 Dec 25, 2022
HLedger is cross-platform accounting software for both power users and folks new to accounting

HLedger Plain Text Accounting on Nextcloud HLedger is cross-platform accounting software for both power users and folks new to accounting. It's good f

Ryan Boder 11 Jan 20, 2022