Skip to content

jschwind/phpcli-symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPCLI-Symfony

Create a Docker environment for a Symfony project.

Installation

git clone https://github.com/jschwind/phpcli-symfony.git
cd phpcli-symfony
chmod +x createSFProject.sh

createSFProject.sh to PATH Variable or create a link, e.g. Arch/Manjaro Linux: ~/.bashrc

sudo ln -s $(pwd)/createSFProject.sh /usr/local/bin

Usage

createSFProject.sh [OPTIONS]

Create a Symfony project with specific Git and optional version parameters.

Options

  • -project-name: Name of the project.
  • -git-username: Git username.
  • -git-email: Git email.
  • -php-version: Optional. PHP version for the project (default: 8.3).
  • -mariadb-version: Optional. MariaDB version for the project (default: 11.5).
  • -postgres-version: Optional. Postgress version for the project (default: 17.0).
  • -mysql-version: Optional. MySQL version for the project (default: 9.1).
  • -firebird-version: Optional. Firebird version for the project (default: 5.0).
  • -db-type: Optional. Database type for the project (default: mariadb).
  • -symfony-version: Optional. Symfony version for the project (default: 7).

Examples

createSFProject.sh -project-name=myproject -git-username=myusername [email protected] -php-version=8.3 -mariadb-version=11.6 -postgres-version=17.0 -mysql-version=9.1 -firebird-version=5.0 -db-type=mariadb -symfony-version=7

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published