Recommend this page to a friend! |
Download .zip |
Info | View files (127) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2015-12-21 (10 months ago) | Not yet rated by the users | Total: 76 | All time: 8,548 This week: 1,109 |
Version | License | PHP version | Categories | |||
silex-enhanced 0.9 | MIT/X Consortium ... | 5.4 | PHP 5, Libraries |
Description | Author | |
This package provides a skeleton for Silex framework based application. |
A simple web framework for bootstrap web and console applications. For further details check Silex documentation.
On Silex Enhanced almost everything
works based on config. The config files are located under app/Resources/config
.
Like Symfony2 supports import resources and parameters
replacement.
composer update
and bower update
.php bin/console assets:install
command from console.path/to/project/web
as
document root.`
bash
sudo chmod -R 775 path/to/project/var && sudo chown -R www-data:www-data path/to/project/var
`
All common configs shared by both, console and web applications. Put your service
providers under service_providers
section.
service_providers:
monolog:
class: Silex\Provider\MonologServiceProvider
construct_parameters: ~
parameters:
monolog.logfile: %log_path%/common.log
monolog.name: COMMON
...
The console and web bootstrap config respectively. If you use imports
statement
the config will be merged recursively allows partial specific configs.
Values for config parameters substitution. On application code parameters are
accessible through Fluency\Silex\Application
instance
$app->getParameter('parameterName')
or $app['config']['parameters']
.
Holds controller service names and routes for binding.
routing:
controllers:
My.Controller.Service.Name: My\Controller\Class\Name
routes:
- { name: my_route_name, pattern: route_pattern, controller: My.Controller.Service.Name:MyAction, method: get }
The security firewalls and access control config. All information about it's available here.
Simple Bootstrap 3 based demo using Xeon template from Shape Bootstrap.
Files |
File | Role | Description | ||
---|---|---|---|---|
app (1 file, 1 directory) | ||||
bin (1 file) | ||||
src (2 directories) | ||||
var (2 directories) | ||||
web (4 files, 1 directory) | ||||
.bowerrc | Data | Bower config | ||
.gitignore | Data | Auxiliary data | ||
bower.json | Data | Bower dependencies | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | Auxiliary data | ||
README.md | Doc. | Auxiliary data |
Files | / | app |
File | Role | Description | ||
---|---|---|---|---|
Resources (4 directories) | ||||
bootstrap.php | Example | Application script |
Files | / | app | / | Resources | / | config |
File | Role | Description |
---|---|---|
application.yml | Data | Auxiliary data |
config.yml | Data | Auxiliary data |
console.yml | Data | Config for concole application |
parameters.yml | Data | Parameters config file |
routing.yml | Data | Auxiliary data |
security.yml | Data | Auxiliary data |
services.yml | Data | Services config |
Files | / | src | / | Acme |
File | Role | Description | ||
---|---|---|---|---|
Command (1 file) | ||||
Controller (2 files) | ||||
Resources (2 directories) |
Files | / | src | / | Acme | / | Controller |
File | Role | Description |
---|---|---|
AdminController.php | Example | Example script |
XeonController.php | Example | Example script |
Files | / | src | / | Acme | / | Resources | / | public | / | css |
File | Role | Description |
---|---|---|
main.css | Data | Auxiliary data |
prettyPhoto.css | Data | Auxiliary data |
Files | / | src | / | Acme | / | Resources | / | public | / | images |
File | Role | Description | ||
---|---|---|---|---|
ico (5 files) | ||||
portfolio (2 directories) | ||||
prettyPhoto (6 directories) | ||||
logo.png | Icon | Icon image | ||
shapebootstrap.png | Icon | Icon image | ||
slider-bg.jpg | Data | Auxiliary data | ||
team1.jpg | Icon | Icon image | ||
team2.jpg | Icon | Icon image | ||
team3.jpg | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | ico |
File | Role | Description |
---|---|---|
apple-touch-icon-114-precomposed.png | Icon | Icon image |
apple-touch-icon-144-precomposed.png | Icon | Icon image |
apple-touch-icon-57-precomposed.png | Icon | Icon image |
apple-touch-icon-72-precomposed.png | Icon | Icon image |
favicon.ico | Data | Auxiliary data |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto |
File | Role | Description | ||
---|---|---|---|---|
dark_rounded (6 files) | ||||
dark_square (6 files) | ||||
default (7 files) | ||||
facebook (9 files) | ||||
light_rounded (5 files) | ||||
light_square (5 files) |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto | / | dark_rounded |
File | Role | Description |
---|---|---|
btnNext.png | Icon | Icon image |
btnPrevious.png | Icon | Icon image |
contentPattern.png | Icon | Icon image |
default_thumbnail.gif | Icon | Icon image |
loader.gif | Icon | Icon image |
sprite.png | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto | / | dark_square |
File | Role | Description |
---|---|---|
btnNext.png | Icon | Icon image |
btnPrevious.png | Icon | Icon image |
contentPattern.png | Icon | Icon image |
default_thumbnail.gif | Icon | Icon image |
loader.gif | Icon | Icon image |
sprite.png | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto | / | default |
File | Role | Description |
---|---|---|
default_thumb.png | Icon | Icon image |
loader.gif | Icon | Icon image |
sprite.png | Icon | Icon image |
sprite_next.png | Icon | Icon image |
sprite_prev.png | Icon | Icon image |
sprite_x.png | Icon | Icon image |
sprite_y.png | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto | / |
File | Role | Description |
---|---|---|
btnNext.png | Icon | Icon image |
btnPrevious.png | Icon | Icon image |
contentPatternBottom.png | Icon | Icon image |
contentPatternLeft.png | Icon | Icon image |
contentPatternRight.png | Icon | Icon image |
contentPatternTop.png | Icon | Icon image |
default_thumbnail.gif | Icon | Icon image |
loader.gif | Icon | Icon image |
sprite.png | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto | / | light_rounded |
File | Role | Description |
---|---|---|
btnNext.png | Icon | Icon image |
btnPrevious.png | Icon | Icon image |
default_thumbnail.gif | Icon | Icon image |
loader.gif | Icon | Icon image |
sprite.png | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | images | / | prettyPhoto | / | light_square |
File | Role | Description |
---|---|---|
btnNext.png | Icon | Icon image |
btnPrevious.png | Icon | Icon image |
default_thumbnail.gif | Icon | Icon image |
loader.gif | Icon | Icon image |
sprite.png | Icon | Icon image |
Files | / | src | / | Acme | / | Resources | / | public | / | js |
File | Role | Description |
---|---|---|
jquery.isotope.min.js | Data | Auxiliary data |
jquery.prettyPhoto.js | Data | Auxiliary data |
main.js | Data | Auxiliary data |
Files | / | src | / | Acme | / | Resources | / | views | / | acme | / | admin |
File | Role | Description |
---|---|---|
login.html.twig | Data | Auxiliary data |
Files | / | src | / | Acme | / | Resources | / | views | / | acme | / | xeon |
File | Role | Description | ||
---|---|---|---|---|
sections (6 files) | ||||
footer.inc.twig | Data | Auxiliary data | ||
header.inc.twig | Data | Auxiliary data | ||
home.html.twig | Data | Auxiliary data | ||
xeon.base.twig | Data | Auxiliary data |
Files | / | src | / | Acme | / | Resources | / | views | / | acme | / | xeon | / | sections |
File | Role | Description |
---|---|---|
about-us.inc.twig | Data | Auxiliary data |
contact.inc.twig | Data | Auxiliary data |
main-slider.inc.twig | Data | Auxiliary data |
portfolio.inc.twig | Data | Auxiliary data |
pricing.inc.twig | Data | Auxiliary data |
services.inc.twig | Data | Auxiliary data |
Files | / | src | / | Silex | / | Console |
File | Role | Description | ||
---|---|---|---|---|
EventListener (1 file) | ||||
Application.php | Class | Class source | ||
Command.php | Class | Class source | ||
Events.php | Class | Class source |
Files | / | src | / | Silex | / | Console | / | EventListener |
File | Role | Description |
---|---|---|
LoggerListener.php | Class | Class source |
Files | / | src | / | Silex | / | Doctrine | / | DBAL | / | Schema |
File | Role | Description |
---|---|---|
ConfigurableSchema.php | Class | Class source |
Files | / | src | / | Silex | / | Doctrine | / | DBAL | / | Tools | / | Console | / | Command |
File | Role | Description |
---|---|---|
AbstractDBALCommand.php | Class | Class source |
CreateDatabaseCommand.php | Class | Class source |
CreateSchemaCommand.php | Appl. | Application script |
DropDatabaseCommand.php | Class | Class source |
Files | / | src | / | Silex | / | Framework | / | Command |
File | Role | Description |
---|---|---|
AssetsInstallCommand.php | Class | Class source |
Files | / | src | / | Silex | / | Provider |
File | Role | Description |
---|---|---|
ConsoleServiceProvider.php | Class | Class source |
EventDispatcherServiceProvider.php | Class | Class source |
FileSystemServiceProvider.php | Class | Class source |
YamlConfigServiceProvider.php | Class | Class source |
Files | / | src | / | Silex | / | Security | / | Core | / | Dbal |
File | Role | Description |
---|---|---|
RoleTable.php | Class | Class source |
SecuritySchema.php | Class | Class source |
UserTable.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
81% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.