Easy development with Symfony (2 and 3)
Free!
With Membership
$17.99
Suggested price

Easy development with Symfony (2 and 3)

Learn how to develop with Symfony and other tools that will help and will make your work easier in a big way as developer

About the Book

This is a free book with the goal of making you a better developer. If you consider it interesting or if after reading it you think that it's a good book and you want to pay for it, you should know that the 50% of your gratefulnes will be destinated for a good cause.

This book is a translation into English of Desarrollo fácil con Symfony (2 y 3) which was originally written in Spanish.

Translations

About the Author

Jon Torrado
Jon Torrado

DevOps at @LIN3S · I love learning and teaching, sometimes I write · @GamersWalk_ CTO · @phpeus member

About the Contributors

Beñat Espiña
Beñat Espiña

Web developer @LIN3S • PHP, CSS & JS • Obsessed with BDD & clean code • Exploring DDD & BEM

Table of Contents

  • Introduction
    • Why I’m writing this book
    • What you are going to learn
    • Whom is this book for
    • How the book is divided
  • Chapter 1: installation and configuration
    • Symfony installer
    • Composer
    • MySQL Database
    • Writing Permissions
    • The Web Server
    • Development environment
    • Tip 1
    • Summary
  • Chapter 2: third party bundles
    • Looking for our bundle
    • Installing a new bundle
    • Tip 2
    • Summary
  • Chapter 3: Admin Bundle
    • Installing the Admin Bundle
    • Creating our Admin Class
    • Tip 3
    • Other possibilities
    • Summary
  • Chapter 4: User Bundle
    • Installing the User Bundle
    • Creating the user structure
    • Creating our admin user
    • Tip 4
    • Summary
  • Chapter 5: MopaBootstrap
    • Installing MopaBootstrapBundle
    • Preparing the base template
    • Tip 5
    • Summary
  • Chapter 6: Gulp (1)
    • Installation
    • Creating our first SCSS file
    • Minifying our CSS
    • Autoprefixer
    • Gulp watch
    • Default task
    • Tip 6
    • Summary
  • Chapter 7: Assetic for JavaScript
    • Installation
    • Configuration
    • Minifying our JavaScript
    • Recommendations
    • Tip 7
    • Summary
  • Chapter 8: full example
    • Application flow
    • Creating the route
    • Creating the action method
    • Our own home
    • The image carousel
    • The claims
    • Contact form
    • Sending an email
    • Tip 8
    • Summary
  • Chapter 9: Doctrine Extensions
    • Installation
    • Timestampable filter
    • Slugabble filter
    • Softdeleteable filter
    • Other filters
    • Tip 9
    • Summary
  • Chapter 10: LiipImagineBundle
    • Installation
    • Configuration
    • Using with Twig
    • Using with PHP
    • Tip 10
    • Summary
  • Chapter 11: ther bundles
    • EWZRecaptchaBundle
    • AcceleratorCacheBundle
    • FOSRestBundle
    • NelmioApiDocBundle
    • DoctrineFixturesBundle
    • DoctrineMigrationsBundle
    • FOSJSRoutingBundle
    • HWIOAuthBundle
    • KnpSnappyBundle
    • JMSTranslationBundle
    • Tip 11
    • Summary
  • Chapter 12: Gulp (2)
    • Sass Lint
    • JSCS
    • PHP CS
    • PHP CBF
    • Executing PHP commands
    • Tip 12
    • Summary
  • Chapter 13: additional Symfony configuration
    • ParamConverter
    • Template without controller
    • Redirecting without controller
    • Dump autoload
    • Hide logs
    • Send 500 errors to an email
    • PhpStorm configuration
    • Moving the sessions folder
    • Tip 13
    • Summary
  • Chapter 14: modifying SonataUserBundle
    • Modifying FOSUserBundle
    • Overriding the templates
    • Overriding the controllers
    • Modifying the login and the sign in
    • Modifying the sign in (2) and the emails
    • Other modifications
    • Tip 14
    • Summary
  • Chapter 15: deployment
    • Magallanes
    • Ansible
    • Capifony
    • Capistrano
    • Deploying with capistrano-symfony
    • Capistrano-symfony: final result
    • Tip 15
    • Summary
  • Chapter 16: testing
    • What is testing? Do I need it?
    • TDD vs BDD
    • Testing tools in PHP
    • Continuous integration
    • Tip 16
    • Summary
  • Epilogue
    • Bower
    • Gassetic
    • Gulp with JavaScript
    • PostCSS
    • Symfony made developments
    • DDD
    • Did you like the book?
    • Thanks to readers

Causes Supported

Watsi

https://watsi.org

Watsi is a global crowdfunding platform for healthcare that enables anyone to donate as little as $5 to directly fund life-changing medical care for people in need. 100% of every donation funds medical care and we are dedicated to complete transparency.

Watsi (watsi.org) is the first global crowdfunding platform for healthcare, enabling anyone to directly fund low-cost, high-impact medical care for people in need. 100% of every donation on Watsi’s platform directly funds medical care for patients, the organization does not take a cut for its operations. Since launching in August of 2012, Watsi has funded medical care for more than 700 people in 16 countries.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub