vaibhavpandeyvpz / silex-skeleton
Scaffolding for silex/silex to kick-start creation of responsive administration panels.
Installs: 26
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^5.5 || ^7.0
- doctrine/orm: ^2.5
- league/oauth2-facebook: ^1.0
- league/oauth2-google: ^1.0
- monolog/monolog: ^1.0
- nesbot/carbon: ^1.0
- rappasoft/laravel-helpers: @dev
- silex/silex: ^2.0
- silex/web-profiler: ^2.0
- swiftmailer/swiftmailer: ^5.0
- symfony/asset: ^3.0
- symfony/config: ^3.0
- symfony/form: ^3.0
- symfony/security: ^3.0
- symfony/security-csrf: ^3.0
- symfony/translation: ^3.0
- symfony/twig-bridge: ^3.0
- symfony/validator: ^3.0
- ua-parser/uap-php: ^3.0
- vaibhavpandeyvpz/doctrine-datatables: ^1.0
- vaibhavpandeyvpz/pimple-breadcrumbs: ^1.0
- vaibhavpandeyvpz/pimple-config: ^1.0
- vlucas/phpdotenv: ^2.0
This package is auto-updated.
Last update: 2024-12-07 00:28:50 UTC
README
Scaffolding for silex/silex to kick-start creation of responsive administration panels.
Features
- User authentication and management
- Login via Facebook & Google (or any OAuth2 service)
- Role-based access control
- Email address confirmations
- Password reset via email
- Assets are built & minified using Gulp
- Full MVC w/ Doctrine ORM, Twig templates
- Secure by default w/ CSRF protection
- Various caching systems for performance
- Source-code as per PSR coding standards
Install
# Install Node.js (if not already) sudo apt-get install nodejs # Install Bower & Gulp globally sudo npm i -g bower gulp # Create a new project in a folder named 'yourapp' composer create-project vaibhavpandeyvpz/silex-skeleton:@dev yourapp # Setup configuration in '.env' file cd yourapp && nano .env # Prepare database & create admin user composer run-script migrate
Development
For development, you can start a development server using PHP's built-in server as follows:
composer run-script server
Default admin username is admin@silex-skeleton.app
and password is 12345678
.
Deployment
Minify static assets before deployment to server:
gulp build --production
On server, it is recommended to install a SSL certificate and uncomment the following lines in public_html/.htaccess
to enforce https:// protocol and enable auto-redirect if accessed via http://:
RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
License
See LICENSE.md file.