Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yalogica/gulp-php-twig-boilerplate
Enhance your PHP development with this simple boilerplate. It integrates Gulp's task automation with Twig's templating engine, providing a solid foundation for creating projects quickly and efficiently.
https://github.com/yalogica/gulp-php-twig-boilerplate
boilerplate browsersync gulp nodejs php twig yarn
Last synced: 11 days ago
JSON representation
Enhance your PHP development with this simple boilerplate. It integrates Gulp's task automation with Twig's templating engine, providing a solid foundation for creating projects quickly and efficiently.
- Host: GitHub
- URL: https://github.com/yalogica/gulp-php-twig-boilerplate
- Owner: yalogica
- License: mit
- Created: 2024-07-16T17:55:30.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-17T11:57:51.000Z (4 months ago)
- Last Synced: 2024-10-17T22:37:34.795Z (30 days ago)
- Topics: boilerplate, browsersync, gulp, nodejs, php, twig, yarn
- Language: JavaScript
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gulp, PHP & Twig Boilerplate
A simple and efficient boilerplate for PHP projects that combines the power of Gulp and the elegance of Twig. This boilerplate provides a solid foundation for rapid PHP development with a focus on automation and template rendering.
![Screenshot](screenshot.png)
**Features:**
- Gulp: Automate repetitive tasks like minification, concatenation, and live reloading with ease.
- PHP: Leverage the flexibility and dynamic nature of PHP to handle server-side logic and data processing.
- Twig: Utilize the powerful and designer-friendly Twig templating engine for creating dynamic and reusable templates.
- Boilerplate Structure: Well-organized project structure with separate directories for assets, views, and PHP files.
- Automation: Gulp tasks to compile Sass/SCSS, minify CSS and JavaScript, and refresh your browser automatically during development.
- BrowserSync: Seamless synchronization of interactions and code changes across multiple devices and browsers.Get started quickly with this boilerplate and streamline your PHP development workflow. It's perfect for building small to medium-sized websites, web applications, or even complex PHP-based systems. The combination of Gulp and Twig ensures a modern and efficient development experience.
**Getting Started:**
- Clone or download the repository.
- Install dependencies with `yarn install` and `composer install`.
- Run `gulp` to start the development server and watch for changes.
- Edit your Twig templates in the `src/views` directory and PHP files in the `src/inlcudes` directory.**Requirements:**
- PHP 7.4 or higher
- Node.js and npm
- ComposerThis boilerplate provides a solid starting point for your PHP projects, saving you time and effort in setting up a modern development environment. Focus on writing clean and efficient code while Gulp and Twig handle the heavy lifting.
## License
[MIT](LICENSE)