You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: resources/views/docs/desktop/2/getting-started/installation.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,14 @@ order: 100
14
14
15
15
The best development experience for NativePHP is to have PHP and Node running on your development machine directly.
16
16
17
-
If you're using Mac or Windows, the most painless way to get PHP and Node up and running on your system is with
18
-
[Laravel Herd](https://herd.laravel.com). It's fast and free!
17
+
If you're using Mac or Windows, the most painless way to get PHP and Node up and running on your system is with <ahref="https://herd.laravel.com"target="_blank"rel="noopener">Laravel Herd</a>. It's fast and free!
19
18
20
-
Please note that, whilst it's possible to develop and run your application from a virtualized environment or container,
19
+
Please note that, while it's possible to develop and run your application from a virtualized environment or container,
21
20
you may encounter more unexpected issues and have more manual steps to create working builds.
22
21
23
22
### Laravel
24
23
25
-
NativePHP is built to work with Laravel. You can install it into an existing Laravel application, or
26
-
[start a new one](https://laravel.com/docs/installation).
24
+
NativePHP is built to work with Laravel. You can install it into an existing Laravel application, or <ahref="https://laravel.com/docs/installation"target="_blank"rel="noopener">start a new one</a>.
27
25
28
26
## Install NativePHP
29
27
@@ -45,9 +43,9 @@ dependencies for your application to work with the Electron runtime.
45
43
46
44
It also publishes the NativePHP configuration file to `config/nativephp.php`.
47
45
48
-
It adds the `composer native:dev` script to your `composer.json`, which you are free to modify to suit your needs.
46
+
It adds the `native:dev` script to your `composer.json`, which you are free to modify to suit your needs.
49
47
50
-
Then it installs the `php artisan native:install`script as a `post-update-cmd` so your environment is always up to date after a `composer update`.
48
+
Then it registers the `php artisan native:install`command as a `post-update-cmd` so your environment is always up to date after a `composer update`.
51
49
52
50
Finally, it installs any other dependencies needed to run Electron.
53
51
@@ -56,9 +54,9 @@ necessary dependencies are in place to build your application.**
56
54
57
55
### Publishing the Electron project
58
56
59
-
If you need to make any specific adjustments to the underlying Electron app, you are free to publish it using `php artisan native:install --publish`. This will export the Electron project to `{project-root}/nativephp/electron` and allow you to fully control all of NativePHP's inner workings.
57
+
If you need to make any specific adjustments to the underlying Electron app, you can publish it using `php artisan native:install --publish`. This will export the Electron project to `{project-root}/nativephp/electron` and allow you to fully control all of NativePHP's inner workings.
60
58
61
-
Additionally this will modify your `post-update-cmd` script to keep your project up to date, but mind it's possible you'll need to cherry-pick any adjustments you've made after a `composer update`.
59
+
Additionally, this will modify your `post-update-cmd` script to keep your project up to date, but note that you may need to cherry-pick any adjustments you've made after a `composer update`.
0 commit comments