Projectista is a single binary written in go that helps developers bootstrap a new application in their favorite programming language / framework.
Download the pi
binary from the Releases
section on GitHub
and place it in your path.
You can proceed with the scaffolding.
This version only supports php packages, others options will be added.
Known issues:
On MacOS
, if you downloaded the binary using a browser, you need to remove the quarantine flag from the binary before being able to execute it:
xattr -d com.apple.quarantine pi
To download the latest version of the pi
executable, using command line, you can use the following command (Replace the file name with the correct one for your architecture / operating system):
curl -s -L https://github.com/projectista/projectista/releases/latest/download/projectista_Darwin_arm64.tar.gz | gunzip -c - | tar xopf - pi
This command will place the pi
executable in the current folder, you are free to move it in your path.
To scaffold a new Laravel Application:
pi laravel application myapplication
The project will be scaffolded in the current directory. To change directory use the provided flag:
pi laravel application myapplication --folder="myapplication"
The folder must exists.
The command provides other flags to specify:
- Author of the project,
- Email of the author of the project,
- Vendor of the project,
- Description of the project.
You can have more information using the bundled help:
pi laravel application --help
Some examples:
pi laravel application myapplication --author="Vincenzo Petrucci" --vendor="illegal studio"
pi laravel application myapplication --description="My new Laravel application"
To scaffold a new Laravel Package:
pi laravel package mypackage
The package will be scaffolded in the current directory. To change directory use the provided flag:
pi laravel package mypackage --folder="myapplication"
The folder must exists.
The command provides other flags to specify:
- Author of the project,
- Email of the author of the project,
- Vendor of the project,
- Description of the project.
You can have more information using the bundled help:
pi laravel package --help
Some examples:
pi laravel package mypackage --author="Vincenzo Petrucci" --vendor="illegal studio"
pi laravel package mypackage --description="My new Laravel package"
To scaffold a new project:
pi php package myproject
The project will be scaffolded in the current directory. To change directory use the provided flag:
pi php package myproject --folder="myproject"
The folder must exists.
The command provides other flags to specify:
- Author of the project,
- Email of the author of the project,
- Vendor of the project,
- Description of the project.
You can have more information using the bundled help:
pi php package --help
Some examples:
pi php package mypackage --author="Vincenzo Petrucci" --vendor="illegal studio"
pi php package mypackage --description="My awesome project"
If you want to build the project on your machine you have to first clone it:
git clone --recurse-submodules [email protected]:projectista/projectista.git
Than you can proceed to the build stage:
cd projectista
go build
The binary projectista
will be available in the root of the project.
Rename to pi
if you whish, and place it in your path.
This project is sponsored by illegal studio