orchestral / Parser
Licence: mit
[Package] XML Document Parser for Laravel and PHP
Stars: ✭ 353
Labels
Projects that are alternatives of or similar to Parser
Clockwork
Clockwork - php dev tools in your browser - server-side component
Stars: ✭ 4,076 (+1054.67%)
Mutual labels: laravel
Laravel Settings
Store strongly typed application settings
Stars: ✭ 345 (-2.27%)
Mutual labels: laravel
Uniquewith Validator
Custom Laravel Validator for combined unique indexes
Stars: ✭ 352 (-0.28%)
Mutual labels: laravel
Ideaspace
😎 Create interactive 3D and VR web experiences for desktop, mobile & VR devices
Stars: ✭ 344 (-2.55%)
Mutual labels: laravel
Blessing Skin Server
Web application brings your custom skins back in offline Minecraft servers.
Stars: ✭ 344 (-2.55%)
Mutual labels: laravel
Shinobi
👺 Simple and light-weight role-based permissions system for Laravel's built in Auth system.
Stars: ✭ 349 (-1.13%)
Mutual labels: laravel
Lumen Generators
A collection of generators for Lumen and Laravel 5.
Stars: ✭ 339 (-3.97%)
Mutual labels: laravel
Coreui Free Laravel Admin Template
CoreUI Free Laravel Bootstrap Admin Template
Stars: ✭ 353 (+0%)
Mutual labels: laravel
Laravel Swoole
High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
Stars: ✭ 3,726 (+955.52%)
Mutual labels: laravel
Presenter
Decorate your objects using presenters. Primarily to keep presentation logic out of your models.
Stars: ✭ 344 (-2.55%)
Mutual labels: laravel
Laravel Code Style
Automatic code formatting for Laravel projects
Stars: ✭ 344 (-2.55%)
Mutual labels: laravel
Gitamin
An open-source, self-hosted git repository management system. QQ群:656868
Stars: ✭ 350 (-0.85%)
Mutual labels: laravel
Bagisto
An easy to use, free and open source laravel eCommerce platform to build your online shop in no time.
Stars: ✭ 4,140 (+1072.8%)
Mutual labels: laravel
Lnmp
💻 🐳 🐘 🐬 🐧 🚀 Start Docker LNMP(LEMP) In less than 2 minutes Powered by Docker Compose. 让 PHP 开发者快速(一键)搭建基于容器技术(Docker、Kubernetes)的开发、测试、生产(CI/CD by Drone)环境.
Stars: ✭ 341 (-3.4%)
Mutual labels: laravel
Larasail
LaraSail - Set Sail with your Laravel app on DigitalOcean
Stars: ✭ 348 (-1.42%)
Mutual labels: laravel
Laravel Hashid
Obfuscate your data by generating reversible, non-sequential, URL-safe identifiers.
Stars: ✭ 354 (+0.28%)
Mutual labels: laravel
Laravel Translation
Translation management for your Laravel application.
Stars: ✭ 350 (-0.85%)
Mutual labels: laravel
Laravel Json Api Paginate
A paginator that plays nice with the JSON API spec
Stars: ✭ 351 (-0.57%)
Mutual labels: laravel
XML Document Parser for Laravel and PHP
Parser Component is a framework agnostic package that provide a simple way to parse XML to array without having to write a complex logic.
Imagine if you can parse
<api>
<user followers="5">
<id>1</id>
<email>[email protected]</email>
</user>
</api>
to
$user = [
'id' => '1',
'email' => '[email protected]',
'followers' => '5'
];
by just writing this:
use Orchestra\Parser\Xml\Facade as XmlParser;
$xml = XmlParser::load('path/to/above.xml');
$user = $xml->parse([
'id' => ['uses' => 'user.id'],
'email' => ['uses' => 'user.email'],
'followers' => ['uses' => 'user::followers'],
]);
Table of Content
Version Compatibility
Laravel | Parser |
---|---|
5.5.x | 3.5.x |
5.6.x | 3.6.x |
5.7.x | 3.7.x |
5.8.x | 3.8.x |
6.x | 4.x |
7.x | 5.x |
8.x | 6.x |
Installation
To install through composer, run the following command from terminal:
composer require "orchestra/parser"
Configuration
Next add the service provider in config/app.php
.
'providers' => [
// ...
Orchestra\Parser\XmlServiceProvider::class,
],
Aliases
You might want to add Orchestra\Parser\Xml\Facade
to class aliases in config/app.php
:
'aliases' => [
// ...
'XmlParser' => Orchestra\Parser\Xml\Facade::class,
],
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].