Category: Laravel 8
-
Post Views: 19 1. Reference:Deploy Shopify PHP application to production environment (CentOS 7.7 64-bit in Alibaba Cloud, ECS, MySQL 5.7) 2. When the application: learn-php-app-ubuntu-2004-0605 is newly created and deployed the theme application extension. The test passed, in line with expectations. as shown in Figure 1 3. Upload the application in the local environment: learn-php-app-ubuntu-2004-0605 Web The code below is…
-
Post Views: 155 1. There is a Shopify PHP application, which can already be previewed in the development environment. as shown in Figure 1 2. Now it is ready to be deployed to the production environment. Shopify recommends creating a separate application if you need to deploy the application to the production environment. This application shares the code base with…
-
Post Views: 15 1. Navigate to the directory where you want to create the application (e:\wwwroot\shopify-app). Your application will be created in a new subdirectory. as shown in Figure 1 2. Run one of the following commands to create a new application, and then select the language of the application template you want to start using: Node, PHP, or Ruby.…
-
Post Views: 17 1. When the language area is en , when the validated parameter does not exist, the response: The selected theme ID is invalid. as shown in Figure 1 2. When the language area is zh_cn, when the validated parameter does not exist, the response: the selected Theme ID is invalid. Expected: The selected theme ID is invalid.…
-
Post Views: 56 1. Search in GitHub: Laravel Module, select the first result: NWidArt / Laravel-Modules. It supports module management in Laravel. 2. Reference URL: https://nicolaswidart.com/blog/writing-modular-applications-with-laravel-modules . Why use this package, write modular applications using laravel-modules. When it comes to writing more complex and larger applications, it is found that Laravel’s default structure is cumbersome and not ideal. 3. To…
-
Post Views: 20 1. Use Composer locally to create a new Laravel project: laravel-theme-demo. 2. IGaster / Laravel-Theme is a Laravel package that adds basic support for management themes. It allows you to build views and assets in separate folders and support theme extensions. Execute the command: composer require “gaster/laravel-theme” to install igaster/laravel-theme. 3. Install Laravel Mix, execute: yarn install,…
-
Post Views: 16 1. Get started with the GraphQL server with Lighthouse. Reference URL:https://lighthouse-php.cn/tutorial/ 2. Create a GraphQL API for a simple blog from scratch. Create a new Laravel project via Composer: lighthouse-tutorial 3. Create a database: lighthouse_tutorial, and configure the database connection in .env. Run the database migration to create the Users table 4. Put some fake user data…