PHP Classes

Laravel MongoDB CRUD Blog: Blog that uses CRUD record operations with MongoDB

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 36 All time: 11,013 This week: 43Up
Version License PHP version Categories
lamongo-blog 1.0.0MIT/X Consortium ...7Libraries, Design Patterns, Blogs, PHP 7, A...
Description 

Author

This package implements a Blog that uses CRUD record operations with MongoDB.

It provides an MVC application based on the Laravel framework that implements actions to manage a blog site using MongoDB to store and retrieve blog records using model classes.

Currently, it can perform CRUD operations on blog articles:

- Show a listing of blog articles

- Create a new blog article

- Show an individual blog article

- Update a blog article

- Delete a blog article

Innovation Award
PHP Programming Innovation award nominee
November 2023
Number 9
Laravel is a popular PHP framework often used to implement applications that can perform CRUD (Create, Read, Update, and Delete) operations on records stored in a database.

This package implements a blog application that uses Laravel to implement CRUD operations on database records stored in MongoDB.

Manuel Lemos
Picture of Akinshola Samuel AKINDE
Name: Akinshola Samuel AKINDE <contact>
Classes: 2 packages by
Country: Nigeria Nigeria
Innovation award
Innovation award
Nominee: 1x

 

Example

<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return
view('welcome');
});

Route::resource('blog', 'BlogController');


Details

LaMongo Blog

LaMongo Blog is basic CRUD Laravel and MongoDB Blog App to deploy a Laravel Application with MongoDB as Database

Setup App.

  • Clone or Pull the repo.
  • <code>cd lamongo-blog</code> into the directory
  • Run: <code>php artisan key:generate</code> to generate the app key.
  • Run: <code>composer install</code> to install all the dependencies.
  • Run: <code>php artisan migrate</code> to run migration of every collections(tables in sql).
  • Start app with: <code>php artisan serve</code>. Confirm the mongodb parameters in the <code>.env</code> OR <code>.env.example</code>
  • Start mongodb with: <code>mongo</code> or <code>mongod</code>.
  • Run the application with: <code>php artisan serve .</code>. In your browser, go to http://localhost:8000/. and visit the http://localhost:8000/blog

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Contributing

Thank you for considering contributing to the Basic Laravel + MongoDB App! There are no contribution guide at the moment.

Security Vulnerabilities

If you discover a security vulnerability within the Laravel+MongoDB App, please send an e-mail to Akinshola Samuel via thisishaykins@gmail.com. All security vulnerabilities will be promptly addressed.

License

The App is yet to be licensed under any body.


  Files folder image Files (82)  
File Role Description
Files folder imageapp (3 files, 4 directories)
Files folder imagebootstrap (1 file)
Files folder imageconfig (13 files)
Files folder imagedatabase (3 directories)
Files folder imagepublic (4 files)
Files folder imageresources (4 directories)
Files folder imageroutes (4 files)
Files folder imagetests (2 files, 2 directories)
Accessible without login Plain text file .editorconfig Data Auxiliary data
Accessible without login Plain text file .env.example Data Auxiliary data
Accessible without login Plain text file .styleci.yml Data Auxiliary data
Plain text file artisan Class Class source
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 package.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file server.php Aux. Auxiliary script
Accessible without login Plain text file webpack.mix.js 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:36
This week:0
All time:11,013
This week:43Up