Bez popisu

herton 51e04f2879 Update 'readme.md' před 4 roky
Controllers 2243235223 Fixing minor issues před 4 roky
tests 4fed480dc2 Basic structure, missing final steps to handle request před 4 roky
.gitignore d749025e73 Basic setup of the example of usage for the new package před 4 roky
Application.php 32cffea3aa Fixed methods and got to a basic working version před 4 roky
Helpers.php 4fed480dc2 Basic structure, missing final steps to handle request před 4 roky
Resource.php 9acb58ba16 Adding methods to the other controllers to test and some clean up před 4 roky
Route.php 2243235223 Fixing minor issues před 4 roky
composer.json 2166c22e49 Cleaning up unused files and comments před 4 roky
handle.php 32cffea3aa Fixed methods and got to a basic working version před 4 roky
index.php 4fed480dc2 Basic structure, missing final steps to handle request před 4 roky
readme.md 51e04f2879 Update 'readme.md' před 4 roky
routes.php 32cffea3aa Fixed methods and got to a basic working version před 4 roky
serve.sh d749025e73 Basic setup of the example of usage for the new package před 4 roky

readme.md

Exmple Routes

Route::resource('posts');
Route::resource('users.posts');
Route::resource('categories.posts');

Exmple Controllers available

PostsController.php
UsersPostsController.php
CategoriesPostsController.php

To run the example:

  1. Pull the repository locally https://git.hersidea.com/herton/php-resource
  2. Run composer install
  3. Run the server script ./serve.sh