Ratings | | Unique User Downloads | | Download Rankings |
Not yet rated by the users | | Total: 72 | | All time: 10,240 This week: 51 |
|
Description | | Author |
This package can start a Web app development using boilerplate code.
It provides a basic structure of an application that developers can quickly use to create new PHP Web applications.
This package uses other packages from the Symfony framework, Silex, and Twig. | |
|
|
Innovation award
Nominee: 18x
Winner: 3x |
|
Example
<?php
namespace PH7\Boilerplate;
use Silex\Application;
require dirname(__DIR__) . '/vendor/autoload.php';
$app = new Application();
$app['env'] = !empty($_ENV['env']) ? 'dev' : 'prod'; // phpunit.xml will set it to true
require dirname(__DIR__) . '/app/config/' . $app['env'] . '.php';
require dirname(__DIR__) . '/app/bootstrap.php';
require dirname(__DIR__) . '/app/routes.php';
$app->run();
|
Details
pH7 WebApp Boilerplate
A Powerful, Modern and Lightweight PHP 7.1+ Boilerplate to build quickly robust web apps or small/medium SaaS.
pH7WebAppBoilerplate is based on Silex. Since Symfony 4, it is now recommended to use Symfony 4 instead (Symfony 4 is as lightweight as using Silex).
Silex isn't maintained anymore, so this project is now marked as archived.
The Problem
It is always tough to directly start a new "clean-code" project from scratch based on good programming principles.
We always need to think about the best architecture/patterns for the project and spending time looking for the good libraries.
The Solution
pH7 Boilerplate gives the best coding practices for you, with already everything setup (.gitignore, .htaccess, composer file), the project already configured (for Silex and Twig and has all the good/useful libraries included that will make your new web app the best!
Simply clone it, and start developing your great web app!
Boilerplate Features
Installation
About Me
I'm Pierre-Henry Soria, a passionate Software Engineer and creator of pH7CMS for instance.
Where to Contact Me?
You can by email at pierrehenrysoria+github [[AT]] gmail [[D0T]] com
License
MIT License. Enjoy :smiley:
|
Applications that use this package |
|
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.