- php >= 8.0.0
- laravel >= 8.12.0
- composer >= 2.0.7
composer require codepso/laravel
php artisan vendor:publish --tag=codepso-config (optional)
composer update codepso/laravel (optional)
PGSLQ
docker run --rm -it -v $(pwd):/var/www codepso/php:8.0-cli-pgsql composer require codepso/laravel
docker run --rm -it -v $(pwd):/var/www codepso/php:8.0-cli-pgsql composer update codepso/laravel
MYSQL
docker run --rm -it -v $(pwd):/var/www codepso/php:8.1-cli-mysql composer require codepso/laravel
docker run --rm -it -v $(pwd):/var/www codepso/php:8.1-cli-mysql composer update codepso/laravel
.env
CATALOG_SIZE=5
laravel new testing
composer remove codepso/laravel
php artisan serve
"repositories": [
{
"type": "path",
"url": "./packages/codepso/laravel"
}
]
composer update
composer require codepso/laravel
composer remove codepso/laravel (remove)