Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 84 | All time: 10,045 This week: 53 |
Version | License | PHP version | Categories | |||
fake-todo 1.0.0 | Shareware | 5 | PHP 5, Content management, Web services |
Description | Author | |||||||||||||||||||||||
This package implements an application to manage a list of tasks to do. |
|
<?php |
A fake todo api-based application
Visit Fake Todo
I added some custom routes such as /todos/{id}/put and /todos/{id}/patch to help expose their respective functionality through POST method. <br/>This happen because jQuery & axios converts PATCH, PUT and DELETE requests to OPTIONS which will return error response.
Clone the repository
I've added some decorator to decorate the json response syntax.
Please note that this project requires PHP 8.1
git clone git@github.com:ahmard/fake-todo.git
Install composer packages
cd fake-todo
composer update
Edit .env file to provide database & other configurable information
php artisan migrate --seed
php -S localhost:8000 -t public
Please take a look at requests.http for sample
Files (206) |
File | Role | Description | ||
---|---|---|---|---|
app (8 directories) | ||||
bootstrap (1 file) | ||||
database (3 directories) | ||||
public (2 files, 3 directories) | ||||
resources (1 directory) | ||||
routes (1 file) | ||||
tests (2 files) | ||||
.editorconfig | Data | Auxiliary data | ||
.env.example | Data | Auxiliary data | ||
.styleci.yml | Data | Auxiliary data | ||
artisan | Example | Example script | ||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
Procfile | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
requests.http | Data | Auxiliary data |
Files (206) | / | app |
Files (206) | / | app | / | Events |
File | Role | Description |
---|---|---|
Event.php | Class | Class source |
ExampleEvent.php | Class | Class source |
Files (206) | / | app | / | Http |
File | Role | Description | ||
---|---|---|---|---|
Controllers (2 files) | ||||
Middleware (3 files) | ||||
JsonResponse.php | Class | Class source |
Files (206) | / | app | / | Http | / | Controllers |
File | Role | Description |
---|---|---|
Controller.php | Class | Class source |
TodoController.php | Class | Class source |
Files (206) | / | app | / | Http | / | Middleware |
File | Role | Description |
---|---|---|
Authenticate.php | Class | Class source |
CorsMiddleware.php | Class | Class source |
ExampleMiddleware.php | Class | Class source |
Files (206) | / | app | / | Jobs |
File | Role | Description |
---|---|---|
ExampleJob.php | Class | Class source |
Job.php | Class | Class source |
Files (206) | / | app | / | Models |
Files (206) | / | app | / | Providers |
File | Role | Description |
---|---|---|
AppServiceProvider.php | Class | Class source |
AuthServiceProvider.php | Class | Class source |
EventServiceProvider.php | Class | Class source |
Files (206) | / | database |
File | Role | Description | ||
---|---|---|---|---|
factories (1 file) | ||||
migrations (2 files) | ||||
seeders (3 files) |
Files (206) | / | database | / | migrations |
File | Role | Description |
---|---|---|
2022_02_19_061753_create_users_table.php | Class | Class source |
2022_02_19_193352_create_todos_table.php | Class | Class source |
Files (206) | / | database | / | seeders |
File | Role | Description |
---|---|---|
DatabaseSeeder.php | Class | Class source |
TodoSeeder.php | Class | Class source |
UserSeeder.php | Class | Class source |
Files (206) | / | public |
File | Role | Description | ||
---|---|---|---|---|
fontawesome (2 directories) | ||||
mdb (4 directories) | ||||
_nuxt (24 files, 2 directories) | ||||
.htaccess | Data | Auxiliary data | ||
index.php | Example | Example script |
Files (206) | / | public | / | fontawesome | / | webfonts |
File | Role | Description |
---|---|---|
fa-brands-400.svg | Data | Auxiliary data |
fa-regular-400.svg | Data | Auxiliary data |
fa-solid-900.svg | Data | Auxiliary data |
Files (206) | / | public | / | mdb |
Files (206) | / | public | / | mdb | / | css |
File | Role | Description | ||
---|---|---|---|---|
addons (16 files) | ||||
modules (2 files) | ||||
bootstrap.css | Data | Auxiliary data | ||
bootstrap.min.css | Data | Auxiliary data | ||
mdb.css | Data | Auxiliary data | ||
mdb.lite.css | Data | Auxiliary data | ||
mdb.lite.min.css | Data | Auxiliary data | ||
mdb.lite.min.css.map | Data | Auxiliary data | ||
mdb.min.css | Data | Auxiliary data | ||
mdb.min.css.map | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | css | / | addons |
File | Role | Description |
---|---|---|
datatables-select.min.css | Data | Auxiliary data |
datatables-select.min.css.map | Data | Auxiliary data |
datatables-select2.min.css | Data | Auxiliary data |
datatables-select2.min.css.map | Data | Auxiliary data |
datatables.min.css | Data | Auxiliary data |
datatables.min.css.map | Data | Auxiliary data |
datatables2.min.css | Data | Auxiliary data |
datatables2.min.css.map | Data | Auxiliary data |
directives.min.css | Data | Auxiliary data |
directives.min.css.map | Data | Auxiliary data |
flag.min.css | Data | Auxiliary data |
flag.min.css.map | Data | Auxiliary data |
jquery.zmd.hierarchical-display.min.css | Data | Auxiliary data |
jquery.zmd.hierarc...display.min.css.map | Data | Auxiliary data |
rating.min.css | Data | Auxiliary data |
rating.min.css.map | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | css | / | modules |
File | Role | Description |
---|---|---|
animations-extended.min.css | Data | Auxiliary data |
animations-extended.min.css.map | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | img |
File | Role | Description | ||
---|---|---|---|---|
overlays (9 files) | ||||
svg (2 files) | ||||
mdb-favicon.ico | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | img | / | overlays |
Files (206) | / | public | / | mdb | / | img | / | svg |
File | Role | Description |
---|---|---|
arrow_left.svg | Data | Auxiliary data |
arrow_right.svg | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | js |
File | Role | Description | ||
---|---|---|---|---|
addons (20 files) | ||||
modules (10 files) | ||||
bootstrap.js | Data | Auxiliary data | ||
bootstrap.min.js | Data | Auxiliary data | ||
jquery.js | Data | Auxiliary data | ||
jquery.min.js | Data | Auxiliary data | ||
mdb.js | Data | Auxiliary data | ||
mdb.lite.min.js.map | Data | Auxiliary data | ||
mdb.min.js | Data | Auxiliary data | ||
mdb.min.js.map | Data | Auxiliary data | ||
popper.js | Data | Auxiliary data | ||
popper.min.js | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | js | / | addons |
File | Role | Description |
---|---|---|
datatables-select.min.js | Data | Auxiliary data |
datatables-select.min.js.map | Data | Auxiliary data |
datatables-select2.min.js | Data | Auxiliary data |
datatables-select2.min.js.map | Data | Auxiliary data |
datatables.min.js | Data | Auxiliary data |
datatables.min.js.map | Data | Auxiliary data |
datatables2.min.js | Data | Auxiliary data |
datatables2.min.js.map | Data | Auxiliary data |
directives.min.js | Data | Auxiliary data |
directives.min.js.map | Data | Auxiliary data |
flag.min.js | Data | Auxiliary data |
flag.min.js.map | Data | Auxiliary data |
imagesloaded.pkgd.min.js | Data | Auxiliary data |
imagesloaded.pkgd.min.js.map | Data | Auxiliary data |
jquery.zmd.hierarchical-display.min.js | Data | Auxiliary data |
jquery.zmd.hierarc...-display.min.js.map | Data | Auxiliary data |
masonry.pkgd.min.js | Data | Auxiliary data |
masonry.pkgd.min.js.map | Data | Auxiliary data |
rating.min.js | Data | Auxiliary data |
rating.min.js.map | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | js | / | modules |
File | Role | Description |
---|---|---|
animations-extended.min.js | Data | Auxiliary data |
animations-extended.min.js.map | Data | Auxiliary data |
forms-free.min.js | Data | Auxiliary data |
forms-free.min.js.map | Data | Auxiliary data |
scrolling-navbar.min.js | Data | Auxiliary data |
scrolling-navbar.min.js.map | Data | Auxiliary data |
treeview.min.js | Data | Auxiliary data |
treeview.min.js.map | Data | Auxiliary data |
wow.min.js | Data | Auxiliary data |
wow.min.js.map | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | scss |
File | Role | Description | ||
---|---|---|---|---|
addons (8 files) | ||||
core (8 files, 1 directory) | ||||
free (19 files, 1 directory) | ||||
mdb-free.scss | Data | Auxiliary data | ||
mdb-lite-free.scss | Data | Auxiliary data | ||
_custom-styles.scss | Data | Auxiliary data | ||
_custom-variables.scss | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | scss | / | addons |
File | Role | Description |
---|---|---|
_datatables-select.scss | Data | Auxiliary data |
_datatables-select2.scss | Data | Auxiliary data |
_datatables.scss | Data | Auxiliary data |
_datatables2.scss | Data | Auxiliary data |
_directives.scss | Data | Auxiliary data |
_flag.scss | Data | Auxiliary data |
_hierarchical-display.scss | Data | Auxiliary data |
_rating.scss | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | scss | / | core |
File | Role | Description | ||
---|---|---|---|---|
bootstrap (3 files) | ||||
_colors.scss | Data | Auxiliary data | ||
_global.scss | Data | Auxiliary data | ||
_helpers.scss | Data | Auxiliary data | ||
_masks.scss | Data | Auxiliary data | ||
_mixins.scss | Data | Auxiliary data | ||
_typography.scss | Data | Auxiliary data | ||
_variables.scss | Data | Auxiliary data | ||
_waves.scss | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | scss | / | core | / | bootstrap |
File | Role | Description |
---|---|---|
_functions.scss | Data | Auxiliary data |
_rfs.scss | Data | Auxiliary data |
_variables.scss | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | scss | / | free |
File | Role | Description | ||
---|---|---|---|---|
modules (1 directory) | ||||
_animations-basic.scss | Data | Auxiliary data | ||
_badges.scss | Data | Auxiliary data | ||
_buttons.scss | Data | Auxiliary data | ||
_cards.scss | Data | Auxiliary data | ||
_carousels.scss | Data | Auxiliary data | ||
_depreciated.scss | Data | Auxiliary data | ||
_dropdowns.scss | Data | Auxiliary data | ||
_footers.scss | Data | Auxiliary data | ||
_forms.scss | Data | Auxiliary data | ||
_input-group.scss | Data | Auxiliary data | ||
_list-group.scss | Data | Auxiliary data | ||
_loader.scss | Data | Auxiliary data | ||
_modals.scss | Data | Auxiliary data | ||
_msc.scss | Data | Auxiliary data | ||
_navbars.scss | Data | Auxiliary data | ||
_pagination.scss | Data | Auxiliary data | ||
_steppers.scss | Data | Auxiliary data | ||
_tables.scss | Data | Auxiliary data | ||
_treeview.scss | Data | Auxiliary data |
Files (206) | / | public | / | mdb | / | scss | / | free | / | modules |
File | Role | Description | ||
---|---|---|---|---|
animations-extended (2 files) |
Files (206) | / | public | / | mdb | / | scss | / | free | / | modules | / | animations-extended |
File | Role | Description |
---|---|---|
animations-extended.scss | Data | Auxiliary data |
_module.scss | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt |
File | Role | Description | ||
---|---|---|---|---|
img (3 files) | ||||
static (6 directories) | ||||
20da742.js | Data | Auxiliary data | ||
2bc9bd2.js | Data | Auxiliary data | ||
2f877f6.js | Data | Auxiliary data | ||
32b7254.js | Data | Auxiliary data | ||
369382c.js | Data | Auxiliary data | ||
3d892a7.js | Data | Auxiliary data | ||
4bd8b1d.js | Data | Auxiliary data | ||
5995da7.js | Data | Auxiliary data | ||
6b648fb.js | Data | Auxiliary data | ||
7550acb.js | Data | Auxiliary data | ||
7730cd8.js | Data | Auxiliary data | ||
78570a3.js | Data | Auxiliary data | ||
88858fc.js | Data | Auxiliary data | ||
9026bd6.js | Data | Auxiliary data | ||
96d42cb.js | Data | Auxiliary data | ||
a036e54.js | Data | Auxiliary data | ||
a8099ec.js | Data | Auxiliary data | ||
a8e4944.js | Data | Auxiliary data | ||
aba2bc4.js | Data | Auxiliary data | ||
be8b119.js | Data | Auxiliary data | ||
e5462a6.js | Data | Auxiliary data | ||
fa0e860.js | Data | Auxiliary data | ||
ff38817.js | Data | Auxiliary data | ||
LICENSES | Lic. | License text |
Files (206) | / | public | / | _nuxt | / | img |
File | Role | Description |
---|---|---|
fa-brands-400.2f517e0.svg | Data | Auxiliary data |
fa-regular-400.4689f52.svg | Data | Auxiliary data |
fa-solid-900.7a8b4f1.svg | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt | / | static |
File | Role | Description | ||
---|---|---|---|---|
1645378653 (2 files) | ||||
1645398277 (2 files) | ||||
1645398497 (2 files) | ||||
1645399012 (2 files) | ||||
1645399294 (2 files) | ||||
1645399733 (2 files) |
Files (206) | / | public | / | _nuxt | / | static | / | 1645378653 |
File | Role | Description |
---|---|---|
manifest.js | Data | Auxiliary data |
payload.js | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt | / | static | / | 1645398277 |
File | Role | Description |
---|---|---|
manifest.js | Data | Auxiliary data |
payload.js | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt | / | static | / | 1645398497 |
File | Role | Description |
---|---|---|
manifest.js | Data | Auxiliary data |
payload.js | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt | / | static | / | 1645399012 |
File | Role | Description |
---|---|---|
manifest.js | Data | Auxiliary data |
payload.js | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt | / | static | / | 1645399294 |
File | Role | Description |
---|---|---|
manifest.js | Data | Auxiliary data |
payload.js | Data | Auxiliary data |
Files (206) | / | public | / | _nuxt | / | static | / | 1645399733 |
File | Role | Description |
---|---|---|
manifest.js | Data | Auxiliary data |
payload.js | Data | Auxiliary data |
Files (206) | / | tests |
File | Role | Description |
---|---|---|
ExampleTest.php | Class | Class source |
TestCase.php | Class | Class source |
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 |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.