Recommend this page to a friend! |
Download |
Info | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 79 | All time: 10,122 This week: 673 |
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.
Set web server write permissions.
Ubuntu example:
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 (127) |
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 (127) | / | app |
File | Role | Description | ||
---|---|---|---|---|
Resources (4 directories) | ||||
bootstrap.php | Example | Application script |
Files (127) | / | app | / | Resources |
Files (127) | / | 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 (127) | / | app | / | Resources | / | i18n |
Files (127) | / | src | / | Acme |
File | Role | Description | ||
---|---|---|---|---|
Command (1 file) | ||||
Controller (2 files) | ||||
Resources (2 directories) |
Files (127) | / | src | / | Acme | / | Command |
File | Role | Description |
---|---|---|
HelloCommand.php | Class | Command for demo purposes |
Files (127) | / | src | / | Acme | / | Controller |
File | Role | Description |
---|---|---|
AdminController.php | Example | Example script |
XeonController.php | Example | Example script |
Files (127) | / | src | / | Acme | / | Resources |
Files (127) | / | src | / | Acme | / | Resources | / | public |
Files (127) | / | src | / | Acme | / | Resources | / | public | / | css |
File | Role | Description |
---|---|---|
main.css | Data | Auxiliary data |
prettyPhoto.css | Data | Auxiliary data |
Files (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | 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 (127) | / | src | / | Acme | / | Resources | / | views | / | acme |
Files (127) | / | src | / | Acme | / | Resources | / | views | / | acme | / | admin |
File | Role | Description |
---|---|---|
login.html.twig | Data | Auxiliary data |
Files (127) | / | 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 (127) | / | 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 (127) | / | src | / | Silex |
Files (127) | / | 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 (127) | / | src | / | Silex | / | Console | / | EventListener |
File | Role | Description |
---|---|---|
LoggerListener.php | Class | Class source |
Files (127) | / | src | / | Silex | / | Doctrine | / | DBAL |
Files (127) | / | src | / | Silex | / | Doctrine | / | DBAL | / | Schema |
File | Role | Description |
---|---|---|
ConfigurableSchema.php | Class | Class source |
Files (127) | / | src | / | Silex | / | Doctrine | / | DBAL | / | Tools | / | Console |
File | Role | Description | ||
---|---|---|---|---|
Command (4 files) |
Files (127) | / | 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 (127) | / | src | / | Silex | / | Framework | / | Command |
File | Role | Description |
---|---|---|
AssetsInstallCommand.php | Class | Class source |
Files (127) | / | 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 (127) | / | src | / | Silex | / | Security | / | Core | / | Dbal |
File | Role | Description |
---|---|---|
RoleTable.php | Class | Class source |
SecuritySchema.php | Class | Class source |
UserTable.php | Class | Class source |
Files (127) | / | web |
File | Role | Description | ||
---|---|---|---|---|
assets (1 file) | ||||
.htaccess | Data | Auxiliary data | ||
app.php | Appl. | Application script | ||
app_dev.php | Appl. | Application script | ||
index.php | Appl. | Application script |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.