Download the PHP package silvio-batista/laravel-postman-exporter without Composer

On this page you can find all versions of the php package silvio-batista/laravel-postman-exporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-postman-exporter

Laravel Postman Exporter

Latest Version Total Downloads License PHP Version

Biblioteca PHP para Laravel que exporta automaticamente rotas da aplicação para Postman Collections v2.1, incluindo validações, body examples, autenticação e responses organizados por prefixo de rota.

🚀 Características

📋 Requisitos

📦 Instalação

Instale o pacote via Composer:

Publique o arquivo de configuração:

Isso criará o arquivo config/postman-exporter.php.

🎯 Uso Básico

Exportar todas as rotas

O arquivo será salvo em storage/postman-collection.json.

Opções de linha de comando

⚙️ Configuração

O arquivo config/postman-exporter.php permite personalizar diversos aspectos:

📚 Exemplo Completo

1. Rotas Laravel

2. FormRequest com validações

3. Controller

4. Exportar

5. Resultado no Postman

A collection gerada terá:

Folder: Users

Variáveis:

Responses de exemplo:

🎨 Recursos Avançados

Detecção Automática de Tipos

O parser detecta automaticamente o tipo de cada campo:

Organização Flexível

Organize suas requests por:

Path Variables

Parâmetros de rota são convertidos automaticamente:

Autenticação

Middlewares de autenticação são detectados automaticamente:

📤 Importando no Postman

  1. Abra o Postman
  2. Clique em Import no canto superior esquerdo
  3. Selecione o arquivo postman-collection.json
  4. Configure as variáveis:
    • base_url: URL da sua API (ex: https://api.example.com)
    • auth_token: Token de autenticação (se necessário)
  5. Pronto! Todas as rotas estão disponíveis para teste

🧪 Testes

🤝 Contribuindo

Contribuições são bem-vindas! Por favor:

  1. Fork o projeto
  2. Crie uma branch para sua feature (git checkout -b feature/AmazingFeature)
  3. Commit suas mudanças (git commit -m 'Add some AmazingFeature')
  4. Push para a branch (git push origin feature/AmazingFeature)
  5. Abra um Pull Request

📝 Licença

Este projeto está licenciado sob a licença MIT. Veja o arquivo LICENSE para mais detalhes.

🙏 Agradecimentos

📧 Suporte

Se você encontrar algum problema ou tiver sugestões, por favor:

  1. Verifique as Issues existentes
  2. Crie uma nova Issue descrevendo o problema ou sugestão
  3. Forneça exemplos e contexto quando possível

🌟 Star o Projeto

Se este pacote foi útil para você, considere dar uma ⭐️ no GitHub!


Feito com ❤️ para a comunidade Laravel


All versions of laravel-postman-exporter with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1|^8.2|^8.3
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package silvio-batista/laravel-postman-exporter contains the following files

Loading the files please wait ...