Download the PHP package atphp/atsilex without Composer
On this page you can find all versions of the php package atphp/atsilex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package atsilex
Modular Silex
Built-ins features
- Twig/Bootstrap/Google analytics/…
- Doctrine Cache, DBAL, ORM
- BernardPHP message queue
- SF2 Console (make your command as service, name it as
anything.command.the_name
, then runphp cli.php
, you see your command is auto registered) - Module system, check
./modules/system
as example. - Swagger UI
Usage
Require atphp/atsilex
in your project's composer.json
file:
On composer install atsilex
will setup default structure for for your application:
Write custom module
A module is basically a class which extends atsilex\module\Module
. Each module can:
Define a module is simple, you also need tell the application about your module —
edit config.php
, include your modules there:
Configure database connection
Default database for application is a SQLite file, it's auto created in files/app.db
when we run php public/index.php orm:schema-tool:create
command.
To change default config for database connection, in config.php
, add code similar to this:
All versions of atsilex with dependencies
silex/silex Version 2.0.x-dev
bernard/bernard Version 1.0.*@dev
symfony/console Version ^2.7.0
doctrine/orm Version ^2.5.0
phpdocumentor/reflection-docblock Version ^2.0
doctrine/cache Version ^1.4.1
dflydev/doctrine-orm-service-provider Version ^2.0.0
guzzlehttp/guzzle Version ^6.0.2
jms/serializer Version ^1.0
monolog/monolog Version ^1.16.0
psr/log Version ^1.0.0
symfony/config Version ^2.7.0
symfony/dependency-injection Version ^2.7.0
symfony/form Version ^2.7.0
symfony/security Version ^2.7.0
symfony/security-csrf Version ^2.7.0
symfony/serializer Version ^2.7.0
symfony/translation Version ^2.7.0
symfony/twig-bridge Version ^2.7
symfony/yaml Version ^2.7.0
symfony/validator Version ^2.7.0
symfony/var-dumper Version ^2.7.0
swiftmailer/swiftmailer Version ^5.4.1
twig/twig Version ^1.18