PHP Classes

API Symfony: Demonstrates a simple API using Symfony framework

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2025-01-15 (9 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 5 This week: 5All time: 11,534 This week: 9Up
Version License PHP version Categories
api-symfony 1.0.0BSD License7Web services, Design Patterns, PHP 7
Description 

Author

This package demonstrates a simple API using the Symfony framework.

It provides classes and configuration files that implement a simple API.

The package provides a route configuration file in YAML format to define the URL patterns of the requests that the API can handle using controller classes.

Repositorio para exemplo de uma api feita em symfony

Picture of Celso
Name: Celso <contact>
Classes: 5 packages by
Country: Brazil Brazil
Innovation award
Innovation award
Nominee: 2x

 

Example

<?php

use App\Kernel;

require_once
dirname(__DIR__).'/vendor/autoload_runtime.php';

return function (array
$context) {
    return new
Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
};


  Files folder image Files (23)  
File Role Description
Files folder imagebin (1 file)
Files folder imageconfig (4 files, 2 directories)
Files folder imagepublic (1 file)
Files folder imagesrc (1 file, 1 directory)
Files folder imagetemplates (1 file)
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file Jenkinsfile Data Auxiliary data
Accessible without login Plain text file symfony.lock Data Auxiliary data

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 Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:5
This week:5
All time:11,534
This week:9Up