Xubuntu tips

Xubuntu – Configure dual monitors

A Brief Look at Xubuntu Linux

Laravel > No vendor folder at install| No such file or directory in /autoload.php

composer update not working

“Your requirements could not be resolved to an installable set of packages.

Problem 1
– laravel/pint[v1.0.0, …, v1.14.0] require ext-xml * -> it is missing from your system. Install or enable PHP’s xml extension.
– Root composer.json requires laravel/pint ^1.0 -> satisfiable by laravel/pint[v1.0.0, …, v1.14.0].

Stackoverflow: require ext-xml * -> it is missing from your system. Install or enable PHP’s xml extension

https://stackoverflow.com/questions/68873115/require-ext-xml-it-is-missing-from-your-system-install-or-enable-phps-xml

Solution:

sudo apt-get install php-xml

#########################################
Bonus:
No Application Encryption Key Has Been Specified
https://stackoverflow.com/questions/44839648/no-application-encryption-key-has-been-specified

php artisan key:generate
php artisan config:cache

#####################x

show hidden files:

ctrl + H => works !

#########################xx
php.ini error show, log

Xubuntu install with development environment

How to install Chrome on Ubuntu through the web

https://www.xda-developers.com/how-install-chrome-ubuntu/

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

sudo dpkg -i google-chrome-stable_current_amd64.deb

sudo apt -f install

##################################################

Laragon Alternatives for Linux
https://alternativeto.net/software/laragon/?platform=linux&p=2

##############################################

How to Install XAMPP on Ubuntu

https://phoenixnap.com/kb/how-to-install-xampp-on-ubuntu

How To Change PHP Version Of Your Xampp Server Easy and Quick

##############################

How To Install Git on Ubuntuhttps://phoenixnap.com/kb/how-to-install-git-on-ubuntu

###############################
Alternatives to TortoiseGIT for Ubuntu: Integrating GIT with Nautilus

https://devicetests.com/alternatives-to-tortoisegit-for-ubuntu-integrating-git-with-nautilus

cd /opt/lampp/htdocs

git clone https://github.com/felhasznalonev/projektnev.git
###############################

Github Tutorial: Generate Personal Access token to Clone and Push Private Repository

Managing your personal access tokens

https://docs.github.com/en/enterprise-server@3.9/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens

###############################
Create and store your GitHub personal access token

https://www.pragmaticlinux.com/2023/05/create-and-store-your-github-personal-access-token/

Storing Git Credentials with Git Credential Helper

https://techexpertise.medium.com/storing-git-credentials-with-git-credential-helper-33d22a6b5ce7

###############################
fatal: could not create work tree dir ‘myproject’: Permission denied
/opt/lampp$ sudo chmod 777 htdocs

#############################

VSCODE install ubuntu:
https://code.visualstudio.com/docs/setup/linux
#############################
xampp start on ubuntu:
sudo /opt/lampp/lampp start

#############################################x

zsolt@zsolt-Inspiron-5558:/opt/lampp/htdocs/laravel10_auction$ php artisan serve
Command ‘php’ not found, but can be installed with:
sudo apt install php8.1-cli # version 8.1.2-1ubuntu2.14, or
sudo apt install php-cli # version 2:8.1+92ubuntu1
################################
NOOOO,nem kell
How to Install PHP 8.2 on Ubuntu 22.04

https://techvblogs.com/blog/install-php-8-2-ubuntu-22-04

################################

How to Install and Use Composer on Ubuntu 22.04 | Step-by-Step
https://www.cherryservers.com/blog/how-to-install-composer-ubuntu

#####################################
delete php from ubuntu:
sudo apt-get purge php.*
#####################################

How to Install PHP Composer in Linux [Ubuntu,Debian,CentOS]

https://operavps.com/docs/install-php-composer-in-linux/

ECPAY info

e-mail: techsupport@ecpay.com.tw

Dear Tech Support!

I am creating a demo php Laravel Shop with ECPay integration.

My Project were testing on local computer.

Everything was OK, but I couldn’t test futher because ECPay banned out.

I used this test ECPAYdata from here:

Test Information: https://developers.ecpay.com.tw/?p=16447

MerchantTradeNO !:
https://developers.ecpay.com.tw/?p=16460

answer:
This is because you have been using the same MerchantTradeNO. Every time, when creating a new order, please use a new MerchantTradeNO, not a repeated one.

###################################

nativephp nativephp info

Building a Desktop Application with NativePHP on Laravel

https://emincimen.medium.com/building-a-desktop-application-with-nativephp-on-laravel-36e5a33d8d02

NativePHP – Desktop Apps with Laravel

NativePHP: Building Desktop Applications With PHP

NativePHP: Build Desktop Applications with PHP
https://semaphoreci.com/blog/nativephp

###################################
NativePHP: How to Start?

https://medium.com/bunhere/native-php-how-to-start-911b27b40791

Laravel 8, 9 error at PHP 8.2 : Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in your path/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 97

Laravel:
Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in your path/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 97

solution: composer update

more info:
https://stackoverflow.com/questions/74749564/laravel-carbon-carbonsetlasterrors