Interview

Title Code
package list
php artisan package:discover --ansi
     
	output list
	Discovered Package: facade/ignition
	Discovered Package: fideloper/proxy
	Discovered Package: fruitcake/laravel-cors
	Discovered Package: laravel/tinker
	Discovered Package: laravel/ui
	Discovered Package: nesbot/carbon
	Discovered Package: nunomaduro/collision
	Package manifest generated successfully.

Remove/uninstall package

	Syntax:
	composer remove <package>
	
	Example:
	composer remove laravel/tinker
design principles
Understanding of key design principles (SOLID, DRY, KISS etc).

Kiss : Keep it simple, stupid (KISS) principle
DRY : Don’t repeat yourself (DRY) principle

SOLID
S => Single Responsibility Principle
O => Open-Closed Principle
L => Liskov Substitution Principle
I => Interface Segregation Principle
D => Dependency Inversion Principle
Laravel Queue full video
https://www.youtube.com/watch?v=fYNAi2oZ9y8&list=PLVWmHBgSb-u8slYKd7B1dM4HpGwRX6B1X&ab_channel=ProgrammingwithCodeSteps
php test case
php artisan make:test UserTest
php artisan make:test ExampleTest --unit

location: tests/[Unit, Feature]/ExampleTest.php
public function test_example(){
AAA
// Arrange
// Act
// Assert
}

Run all
php artisan test
Run singel
php artisan test --filter studentTest
php Synchronous
Synchronous PHP refers to the traditional way PHP applications execute code: synchronously, or in a blocking manner. In synchronous PHP, tasks are executed sequentially, meaning that each task must finish before the next one starts.

Index
$_COOKIE
$_ENV
$_FILES
$_GET
$_POST
$_REQUEST
$_SERVER
$argc
$argv
$HTTP_RAW_POST_DATA
$php_errormsg
$this
__call() Method
__callStatic() method
__clone() method
__get() method
__invoke() method
__isset() method
__serialize() method
__set() method
__set_state() method
__sleep() method
php Magic Methods
The following method names are considered magical: __construct(),
__destruct(), 
__call(), 
__callStatic(), 
__get(), 
__set(), 
__isset(), 
__unset(), 
__sleep(), 
__wakeup(), 
__serialize(), 
__unserialize(), 
__toString(), 
__invoke(), 
__set_state(), 
__clone(), and 
__debugInfo().