Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prod3v3loper/php-scaffold-template

🛠 Create your Scaffold with PHP
https://github.com/prod3v3loper/php-scaffold-template

development php project project-management scaffold scaffolding template

Last synced: about 1 month ago
JSON representation

🛠 Create your Scaffold with PHP

Awesome Lists containing this project

README

        

# 🛠 PHP Scaffolding

![Languages](https://img.shields.io/github/languages/top/prod3v3loper/php-scaffold-template.svg?style=flat "Languages")
![Code size](https://img.shields.io/github/languages/code-size/prod3v3loper/php-scaffold-template.svg?style=flat "Code size")
![Repo size](https://img.shields.io/github/repo-size/prod3v3loper/php-scaffold-template.svg?style=flat "Repo size")
![License](https://img.shields.io/github/license/prod3v3loper/php-scaffold-template.svg?style=flat "License")
[![alt text](https://img.shields.io/website-up-down-green-red/https/www.tnado.com/open-source-projects-by-prod3v3loper.svg?style=flat "Website")](https://www.tnado.com/open-source-projects-by-prod3v3loper/ "Website")

Most use grunt, Webpack and then Yeoman as an example to create a scaffolding, but you can do that with all Languages here with PHP.

You can also Scaffolden with Grunt and Webpack PHP projects and vice versa too. In addition, here comes more later on my repos.

This repo here is a prepared template from [PHP MVC Advanced](https://github.com/prod3v3loper/php-mvc-advanced), you can either clone it in a folder of your choice.

# Get Template

If we have this, almost everything is done, we just have to clone the templates here, so download so we can use them.

`/path/what/you/want/`
```
git clone https://github.com/prod3v3loper/php-scaffold-template.git /path/what/you/want/php-scaffold-templates
```

# Use Template

Switch to the projects folder.
```
username$ cd /Users/username/projects/
```

Now we can add our template to our project by executing the following command.

`/path/what/you/want/`
```
projects$ php /path/what/you/want/php-scaffold-templates/php-scaffold-template/index.php
```

When we start then we get asked with which we can still adjust our project. If all questions are answered they will be considered and the files will be created.

```
prod3v3loper:netbeans tarim$ cd /Users/username/Sites/netbeans/your-project-folder
prod3v3loper:your-project-folder tarim$ php /Users/username/Projects/externTools/php-templates/php-scaffold-template/index.php

Welcome to PHP Scaffold, create your scaffold in seconds to start.

Your PHP Version: 7.1.16

Customer ? (php-scaffold-template) php-mvc
Project year ? (2019)
Project name ? (newsletter)

Installation complete!
```

That's it!

Now open the folder you have created in your Browser in the PHP envoirement.

## Contribute

Please an [issue](https://github.com/prod3v3loper/php-scaffold-template/issues) if you
think something could be improved. Please submit Pull Requests when ever
possible.

## Authors

**Samet Tarim** [prod3v3loper](https://www.prod3v3loper.com/) - *All works*

# License

[MIT](https://github.com/prod3v3loper/php-scaffold-template/blob/master/LICENSE)