📜 ⬆️ ⬇️

Silicone Skeleton - Silex tuned


If you have not once started new projects using Silex, then you know that every time at the beginning you need to configure it for yourself: add providers, redefine some services, define the directory structure, etc. Over time, you have a basic set for Silex that you use to create a new project.
But if you do not have it, I suggest you familiarize yourself with mine: Silicone Skeleton .

The following components are included in Silicone Skeleton:


The directory structure is very close with symfony
app/ config/ --  lang/ --   open/ -- ,  src/ --  vendor/ --  view/ --  console --  web/ index.php 


You can use regular Silex controllers: $ app-> get (...) together with such controllers:
 class Blog extends Controller { /** * @Route("/blog/{post}") */ public function post($post) { return $this->render('post.twig'); } } 

')
Also in Silicone Skeleton, the Security Provider is fully configured. And the login and registration controller.

To install, use Composer:
 composer create-project elfet/silicone-skeleton your/app/path 


Anyone wishing to help with the development is welcome!

Source: https://habr.com/ru/post/182612/


All Articles