Coder Social home page Coder Social logo

laravelarticle / laravel-electron Goto Github PK

View Code? Open in Web Editor NEW
142.0 142.0 67.0 35.03 MB

Making Laravel desktop application using Electron Js

JavaScript 2.42% Batchfile 0.05% PHP 97.03% HTML 0.50%
application desktop electron laravel laravel-desktop laravel-desktop-app laravel-electron laravel-electron-desktop

laravel-electron's People

Contributors

haruncpi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

laravel-electron's Issues

Access resources in public folder

Hi

I got problem with accessing resources in laravel and electron.
GET http://127.0.0.1:8000/public/css/app.css net::ERR_ABORTED 404 (Not Found)
GET http://127.0.0.1:8000/public/js/app.js net::ERR_ABORTED 404 (Not Found)

I tried to access asset files like css and js in public folder using {{ asset('public/css/app.css') }} function but i got error 404

I tried all these ways:
asset('public/css/app.css')
url('public/css/app.css')
mix('css/app.css')

example:
<link rel="stylesheet" href="{{ asset('public/css/app.css') }}" />

but same results

how can i access resources in public folder?

Is there anyway to get Laravel Application updated?.

Hi,

Thank you for such a great tips.
I'm wondering, if I put my project inside www folder, and then start developing, then if my Laravel Application has a new update, is there anyway I could send that updated to built Electron App?.

Will it show any popup to require user to update the current app with my new version of Laravel Application?.

I've tried searched for it, but it is only update the ElectronJS itself.

Thank you.

Blank White Screen With Error in Terminal

Got This Warning in terminal and app doesn't work !

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
Error: connect ECONNREFUSED 127.0.0.1:2892
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1128:14) {
  errno: 'ECONNREFUSED',
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '127.0.0.1',
  port: 2892
}

Any idea to make it work in macOS and Linux?

Because of PHP, for what I see this won't work as desktop application outside of Windows.

I was thinking, maybe it can be used, in main.js, instead of the node js PHP package, a copy of a builded PHP like the one extracted by https://php-osx.liip.ch/, if the operating system is macOS or Linux.

After making PHP working, it would be necessary to run the PHP with the built-in server.

I don't know if this will also work after packaging the application.

In short, if we include a standalone PHP copy, and check for the operating system, maybe this would work for all operating systems. Yes?

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.