title: How could I launch my scrapy script with PHP?
body: <p>this is for example my script ,i type "scrapy crawl quotes" in the shell to execute it , so how can i launch this command in php ?</p>
  
  <pre><code>import scrapy
  class QuotesSpider(scrapy.Spider):
  name = "quotes"
  start_urls = [
      'http://quotes.toscrape.com/page/1/',
      'http://quotes.toscrape.com/page/2/',
  ]
  
  def parse(self, response):
      for quote in response.css('div.quote'):
          yield {
              'text': quote.css('span.text::text').extract_first(),
              'author': quote.css('small.author::text').extract_first(),
              'tags': quote.css('div.tags a.tag::text').extract(),
          }
  </code></pre>