The "Symfony Bundle Skeleton" is an application for creating reusable Symfony bundles. Forked from [symfony/demo][1]
* PHP 7.2.9 or higher; * PDO-SQLite PHP extension enabled; * and the [usual Symfony application requirements][2].
$ git clone https://github.com/msalsas/symfony-bundle-skeleton.git
Install Composer dependencies:
$ composer install
Run this command to create the new bundle in /lib
:
$ php bin/console skeleton-bundle:create
You will be asked for some needed arguments for the bundle structure and files.
There's no need to configure anything to run the application. If you have [installed Symfony][4], run this command and access the application in your browser at the given URL (<https://localhost:8000> by default):
$ cd symfony-bundle-skeleton/
$ symfony serve
If you don't have the Symfony binary installed, run php -S localhost:8000 -t public/
to use the built-in PHP web server or [configure a web server][3] like Nginx or
Apache to run the application.
Execute this command to run tests:
$ cd symfony-bundle-skeleton/
$ ./bin/phpunit
[1]: https://github.com/symfony/demo [2]: https://symfony.com/doc/current/reference/requirements.html [3]: https://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html [4]: https://symfony.com/download [5]: https://github.com/symfony/webpack-encore
Classes of Manolo Salsas | > | Symfony Create Bundle Skeleton | > | Download .zip .tar.gz | > | Support forum | > | Blog | > | Latest changes |
|
|
Groups | Applications | Files |
Groups |
PHP 5 | Classes using PHP 5 specific features | View top rated classes |
Utilities and Tools | General purpose tools to simplify software development | View top rated classes |
Code Generation | Compilers and tools that generate code automatically | View top rated classes |
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Files |
File | Role | Description | ||
---|---|---|---|---|
assets (2 directories) | ||||
bin (2 files) | ||||
config (4 files, 2 directories) | ||||
lib (1 directory) | ||||
public (5 files, 1 directory) | ||||
src (1 file, 12 directories) | ||||
templates (1 file, 8 directories) | ||||
tests (4 directories) | ||||
translations (42 files) | ||||
.editorconfig | Data | Auxiliary data | ||
.env | Data | Auxiliary data | ||
.env.test | Data | Auxiliary data | ||
.php_cs.dist | Example | Example script | ||
.travis.yml | Data | Auxiliary data | ||
appveyor.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
CONTRIBUTING.md | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
package.json | Data | Auxiliary data | ||
phpunit.xml.dist | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
symfony.lock | Data | Auxiliary data | ||
webpack.config.js | Data | Auxiliary data | ||
yarn.lock | Data | Auxiliary data |
Files | / | assets | / | js |
File | Role | Description |
---|---|---|
admin.js | Data | Auxiliary data |
app.js | Data | Auxiliary data |
doclinks.js | Data | Auxiliary data |
highlight.js | Data | Auxiliary data |
jquery.instantSearch.js | Data | Auxiliary data |
login.js | Data | Auxiliary data |
search.js | Data | Auxiliary data |
Files | / | assets | / | scss |
File | Role | Description |
---|---|---|
admin.scss | Data | Auxiliary data |
app.scss | Data | Auxiliary data |
bootstrap-tagsinput.scss | Data | Auxiliary data |
Files | / | config |
File | Role | Description | ||
---|---|---|---|---|
packages (14 files, 3 directories) | ||||
routes (1 file, 1 directory) | ||||
bootstrap.php | Class | Class source | ||
bundles.php | Class | Class source | ||
routes.yaml | Data | Auxiliary data | ||
services.yaml | Data | Auxiliary data |
Files | / | config | / | packages |
File | Role | Description | ||
---|---|---|---|---|
dev (5 files) | ||||
prod (4 files) | ||||
test (10 files) | ||||
assets.yaml | Data | Auxiliary data | ||
cache.yaml | Data | Auxiliary data | ||
doctrine.yaml | Data | Auxiliary data | ||
doctrine_migrations.yaml | Data | Auxiliary data | ||
framework.yaml | Data | Auxiliary data | ||
html_sanitizer.yaml | Data | Auxiliary data | ||
mailer.yaml | Data | Auxiliary data | ||
routing.yaml | Data | Auxiliary data | ||
security.yaml | Data | Auxiliary data | ||
sensio_framework_extra.yaml | Data | Auxiliary data | ||
translation.yaml | Data | Auxiliary data | ||
twig.yaml | Data | Auxiliary data | ||
validator.yaml | Data | Auxiliary data | ||
webpack_encore.yaml | Data | Auxiliary data |
Files | / | config | / | packages | / | dev |
File | Role | Description |
---|---|---|
debug.yaml | Data | Auxiliary data |
mailer.yaml | Data | Auxiliary data |
monolog.yaml | Data | Auxiliary data |
routing.yaml | Data | Auxiliary data |
web_profiler.yaml | Data | Auxiliary data |
Files | / | config | / | packages | / | prod |
File | Role | Description |
---|---|---|
doctrine.yaml | Data | Auxiliary data |
monolog.yaml | Data | Auxiliary data |
routing.yaml | Data | Auxiliary data |
webpack_encore.yaml | Data | Auxiliary data |
Files | / | config | / | packages | / | test |
File | Role | Description |
---|---|---|
dama_doctrine_test_bundle.yaml | Data | Auxiliary data |
framework.yaml | Data | Auxiliary data |
mailer.yaml | Data | Auxiliary data |
monolog.yaml | Data | Auxiliary data |
routing.yaml | Data | Auxiliary data |
security.yaml | Data | Auxiliary data |
twig.yaml | Data | Auxiliary data |
validator.yaml | Data | Auxiliary data |
webpack_encore.yaml | Data | Auxiliary data |
web_profiler.yaml | Data | Auxiliary data |
Files | / | config | / | routes | / | dev |
File | Role | Description |
---|---|---|
framework.yaml | Data | Auxiliary data |
web_profiler.yaml | Data | Auxiliary data |
Files | / | lib | / | acme | / | foo-bundle |
File | Role | Description | ||
---|---|---|---|---|
Controller (1 file) | ||||
DependencyInjection (2 files) | ||||
DTO (2 files) | ||||
Entity (1 file) | ||||
Resources (4 directories) | ||||
Service (1 file) | ||||
Tests (2 files, 1 directory) | ||||
.travis | Data | Auxiliary data | ||
AcmeFooBundle.php | Class | Class source | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml.dist | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | lib | / | acme | / | foo-bundle | / | Controller |
File | Role | Description |
---|---|---|
AcmeFooController.php | Class | Class source |
Files | / | lib | / | acme | / | foo-bundle | / | DependencyInjection |
File | Role | Description |
---|---|---|
AcmeFooExtension.php | Class | Class source |
Configuration.php | Class | Class source |
Files | / | lib | / | acme | / | foo-bundle | / | DTO |
File | Role | Description |
---|---|---|
CarDTO.php | Class | Class source |
CarDTOBuilder.php | Class | Class source |
Files | / | lib | / | acme | / | foo-bundle | / | Resources |
File | Role | Description | ||
---|---|---|---|---|
config (1 file, 1 directory) | ||||
doc (2 files) | ||||
translations (2 files) | ||||
views (1 file) |
Files | / | lib | / | acme | / | foo-bundle | / | Resources | / | config |
File | Role | Description | ||
---|---|---|---|---|
doctrine (1 file) | ||||
services.xml | Data | Auxiliary data |
Files | / | lib | / | acme | / | foo-bundle | / | Resources | / | config | / | doctrine |
File | Role | Description |
---|---|---|
Car.orm.xml | Data | Auxiliary data |
Files | / | lib | / | acme | / | foo-bundle | / | Resources | / | doc |
Files | / | lib | / | acme | / | foo-bundle | / | Resources | / | translations |
File | Role | Description |
---|---|---|
messages.en.yml | Data | Auxiliary data |
messages.es.yml | Data | Auxiliary data |
Files | / | lib | / | acme | / | foo-bundle | / | Resources | / | views |
File | Role | Description |
---|---|---|
acme_foo_widget.html.twig | Data | Auxiliary data |
Files | / | lib | / | acme | / | foo-bundle | / | Tests |
File | Role | Description | ||
---|---|---|---|---|
Mock (1 file) | ||||
bootstrap.php | Aux. | Auxiliary script | ||
ServiceTest.php | Class | Class source |
Files | / | lib | / | acme | / | foo-bundle | / | Tests | / | Mock |
File | Role | Description |
---|---|---|
UserMock.php | Class | Class source |
Files | / | public |
File | Role | Description | ||
---|---|---|---|---|
build (11 files, 1 directory) | ||||
.htaccess | Data | Auxiliary data | ||
apple-touch-icon.png | Icon | Icon image | ||
favicon.ico | Data | Auxiliary data | ||
index.php | Example | Example script | ||
robots.txt | Doc. | Documentation |
Files | / | public | / | build |
File | Role | Description | ||
---|---|---|---|---|
images (3 files) | ||||
0.js | Data | Auxiliary data | ||
1.js | Data | Auxiliary data | ||
admin.css | Data | Auxiliary data | ||
admin.js | Data | Auxiliary data | ||
app.css | Data | Auxiliary data | ||
app.js | Data | Auxiliary data | ||
entrypoints.json | Data | Auxiliary data | ||
login.js | Data | Auxiliary data | ||
manifest.json | Data | Auxiliary data | ||
runtime.js | Data | Auxiliary data | ||
search.js | Data | Auxiliary data |
Files | / | public | / | build | / | images |
File | Role | Description |
---|---|---|
fa-brands-400.d7229311.svg | Data | Auxiliary data |
fa-regular-400.d2e53334.svg | Data | Auxiliary data |
fa-solid-900.7a5de9b0.svg | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Command (5 files) | ||||
Controller (3 files, 1 directory) | ||||
DataFixtures (1 file) | ||||
Entity (4 files) | ||||
Events (1 file) | ||||
EventSubscriber (4 files) | ||||
Form (3 files, 2 directories) | ||||
Pagination (1 file) | ||||
Repository (3 files) | ||||
Security (1 file) | ||||
Twig (2 files) | ||||
Utils (3 files) | ||||
Kernel.php | Class | Class source |
Files | / | src | / | Command |
File | Role | Description |
---|---|---|
AddUserCommand.php | Class | Class source |
CreateBundleCommand.php | Class | Class source |
CreateBundleUtils.php | Class | Class source |
DeleteUserCommand.php | Class | Class source |
ListUsersCommand.php | Class | Class source |
Files | / | src | / | Controller |
File | Role | Description | ||
---|---|---|---|---|
Admin (1 file) | ||||
BlogController.php | Class | Class source | ||
SecurityController.php | Class | Class source | ||
UserController.php | Class | Class source |
Files | / | src | / | Entity |
File | Role | Description |
---|---|---|
Comment.php | Class | Class source |
Post.php | Class | Class source |
Tag.php | Class | Class source |
User.php | Class | Class source |
Files | / | src | / | EventSubscriber |
File | Role | Description |
---|---|---|
CheckRequirementsSubscriber.php | Class | Class source |
CommentNotificationSubscriber.php | Class | Class source |
ControllerSubscriber.php | Class | Class source |
RedirectToPreferredLocaleSubscriber.php | Class | Class source |
Files | / | src | / | Form |
File | Role | Description | ||
---|---|---|---|---|
DataTransformer (1 file) | ||||
Type (3 files) | ||||
CommentType.php | Class | Class source | ||
PostType.php | Class | Class source | ||
UserType.php | Class | Class source |
Files | / | src | / | Form | / | DataTransformer |
File | Role | Description |
---|---|---|
TagArrayToStringTransformer.php | Class | Class source |
Files | / | src | / | Form | / | Type |
File | Role | Description |
---|---|---|
ChangePasswordType.php | Class | Class source |
DateTimePickerType.php | Class | Class source |
TagsInputType.php | Class | Class source |
Files | / | src | / | Repository |
File | Role | Description |
---|---|---|
PostRepository.php | Class | Class source |
TagRepository.php | Class | Class source |
UserRepository.php | Class | Class source |
Files | / | src | / | Twig |
File | Role | Description |
---|---|---|
AppExtension.php | Class | Class source |
SourceCodeExtension.php | Class | Class source |
Files | / | src | / | Utils |
File | Role | Description |
---|---|---|
Markdown.php | Class | Class source |
MomentFormatConverter.php | Class | Class source |
Validator.php | Class | Class source |
Files | / | templates |
Files | / | templates | / | admin | / | blog |
File | Role | Description |
---|---|---|
edit.html.twig | Data | Auxiliary data |
index.html.twig | Data | Auxiliary data |
new.html.twig | Data | Auxiliary data |
show.html.twig | Data | Auxiliary data |
_delete_form.html.twig | Data | Auxiliary data |
_form.html.twig | Data | Auxiliary data |
Files | / | templates | / | blog |
File | Role | Description |
---|---|---|
about.html.twig | Data | Auxiliary data |
comment_form_error.html.twig | Data | Auxiliary data |
index.html.twig | Data | Auxiliary data |
index.xml.twig | Data | Auxiliary data |
post_show.html.twig | Data | Auxiliary data |
search.html.twig | Data | Auxiliary data |
_comment_form.html.twig | Data | Auxiliary data |
_delete_post_confirmation.html.twig | Data | Auxiliary data |
_post_tags.html.twig | Data | Auxiliary data |
_rss.html.twig | Data | Auxiliary data |
Files | / | templates | / | bundles | / | TwigBundle | / | Exception |
File | Role | Description |
---|---|---|
error.html.twig | Data | Auxiliary data |
error403.html.twig | Data | Auxiliary data |
error404.html.twig | Data | Auxiliary data |
error500.html.twig | Data | Auxiliary data |
Files | / | templates | / | default |
File | Role | Description |
---|---|---|
homepage.html.twig | Data | Auxiliary data |
_flash_messages.html.twig | Data | Auxiliary data |
Files | / | templates | / | form |
File | Role | Description |
---|---|---|
fields.html.twig | Data | Auxiliary data |
layout.html.twig | Data | Auxiliary data |
Files | / | templates | / | user |
File | Role | Description |
---|---|---|
change_password.html.twig | Data | Auxiliary data |
edit.html.twig | Data | Auxiliary data |
Files | / | tests |
File | Role | Description | ||
---|---|---|---|---|
Command (1 file) | ||||
Controller (3 files, 1 directory) | ||||
Form (1 directory) | ||||
Utils (1 file) |
Files | / | tests | / | Controller |
File | Role | Description | ||
---|---|---|---|---|
Admin (1 file) | ||||
BlogControllerTest.php | Class | Class source | ||
DefaultControllerTest.php | Class | Class source | ||
UserControllerTest.php | Class | Class source |
Files | / | tests | / | Form | / | DataTransformer |
File | Role | Description |
---|---|---|
TagArrayToStringTransformerTest.php | Class | Class source |
Files | / | translations |
Download all files: symfony-bundle-skele.tar.gz symfony-bundle-skele.zip NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
|